public class StateCodeAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements StateCodeAccessBeanData
Constructor and Description |
---|
StateCodeAccessBean()
Zero argument constructor used to initialize the access bean.
|
StateCodeAccessBean(javax.ejb.EJBObject o) |
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper() |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByProductVendorAndStateProvinceName(java.lang.String astrProductVendor, java.lang.String astrStateProvinceName)
Retrieves all the state codes in the specified state name under the indicated product vendor.
|
java.util.Enumeration | findByProductVendorLanguageIdAndState(java.lang.String astrProductVendor, java.lang.Integer aLanguageId, java.lang.String astrState)
Retrieves all the state codes in the specified state name under the indicated product vendor.
|
java.util.Enumeration | findByProductVendorLanguageIdAndStateAbbr(java.lang.String astrProductVendor, java.lang.Integer aLanguageId, java.lang.String astrStateAbbr)
Retrieves all the state codes in the specified state abbreviation and language id under the indicated product vendor.
|
java.util.Enumeration | findByProductVendorLanguageIdAndStateName(java.lang.String astrProductVendor, java.lang.Integer aLanguageId, java.lang.String astrStateProvinceName)
Retrieves all the state codes in the specified state name under the indicated product vendor.
|
java.lang.String | getProductVendor() |
java.lang.String | getStateAbbr() |
java.lang.String | getStateCode() |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() |
void | setInitKey_strProductVendor(java.lang.String newValue) |
void | setInitKey_strStateAbbr(java.lang.String newValue) |
void | setProductVendor(java.lang.String newValue) |
void | setStateAbbr(java.lang.String newValue) |
void | setStateCode(java.lang.String newValue) |
public StateCodeAccessBean()
public StateCodeAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public java.util.Enumeration findByProductVendorAndStateProvinceName(java.lang.String astrProductVendor, java.lang.String astrStateProvinceName) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the state codes in the specified state name under the indicated product vendor.
The SQL query used to fetch all the required rows from the STATECODE table is:
SELECT * FROM STATECODE T1 WHERE (T1.PRODUCTVENDOR = ? AND T1.STATEPROVABBR = ANY (SELECT STATEPROV.STATEPROVABBR FROM STATEPROV WHERE STATEPROV.NAME = ?))
public java.util.Enumeration findByProductVendorLanguageIdAndState(java.lang.String astrProductVendor, java.lang.Integer aLanguageId, java.lang.String astrState) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the state codes in the specified state name under the indicated product vendor.
The SQL query used to fetch all the required rows from the STATECODE table is:
SELECT * FROM STATECODE T1 WHERE T1.PRODUCTVENDOR = ? AND T1.STATEPROVABBR = ANY (SELECT STATEPROV.STATEPROVABBR FROM STATEPROV WHERE STATEPROV.LANGUAGE_ID=? AND ((STATEPROV.STATEPROVABBR=?) OR (STATEPROV.NAME=?)))
public java.util.Enumeration findByProductVendorLanguageIdAndStateAbbr(java.lang.String astrProductVendor, java.lang.Integer aLanguageId, java.lang.String astrStateAbbr) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the state codes in the specified state abbreviation and language id under the indicated product vendor.
The SQL query used to fetch all the required rows from the STATECODE table is:
SELECT * FROM STATECODE T1 WHERE (T1.PRODUCTVENDOR = ? AND T1.STATEPROVABBR = ANY (SELECT STATEPROV.STATEPROVABBR FROM STATEPROV WHERE STATEPROV.LANGUAGE_ID=? AND STATEPROV.STATEPROVABBR=?))
public java.util.Enumeration findByProductVendorLanguageIdAndStateName(java.lang.String astrProductVendor, java.lang.Integer aLanguageId, java.lang.String astrStateProvinceName) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the state codes in the specified state name under the indicated product vendor.
The SQL query used to fetch all the required rows from the STATECODE table is:
SELECT * FROM STATECODE T1 WHERE T1.PRODUCTVENDOR = ? AND T1.STATEPROVABBR = ANY (SELECT STATEPROV.STATEPROVABBR FROM STATEPROV WHERE STATEPROV.LANGUAGE_ID=? AND STATEPROV.NAME = ?)
public void setInitKey_strStateAbbr(java.lang.String newValue)
public void setInitKey_strProductVendor(java.lang.String newValue)
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
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.String getProductVendor() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setProductVendor(java.lang.String newValue)
public java.lang.String getStateCode() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setStateCode(java.lang.String newValue)
public java.lang.String getStateAbbr() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setStateAbbr(java.lang.String newValue)