java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.common.objects.LanguageAccessBean
Each row of this table represents a language. WebSphere Commerce supports multiple languages and is translated into ten languages by default. Using the predefined ISO codes users can add other supported languages. This access bean corresponds to the database table 'LANGUAGE'.
Constructor Summary | |
LanguageAccessBean() Zero argument constructor used to initialize the access bean. |
|
LanguageAccessBean(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 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). |
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). |
java.lang.String | getLanguage() This method provides access to the LANGUAGE.LANGUAGE column of DB2 type CHAR(5). |
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). |
java.lang.String | getVariant() This method provides access to the LANGUAGE.VARIANT column of DB2 type CHAR(10). |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setCountry(java.lang.String newValue) This method accesses a non-CMP field |
void | setEncoding(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_languageId(java.lang.String newValue) Set the primary key for this object |
void | setLanguage(java.lang.String newValue) This method accesses a non-CMP field |
void | setLocaleName(java.lang.String newValue) This method accesses a non-CMP field |
void | setMimeCharSet(java.lang.String newValue) This method accesses a non-CMP field |
void | setVariant(java.lang.String newValue) This method accesses a non-CMP field |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LanguageAccessBean()
public LanguageAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
Method Detail |
public 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
public 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 = ?)
public void setInitKey_languageId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws 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).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public 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).
The following is a description of this column:
Language component of the locale:&l
public void setLanguage(java.lang.String newValue)
public 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).
The following is a description of this column:
Country or region component of the locale:&l
public void setCountry(java.lang.String newValue)
public 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).
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.
public void setVariant(java.lang.String newValue)
public 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:
The language ID (primary key of this table) for each language. Foreign key to the tables that contain language-dependent information. The following is the list of language components (language ID codes) of the locale:&l
public 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:
The language ID (primary key of this table) for each language. Foreign key to the tables that contain language-dependent information. The following is the list of language components (language ID codes) of the locale:&l
public 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).
The following is a description of this column:
The MIME character encoding value that the notification system uses to encode a message for the selected language.
public void setMimeCharSet(java.lang.String newValue)
public 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. The following is the list of locale used for formatting:&l
public void setLocaleName(java.lang.String newValue)
public 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).
The following is a description of this column:
The character encoding value that the browser uses to display the page in the selected language.
public void setEncoding(java.lang.String newValue)
public 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
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.