java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.taxation.objects.StateProvinceAccessBean
This table lists State and Province names (by country or region) in each of the supported Languages identified by LANGUAGE_ID.
Constructor Summary | |
---|---|
StateProvinceAccessBean() constructor | |
StateProvinceAccessBean(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 |
findByCountryNameAndLanguageId(java.lang.String arg0,
java.lang.Integer arg1) Retrieves all the states or provinces for the indicated country and language. |
java.util.Enumeration |
findByLanguageIdAndState(java.lang.Integer arg0,
java.lang.String arg1) Retrieves all the states or provinces for the indicated country and language. |
java.util.Enumeration |
findByLanguageIdAndStateName(java.lang.Integer arg0,
java.lang.String arg1) Retrieves all the states or provinces for the indicated country and language. |
java.util.Enumeration |
findByLanguageIdStateAbbrAndCountryAbbr(java.lang.Integer arg0,
java.lang.String arg1, java.lang.String arg2) Retrieves all the states or provinces for the indicated country and language. |
java.util.Enumeration |
findByLanguageIdStateAndCountryAbbr(java.lang.Integer arg0,
java.lang.String arg1, java.lang.String arg2) Retrieves all the states or provinces for the indicated state, country abbreviation and language. |
java.util.Enumeration |
findByLanguageIdStateNameAndCountryAbbr(java.lang.Integer arg0,
java.lang.String arg1, java.lang.String arg2) Retrieves all the states or provinces for the indicated country and language. |
java.util.Enumeration |
findByNameAndCountryAbbreviationCode(java.lang.String arg0,
java.lang.String arg1) Retrieves all the states or provinces for the indicated country and language. |
java.lang.String |
getCountryAbbr() This method accesses a non-CMP field |
java.lang.String |
getLanguageId() This method accesses a non-CMP field |
java.lang.Integer |
getLanguageIdInEJBType() This method accesses a non-CMP field |
java.lang.String |
getName() This method accesses a non-CMP field |
java.lang.String |
getStateAbbr() This method accesses a non-CMP field |
protected
void |
instantiateEJB() |
protected
boolean |
instantiateEJBByPrimaryKey() |
void |
refreshCopyHelper() Load data from the EJBObject. |
void |
setCountryAbbr(java.lang.String newValue) This method accesses a non-CMP field |
void |
setInitKey_nLanguageId(java.lang.String newValue) Set the primary key for this object |
void |
setInitKey_strStateAbbr(java.lang.String newValue) Set the primary key for this object |
void |
setLanguageId(java.lang.Integer newValue) This method accesses a non-CMP field |
void |
setLanguageId(java.lang.String newValue) This method accesses a non-CMP field |
void |
setName(java.lang.String newValue) This method accesses a non-CMP field |
void |
setStateAbbr(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 StateProvinceAccessBean()
public StateProvinceAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
Method Detail |
---|
public java.util.Enumeration findByCountryNameAndLanguageId(java.lang.String arg0, java.lang.Integer arg1) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the states or provinces for the indicated country and language.
The SQL query used to fetch all the required rows from the STATEPROV table is:
SELECT * FROM STATEPROV T1 WHERE T1.COUNTRYABBR = ANY (SELECT COUNTRY.COUNTRYABBR FROM COUNTRY WHERE COUNTRY.NAME = ? AND COUNTRY.LANGUAGE_ID = T1.LANGUAGE_ID) AND T1.LANGUAGE_ID = ?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByLanguageIdAndState(java.lang.Integer arg0, java.lang.String arg1) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the states or provinces for the indicated country and language.
The SQL query used to fetch all the required rows from the STATEPROV table is:
SELECT * FROM STATEPROV T1 WHERE T1.LANGUAGE_ID=? AND ((T1.NAME=?) OR (T1.STATEPROVABBR=?))
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByLanguageIdAndStateName(java.lang.Integer arg0, java.lang.String arg1) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the states or provinces for the indicated country and language.
The SQL query used to fetch all the required rows from the STATEPROV table is:
SELECT * FROM STATEPROV T1 WHERE T1.LANGUAGE_ID=? AND T1.NAME=?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByLanguageIdStateAbbrAndCountryAbbr(java.lang.Integer arg0, java.lang.String arg1, java.lang.String arg2) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the states or provinces for the indicated country and language.
The SQL query used to fetch all the required rows from the STATEPROV table is:
SELECT * FROM STATEPROV T1 WHERE T1.LANGUAGE_ID=? AND T1.STATEPROVABBR=? AND T1.COUNTRYABBR=?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByLanguageIdStateAndCountryAbbr(java.lang.Integer arg0, java.lang.String arg1, java.lang.String arg2) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the states or provinces for the indicated state, country abbreviation and language.
The SQL query used to fetch all the required rows from the STATEPROV table is:
SELECT * FROM STATEPROV WHERE T1.LANGUAGE_ID=? AND ((T1.NAME=?) OR (T1.STATEPROVABBR=?)) AND (T1.COUNTRYABBR=?)
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByLanguageIdStateNameAndCountryAbbr(java.lang.Integer arg0, java.lang.String arg1, java.lang.String arg2) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the states or provinces for the indicated country and language.
The SQL query used to fetch all the required rows from the STATEPROV table is:
SELECT * FROM STATEPROV T1 WHERE T1.LANGUAGE_ID=? AND T1.NAME=? AND T1.COUNTRYABBR=?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByNameAndCountryAbbreviationCode(java.lang.String arg0, java.lang.String arg1) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the states or provinces for the indicated country and language.
The SQL query used to fetch all the required rows from the STATEPROV table is:
SELECT * FROM STATEPROV T1 T1.NAME=? AND T1.COUNTRYABBR=?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public void setInitKey_nLanguageId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringpublic void setInitKey_strStateAbbr(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
getLanguageId
in interface
StateProvinceAccessBeanData
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
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setLanguageId(java.lang.String newValue)
setLanguageId
in interface
StateProvinceAccessBeanData
public void setLanguageId(java.lang.Integer newValue)
public java.lang.String getCountryAbbr() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
getCountryAbbr
in interface
StateProvinceAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setCountryAbbr(java.lang.String newValue)
setCountryAbbr
in interface
StateProvinceAccessBeanData
public java.lang.String getStateAbbr() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
getStateAbbr
in interface
StateProvinceAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setStateAbbr(java.lang.String newValue)
setStateAbbr
in interface
StateProvinceAccessBeanData
public java.lang.String getName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
getName
in interface
StateProvinceAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setName(java.lang.String newValue)
setName
in interface
StateProvinceAccessBeanData