|
||||||||
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.SupportedLanguageAccessBean
This bean provides access to the STORELANG table.
The following is a description of this table:
Each row of this table indicates that a StoreEntity supports a language. A Store also supports all languages supported by its StoreGroup, and must be able to provide information when requested for a supported language. See also the LANGPAIR table.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
SupportedLanguageAccessBean()
Default constructor. |
|
SupportedLanguageAccessBean(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 SupportedLanguageAccessBeans |
java.util.Enumeration |
findByStore(java.lang.Integer aDByStore)
Retrieves all SupportedLanguageAccessBeans by store entity id |
java.lang.String |
getCurrency()
This method provides access to the STORELANG.SETCCURR column of DB2 type CHAR(3) NULL. |
java.lang.String |
getLanguageId()
This method provides access to the STORELANG.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getLanguageIdInEJBType()
This method provides access to the STORELANG.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getStoreEntityId()
This method provides access to the STORELANG.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getStoreEntityIdInEJBType()
This method provides access to the STORELANG.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setCurrency(java.lang.String aCurrency)
This method provides access to the STORELANG.SETCCURR column of DB2 type CHAR(3) NULL. |
void |
setInitKey_languageId(java.lang.String aInitKey_languageId)
Set the primary key for this object |
void |
setInitKey_storeEntityId(java.lang.String aInitKey_storeEntityId)
Set the primary key for this object |
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 SupportedLanguageAccessBean()
Default constructor. Maps to findByPrimaryKey.
public SupportedLanguageAccessBean(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 SupportedLanguageAccessBeans
The SQL query used to fetch the requested row from the STORELANG table is:
SELECT * FROM STORELANG 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 findByStore(java.lang.Integer aDByStore) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all SupportedLanguageAccessBeans by store entity id
The SQL query used to fetch the requested row from the STORELANG table is:
SELECT * FROM STORELANG T1 WHERE (T1.STOREENT_ID = ?)
aDByStore
- java.lang.Integerjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getCurrency() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STORELANG.SETCCURR column of DB2 type CHAR(3) NULL.
The following is a description of this column:
A default currency for customers using the supported Language in a Store. This is a currency code as per ISO 4217 standards. A Store may override the default currency for its StoreGroup by specifying the same language and a different default currency.
getCurrency
in interface SupportedLanguageAccessBeanData
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 getLanguageId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STORELANG.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language supported by the StoreEntity. For a list of language components, see the LANGUAGE table.
getLanguageId
in interface SupportedLanguageAccessBeanData
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 getLanguageIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STORELANG.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language supported by the StoreEntity. For a list of language components, see the LANGUAGE table.
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 getStoreEntityId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STORELANG.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The StoreEntity. In addition to its explicitly supported languages, a Store implicitly supports the languages supported by its StoreGroup.
getStoreEntityId
in interface SupportedLanguageAccessBeanData
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 getStoreEntityIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STORELANG.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The StoreEntity. In addition to its explicitly supported languages, a Store implicitly supports the languages supported by its StoreGroup.
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 setCurrency(java.lang.String aCurrency)
This method provides access to the STORELANG.SETCCURR column of DB2 type CHAR(3) NULL.
The following is a description of this column:
A default currency for customers using the supported Language in a Store. This is a currency code as per ISO 4217 standards. A Store may override the default currency for its StoreGroup by specifying the same language and a different default currency.
setCurrency
in interface SupportedLanguageAccessBeanData
aCurrency
- java.lang.Stringpublic void setInitKey_languageId(java.lang.String aInitKey_languageId)
Set the primary key for this object
aInitKey_languageId
- java.lang.Stringpublic void setInitKey_storeEntityId(java.lang.String aInitKey_storeEntityId)
Set the primary key for this object
aInitKey_storeEntityId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |