java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.catalog.objects.ClassificationCodeAccessBean
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.
Constructor Summary | |
---|---|
ClassificationCodeAccessBean() constructor | |
ClassificationCodeAccessBean(javax.ejb.EJBObject o) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
ClassificationCodeAccessBean |
findByCodeAndDomain(java.lang.String arg0,
java.lang.String arg1) Finds the classification argCodes with the classification argCode and argDomain. |
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). |
protected
void |
instantiateEJB() |
protected
boolean |
instantiateEJBByPrimaryKey() |
void |
refreshCopyHelper() Load data from the EJBObject. |
void |
setClassificationCodeId(java.lang.Long newValue) This method provides access to the CLASIFCODE.CLASIFCODE_ID column of DB2 type BIGINT NOT NULL. |
void |
setClassificationCodeId(java.lang.String newValue) This method provides access to the CLASIFCODE.CLASIFCODE_ID column of DB2 type BIGINT NOT NULL. |
void |
setCode(java.lang.String newValue) This method provides access to the CLASIFCODE.CODE column of DB2 type CHAR(16) NOT NULL. |
void |
setDomain(java.lang.String newValue) This method provides access to the CLASIFCODE.DOMAIN column of DB2 type CHAR(32) NOT NULL. |
void |
setInitKey_classificationCodeId(java.lang.String newValue) Set the primary key for this object |
void |
setParentCode(java.lang.String newValue) This method provides access to the CLASIFCODE.PARENTCODE column of DB2 type CHAR(16). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
public ClassificationCodeAccessBean()
public ClassificationCodeAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
Method Detail |
---|
public ClassificationCodeAccessBean findByCodeAndDomain(java.lang.String arg0, java.lang.String arg1) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the classification argCodes with the classification argCode and argDomain.
SQL:
SELECT CLASIFCODE_ID, CODE, DOMAIN, PARENTCODE FROM CLASIFCODE WHERE CODE =
argCode AND DOMAIN = argDomain
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public void setInitKey_classificationCodeId(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 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setCode(java.lang.String newValue)
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
newValue
- java.lang.Stringpublic 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setClassificationCodeId(java.lang.String newValue)
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
newValue
- Stringpublic void setClassificationCodeId(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setDomain(java.lang.String newValue)
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
newValue
- java.lang.Stringpublic 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).
The following is a description of this column:
The parent classification code.
getParentCode
in interface
ClassificationCodeAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setParentCode(java.lang.String newValue)
This method provides access to the CLASIFCODE.PARENTCODE column of DB2 type CHAR(16).
The following is a description of this column:
The parent classification code.
setParentCode
in interface
ClassificationCodeAccessBeanData
newValue
- java.lang.String