|
||||||||
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.catalog.objects.ClassificationCodeAccessBean
This bean provides access to the CLASIFCODE table.
The following is a description of this table:
This table contains all possible product classification codes under different classification domains (such as UNSPSC, SPSC, and so on) that can be assigned to CatalogEntries.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
ClassificationCodeAccessBean()
Default constructor. |
|
ClassificationCodeAccessBean(javax.ejb.EJBObject codeEJBObj)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
ClassificationCodeAccessBean |
findByCodeAndDomain(java.lang.String code,
java.lang.String domain)
Finds the classification codes with the classification code and domain. |
java.lang.String |
getClassificationCodeId()
This method provides access to the CLASIFCODE.CLASIFCODE_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getClassificationCodeIdInEJBType()
This method provides access to the CLASIFCODE.CLASIFCODE_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getCode()
This method provides access to the CLASIFCODE.CODE column of DB2 type CHAR(16) NOT NULL. |
java.lang.String |
getDomain()
This method provides access to the CLASIFCODE.DOMAIN column of DB2 type CHAR(32) NOT NULL. |
java.lang.String |
getParentCode()
This method provides access to the CLASIFCODE.PARENTCODE column of DB2 type CHAR(16) NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setClassificationCodeId(java.lang.Long codeID)
This method provides access to the CLASIFCODE.CLASIFCODE_ID column of DB2 type BIGINT NOT NULL. |
void |
setClassificationCodeId(java.lang.String codeID)
This method provides access to the CLASIFCODE.CLASIFCODE_ID column of DB2 type BIGINT NOT NULL. |
void |
setCode(java.lang.String code)
This method provides access to the CLASIFCODE.CODE column of DB2 type CHAR(16) NOT NULL. |
void |
setDomain(java.lang.String domain)
This method provides access to the CLASIFCODE.DOMAIN column of DB2 type CHAR(32) NOT NULL. |
void |
setInitKey_classificationCodeId(java.lang.String codeID)
Set the primary key for this object |
void |
setParentCode(java.lang.String parentCode)
This method provides access to the CLASIFCODE.PARENTCODE column of DB2 type CHAR(16) 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 ClassificationCodeAccessBean()
Default constructor. Maps to findByPrimaryKey.
public ClassificationCodeAccessBean(javax.ejb.EJBObject codeEJBObj) throws java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
codeEJBObj
- The classification code EJB object. 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 ClassificationCodeAccessBean findByCodeAndDomain(java.lang.String code, java.lang.String domain) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the classification codes with the classification code and domain.
SQL:
SELECT CLASIFCODE_ID, CODE, DOMAIN, PARENTCODE
FROM CLASIFCODE
WHERE CODE = code
AND DOMAIN = domain
code
- The classification code. java.lang.Stringdomain
- The domain. java.lang.Stringjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getClassificationCodeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CLASIFCODE.CLASIFCODE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated primary key.
getClassificationCodeId
in interface ClassificationCodeAccessBeanData
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.Long getClassificationCodeIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CLASIFCODE.CLASIFCODE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated primary key.
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 getCode() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CLASIFCODE.CODE column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
The classification code.
getCode
in interface ClassificationCodeAccessBeanData
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 getDomain() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CLASIFCODE.DOMAIN column of DB2 type CHAR(32) NOT NULL.
The following is a description of this column:
The classification standard or domain.
getDomain
in interface ClassificationCodeAccessBeanData
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 getParentCode() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CLASIFCODE.PARENTCODE column of DB2 type CHAR(16) NULL.
The following is a description of this column:
The parent classification code.
getParentCode
in interface ClassificationCodeAccessBeanData
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 setClassificationCodeId(java.lang.Long codeID)
This method provides access to the CLASIFCODE.CLASIFCODE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated primary key.
codeID
- The classification code ID. java.lang.Longpublic void setClassificationCodeId(java.lang.String codeID)
This method provides access to the CLASIFCODE.CLASIFCODE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated primary key.
setClassificationCodeId
in interface ClassificationCodeAccessBeanData
codeID
- The classification code ID. java.lang.Stringpublic void setCode(java.lang.String code)
This method provides access to the CLASIFCODE.CODE column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
The classification code.
setCode
in interface ClassificationCodeAccessBeanData
code
- The classification code. java.lang.Stringpublic void setDomain(java.lang.String domain)
This method provides access to the CLASIFCODE.DOMAIN column of DB2 type CHAR(32) NOT NULL.
The following is a description of this column:
The classification standard or domain.
setDomain
in interface ClassificationCodeAccessBeanData
domain
- The domain. java.lang.Stringpublic void setInitKey_classificationCodeId(java.lang.String codeID)
Set the primary key for this object
codeID
- The classification code ID. java.lang.Stringpublic void setParentCode(java.lang.String parentCode)
This method provides access to the CLASIFCODE.PARENTCODE column of DB2 type CHAR(16) NULL.
The following is a description of this column:
The parent classification code.
setParentCode
in interface ClassificationCodeAccessBeanData
parentCode
- The parent classification code. java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |