|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.common.objects.CurrencyAccessBean
This bean provides access to the SETCURR table.
The following is a description of this table:
The table contains information about the different national currencies. The currency alphabetic and numeric codes are derived from the ISO 4217 standard.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
CurrencyAccessBean()
Default constructor. |
|
CurrencyAccessBean(javax.ejb.EJBObject ejbObject)
Creates an access bean for the specified EJB |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.util.Enumeration |
findAll()
Retrieves all CurrencyAccessBeans |
java.util.Enumeration |
findByNumericCurrencyCode(java.lang.Integer aDByNumericCurrencyCode)
Retrieves all CurrencyAccessBeans according to the search criteria |
CurrencyAccessBean |
findByStoreEntityAndLanguage(java.lang.Integer storeEntityId,
java.lang.Integer languageId)
Retrieves all CurrencyAccessBeans according to the search criteria |
java.lang.String |
getCurrencyCode()
This method provides access to the SETCURR.SETCCURR column of DB2 type CHAR(3) NOT NULL. |
java.lang.String |
getCurrencyExponent()
This method provides access to the SETCURR.SETCEXP column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getCurrencyExponentInEJBType()
This method provides access to the SETCURR.SETCEXP column of DB2 type INTEGER NOT NULL. |
CurrencyDescriptionAccessBean |
getDescription(java.lang.Integer languageId,
java.lang.Integer storeId)
Return CurrencyDescriptionAccessBean by languageId and storeId |
java.lang.String |
getNote()
This method provides access to the SETCURR.SETCNOTE column of DB2 type VARCHAR(40) NULL. |
java.lang.String |
getNumericCurrencyCode()
This method provides access to the SETCURR.SETCCODE column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getNumericCurrencyCodeInEJBType()
This method provides access to the SETCURR.SETCCODE column of DB2 type INTEGER NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setCurrencyExponent(java.lang.Integer aCurrencyExponent)
This method provides access to the SETCURR.SETCEXP column of DB2 type INTEGER NOT NULL. |
void |
setCurrencyExponent(java.lang.String aCurrencyExponent)
This method provides access to the SETCURR.SETCEXP column of DB2 type INTEGER NOT NULL. |
void |
setInitKey_currencyCode(java.lang.String aInitKey_currencyCode)
Set the primary key for this object |
void |
setNote(java.lang.String aNote)
This method provides access to the SETCURR.SETCNOTE column of DB2 type VARCHAR(40) NULL. |
void |
setNumericCurrencyCode(java.lang.Integer aNumericCurrencyCode)
This method provides access to the SETCURR.SETCCODE column of DB2 type INTEGER NOT NULL. |
void |
setNumericCurrencyCode(java.lang.String aNumericCurrencyCode)
This method provides access to the SETCURR.SETCCODE column of DB2 type INTEGER NOT NULL. |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean |
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CurrencyAccessBean()
Default constructor. Maps to findByPrimaryKey.
public CurrencyAccessBean(javax.ejb.EJBObject ejbObject) throws java.rmi.RemoteException
Creates an access bean for the specified EJB
ejbObject
- javax.ejb.EJBObjectjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findAll() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all CurrencyAccessBeans
The SQL query used to fetch the requested row from the SETCURR table is:
SELECT * FROM SETCURR T1 WHERE 1 = 1
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByNumericCurrencyCode(java.lang.Integer aDByNumericCurrencyCode) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all CurrencyAccessBeans according to the search criteria
The SQL query used to fetch the requested row from the SETCURR table is:
SELECT * FROM SETCURR T1 WHERE T1.SETCCODE = ?
currencyCode
- Currency codejava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic CurrencyAccessBean findByStoreEntityAndLanguage(java.lang.Integer storeEntityId, java.lang.Integer languageId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all CurrencyAccessBeans according to the search criteria
The SQL query used to fetch the requested row from the SETCURR table is:
SELECT * FROM SETCURR T1 WHERE T1.SETCCURR = (SELECT STORELANG.SETCCURR FROM STORELANG WHERE STORELANG.STOREENT_ID = ? AND STORELANG.LANGUAGE_ID = ?)
storeEntityId
- Store entity idlanguageId
- Language idjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getCurrencyCode() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SETCURR.SETCCURR column of DB2 type CHAR(3) NOT NULL.
The following is a description of this column:
Alphabetic currency code as per ISO 4217. This is the primary key.
getCurrencyCode
in interface CurrencyAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getCurrencyExponent() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SETCURR.SETCEXP column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Exponent (power of 10). The exponential value by which a sub-unit of the currency (such as cents) is multiplied to get the main currency unit. For example, you would multiply the number of cents by 10 to the power -2 to get the number of dollars.
getCurrencyExponent
in interface CurrencyAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getCurrencyExponentInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SETCURR.SETCEXP column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Exponent (power of 10). The exponential value by which a sub-unit of the currency (such as cents) is multiplied to get the main currency unit. For example, you would multiply the number of cents by 10 to the power -2 to get the number of dollars.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic CurrencyDescriptionAccessBean getDescription(java.lang.Integer languageId, java.lang.Integer storeId) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Return CurrencyDescriptionAccessBean by languageId and storeId
languageId
- Language idstoreId
- Store idjavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic java.lang.String getNote() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SETCURR.SETCNOTE column of DB2 type VARCHAR(40) NULL.
The following is a description of this column:
Customizable. This column is not translated. The translatable text describing the currency in this table are stored in the SETCURRDSC table.
getNote
in interface CurrencyAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getNumericCurrencyCode() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SETCURR.SETCCODE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Numeric currency code as per ISO 4217.
getNumericCurrencyCode
in interface CurrencyAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getNumericCurrencyCodeInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SETCURR.SETCCODE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Numeric currency code as per ISO 4217.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setCurrencyExponent(java.lang.Integer aCurrencyExponent)
This method provides access to the SETCURR.SETCEXP column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Exponent (power of 10). The exponential value by which a sub-unit of the currency (such as cents) is multiplied to get the main currency unit. For example, you would multiply the number of cents by 10 to the power -2 to get the number of dollars.
aCurrencyExponent
- java.lang.Integerpublic void setCurrencyExponent(java.lang.String aCurrencyExponent)
This method provides access to the SETCURR.SETCEXP column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Exponent (power of 10). The exponential value by which a sub-unit of the currency (such as cents) is multiplied to get the main currency unit. For example, you would multiply the number of cents by 10 to the power -2 to get the number of dollars.
setCurrencyExponent
in interface CurrencyAccessBeanData
aCurrencyExponent
- java.lang.Stringpublic void setInitKey_currencyCode(java.lang.String aInitKey_currencyCode)
Set the primary key for this object
aInitKey_currencyCode
- java.lang.Stringpublic void setNote(java.lang.String aNote)
This method provides access to the SETCURR.SETCNOTE column of DB2 type VARCHAR(40) NULL.
The following is a description of this column:
Customizable. This column is not translated. The translatable text describing the currency in this table are stored in the SETCURRDSC table.
setNote
in interface CurrencyAccessBeanData
aNote
- java.lang.Stringpublic void setNumericCurrencyCode(java.lang.Integer aNumericCurrencyCode)
This method provides access to the SETCURR.SETCCODE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Numeric currency code as per ISO 4217.
aNumericCurrencyCode
- java.lang.Integerpublic void setNumericCurrencyCode(java.lang.String aNumericCurrencyCode)
This method provides access to the SETCURR.SETCCODE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Numeric currency code as per ISO 4217.
setNumericCurrencyCode
in interface CurrencyAccessBeanData
aNumericCurrencyCode
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |