java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.common.objects.SupportedLanguageAccessBean
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.
Constructor Summary | |
---|---|
SupportedLanguageAccessBean() constructor | |
SupportedLanguageAccessBean(java.lang.Integer aStoreEntityId,
java.lang.Integer aLanguageId) SupportedLanguageAccessBean constructor | |
SupportedLanguageAccessBean(java.lang.Integer aStoreEntityId,
java.lang.Integer aLanguageId, java.lang.String aCurrency) SupportedLanguageAccessBean constructor | |
SupportedLanguageAccessBean(javax.ejb.EJBObject o) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
java.util.Enumeration |
findAll() Retrieves all SupportedLanguageAccessBeans |
java.util.Enumeration |
findByStore(java.lang.Integer arg0) Retrieves all SupportedLanguageAccessBeans for the specified store entity ID |
java.lang.String |
getCurrency() This method provides access to the STORELANG.SETCCURR column of DB2 type CHAR(3). |
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. |
protected
void |
instantiateEJB() |
protected
boolean |
instantiateEJBByPrimaryKey() |
void |
refreshCopyHelper() Load data from the EJBObject. |
void |
setCurrency(java.lang.String newValue) This method provides access to the STORELANG.SETCCURR column of DB2 type CHAR(3). |
void |
setInitKey_languageId(java.lang.String newValue) Set the primary key for this object |
void |
setInitKey_storeEntityId(java.lang.String newValue) Set the primary key for this object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
public SupportedLanguageAccessBean()
public SupportedLanguageAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public SupportedLanguageAccessBean(java.lang.Integer aStoreEntityId, java.lang.Integer aLanguageId) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
aStoreEntityId
- java.lang.IntegeraLanguageId
- java.lang.Integerjavax.naming.NamingException
javax.ejb.FinderException
javax.ejb.CreateException
java.rmi.RemoteException
public SupportedLanguageAccessBean(java.lang.Integer aStoreEntityId, java.lang.Integer aLanguageId, java.lang.String aCurrency) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
aStoreEntityId
- java.lang.IntegeraLanguageId
- java.lang.IntegeraCurrency
- java.lang.Stringjavax.naming.NamingException
javax.ejb.FinderException
javax.ejb.CreateException
java.rmi.RemoteException
Method Detail |
---|
public 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
public java.util.Enumeration findByStore(java.lang.Integer arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all SupportedLanguageAccessBeans for the specified 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 = ?)
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public void setInitKey_languageId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringpublic void setInitKey_storeEntityId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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).
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setCurrency(java.lang.String newValue)
This method provides access to the STORELANG.SETCCURR column of DB2 type CHAR(3).
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.
newValue
- java.lang.Stringpublic 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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException