|
||||||||
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.LanguageAccessBean
This bean provides access to the LANGUAGE table.
The following is a description of this table:
Each row of this table represents a language.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
LanguageAccessBean()
Default constructor. |
|
LanguageAccessBean(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 LanguageAccessBeans |
java.util.Enumeration |
findByLocaleName(java.lang.String localeName)
Retrieves all LanguageAccessBean by locale name |
java.lang.String |
getCountry()
This method provides access to the LANGUAGE.COUNTRY column of DB2 type CHAR(5) NULL. |
LanguageDescriptionAccessBean |
getDescription(java.lang.Integer languageId,
java.lang.Integer storeId)
Returns LanguageDescriptionAccessBean by languageId and storeId |
java.lang.String |
getEncoding()
This method provides access to the LANGUAGE.ENCODING column of DB2 type VARCHAR(32) NULL. |
java.lang.String |
getLanguage()
This method provides access to the LANGUAGE.LANGUAGE column of DB2 type CHAR(5) NULL. |
java.lang.String |
getLanguageId()
This method provides access to the LANGUAGE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getLanguageIdInEJBType()
This method provides access to the LANGUAGE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getLocaleName()
This method provides access to the LANGUAGE.LOCALENAME column of DB2 type CHAR(16) NOT NULL. |
java.lang.String |
getMimeCharSet()
This method provides access to the LANGUAGE.MIMECHARSET column of DB2 type VARCHAR(32) NULL. |
java.lang.String |
getVariant()
This method provides access to the LANGUAGE.VARIANT column of DB2 type CHAR(10) NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setCountry(java.lang.String aCountry)
This method provides access to the LANGUAGE.COUNTRY column of DB2 type CHAR(5) NULL. |
void |
setEncoding(java.lang.String aEncoding)
This method provides access to the LANGUAGE.ENCODING column of DB2 type VARCHAR(32) NULL. |
void |
setInitKey_languageId(java.lang.String aInitKey_languageId)
Set the primary key for this object |
void |
setLanguage(java.lang.String aLanguage)
This method provides access to the LANGUAGE.LANGUAGE column of DB2 type CHAR(5) NULL. |
void |
setLocaleName(java.lang.String aLocaleName)
This method provides access to the LANGUAGE.LOCALENAME column of DB2 type CHAR(16) NOT NULL. |
void |
setMimeCharSet(java.lang.String aMimeCharSet)
This method provides access to the LANGUAGE.MIMECHARSET column of DB2 type VARCHAR(32) NULL. |
void |
setVariant(java.lang.String aVariant)
This method provides access to the LANGUAGE.VARIANT column of DB2 type CHAR(10) 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 LanguageAccessBean()
Default constructor. Maps to findByPrimaryKey.
public LanguageAccessBean(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 LanguageAccessBeans
The SQL query used to fetch the requested row from the LANGUAGE table is:
SELECT * FROM LANGUAGE 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 findByLocaleName(java.lang.String localeName) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all LanguageAccessBean by locale name
The SQL query used to fetch the requested row from the LANGUAGE table is:
SELECT * FROM LANGUAGE T1 WHERE (T1.LOCALENAME = ?)
localeName
- Locale namejava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getCountry() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the LANGUAGE.COUNTRY column of DB2 type CHAR(5) NULL.
The following is a description of this column:
Country or region component of the locale.
getCountry
in interface LanguageAccessBeanData
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 LanguageDescriptionAccessBean getDescription(java.lang.Integer languageId, java.lang.Integer storeId) throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException
Returns LanguageDescriptionAccessBean by languageId and storeId
languageId
- Language idstoreId
- Store idjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getEncoding() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the LANGUAGE.ENCODING column of DB2 type VARCHAR(32) NULL.
The following is a description of this column:
The character encoding value that the browser should use to display the page for this language.
getEncoding
in interface LanguageAccessBeanData
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 getLanguage() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the LANGUAGE.LANGUAGE column of DB2 type CHAR(5) NULL.
The following is a description of this column:
Language component of the locale. For a list of language components, see the LANGUAGE table.
getLanguage
in interface LanguageAccessBeanData
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 LANGUAGE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
A unique key for the language, used as part of the foreign key in tables that contain language-dependent information. For a list of language components, see the LANGUAGE table.
getLanguageId
in interface LanguageAccessBeanData
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 LANGUAGE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
A unique key for the language, used as part of the foreign key in tables that contain language-dependent information. 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 getLocaleName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the LANGUAGE.LOCALENAME column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
A Java locale used to represent a political, geographical, or cultural region that has a distinct language and customs for formatting.
getLocaleName
in interface LanguageAccessBeanData
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 getMimeCharSet() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the LANGUAGE.MIMECHARSET column of DB2 type VARCHAR(32) NULL.
The following is a description of this column:
The MIME character encoding value that the notification system will use to encode a message for this language.
getMimeCharSet
in interface LanguageAccessBeanData
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 getVariant() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the LANGUAGE.VARIANT column of DB2 type CHAR(10) NULL.
The following is a description of this column:
Variant component of the locale. Used to specify the locale encoding character set or to further segregate a distinct formatting custom for a political, geographical, or cultural region.
getVariant
in interface LanguageAccessBeanData
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 setCountry(java.lang.String aCountry)
This method provides access to the LANGUAGE.COUNTRY column of DB2 type CHAR(5) NULL.
The following is a description of this column:
Country or region component of the locale.
setCountry
in interface LanguageAccessBeanData
aCountry
- java.lang.Stringpublic void setEncoding(java.lang.String aEncoding)
This method provides access to the LANGUAGE.ENCODING column of DB2 type VARCHAR(32) NULL.
The following is a description of this column:
The character encoding value that the browser should use to display the page for this language.
setEncoding
in interface LanguageAccessBeanData
aEncoding
- java.lang.Stringpublic void setInitKey_languageId(java.lang.String aInitKey_languageId)
Set the primary key for this object
aInitKey_languageId
- java.lang.Stringpublic void setLanguage(java.lang.String aLanguage)
This method provides access to the LANGUAGE.LANGUAGE column of DB2 type CHAR(5) NULL.
The following is a description of this column:
Language component of the locale. For a list of language components, see the LANGUAGE table.
setLanguage
in interface LanguageAccessBeanData
aLanguage
- java.lang.Stringpublic void setLocaleName(java.lang.String aLocaleName)
This method provides access to the LANGUAGE.LOCALENAME column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
A Java locale used to represent a political, geographical, or cultural region that has a distinct language and customs for formatting.
setLocaleName
in interface LanguageAccessBeanData
aLocaleName
- java.lang.Stringpublic void setMimeCharSet(java.lang.String aMimeCharSet)
This method provides access to the LANGUAGE.MIMECHARSET column of DB2 type VARCHAR(32) NULL.
The following is a description of this column:
The MIME character encoding value that the notification system will use to encode a message for this language.
setMimeCharSet
in interface LanguageAccessBeanData
aMimeCharSet
- java.lang.Stringpublic void setVariant(java.lang.String aVariant)
This method provides access to the LANGUAGE.VARIANT column of DB2 type CHAR(10) NULL.
The following is a description of this column:
Variant component of the locale. Used to specify the locale encoding character set or to further segregate a distinct formatting custom for a political, geographical, or cultural region.
setVariant
in interface LanguageAccessBeanData
aVariant
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |