|
||||||||
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.fulfillment.objects.CalculationCodeDescriptionAccessBean
This bean provides access to the CALCODEDSC table.
The following is a description of this table:
Each row of this table contains Language-dependent information for a CalculationCode.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
CalculationCodeDescriptionAccessBean()
Default constructor. |
|
CalculationCodeDescriptionAccessBean(javax.ejb.EJBObject aEJBObject)
Creates an access bean for the specified EJB. |
|
CalculationCodeDescriptionAccessBean(java.lang.Integer aCalculationCodeId,
java.lang.Integer aLanguageId)
Creates an access bean with the specified attributes. |
|
CalculationCodeDescriptionAccessBean(java.lang.Integer aCalculationCodeId,
java.lang.Integer aLanguageId,
java.lang.String aDescription)
Creates an access bean with the specified attributes. |
|
CalculationCodeDescriptionAccessBean(java.lang.Integer aCalculationCodeId,
java.lang.Integer aLanguageId,
java.lang.String aDescription,
java.lang.String aLongDescription)
Creates an access bean with the specified attributes. |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.util.Enumeration |
findByCalculationCode(java.lang.Integer aCalculationCodeId)
Retrieves the CalculationCodeDescriptionAccessBeans that match the specified CalculationCode. |
java.lang.String |
getCalculationCodeId()
This method provides access to the CALCODEDSC.CALCODE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getCalculationCodeIdInEJBType()
This method provides access to the CALCODEDSC.CALCODE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getDescription()
This method provides access to the CALCODEDSC.DESCRIPTION column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getLanguageId()
This method provides access to the CALCODEDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getLanguageIdInEJBType()
This method provides access to the CALCODEDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getLongDescription()
This method provides access to the CALCODEDSC.LONGDESCRIPTION column of DB2 type LONG NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setDescription(java.lang.String aDescription)
This method provides access to the CALCODEDSC.DESCRIPTION column of DB2 type VARCHAR(254) NULL. |
void |
setInitKey_calculationCodeId(java.lang.String aInitKey_calculationCodeId)
Set the primary key for this object |
void |
setInitKey_languageId(java.lang.String aInitKey_languageId)
Set the primary key for this object |
void |
setLongDescription(java.lang.String aLongDescription)
This method provides access to the CALCODEDSC.LONGDESCRIPTION column of DB2 type LONG 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 CalculationCodeDescriptionAccessBean()
Default constructor. Maps to findByPrimaryKey.
public CalculationCodeDescriptionAccessBean(javax.ejb.EJBObject aEJBObject) throws java.rmi.RemoteException
Creates an access bean for the specified EJB.
aEJBObject
- The EJB Object used for the access bean construction.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic CalculationCodeDescriptionAccessBean(java.lang.Integer aCalculationCodeId, java.lang.Integer aLanguageId) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Creates an access bean with the specified attributes. Reserved for IBM internal use.
aCalculationCodeId
- the CalculationCode IDaLanguageId
- the Language IDjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic CalculationCodeDescriptionAccessBean(java.lang.Integer aCalculationCodeId, java.lang.Integer aLanguageId, java.lang.String aDescription) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Creates an access bean with the specified attributes. Reserved for IBM internal use.
aCalculationCodeId
- the CalculationCode IDaLanguageId
- the Language IDaDescription
- the descriptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic CalculationCodeDescriptionAccessBean(java.lang.Integer aCalculationCodeId, java.lang.Integer aLanguageId, java.lang.String aDescription, java.lang.String aLongDescription) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Creates an access bean with the specified attributes.
aCalculationCodeId
- the CalculationCode IDaLanguageId
- the Language IDaDescription
- the descriptionaLongDescription
- the long descriptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException 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 java.util.Enumeration findByCalculationCode(java.lang.Integer aCalculationCodeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the CalculationCodeDescriptionAccessBeans that match the specified CalculationCode.
The SQL query used to fetch all the required rows from the
CALCODEDSC table is:
SELECT * FROM CALCODEDSC T1 WHERE
T1.CALCODE_ID = ?
aCalculationCodeId
- the CalculationCode IDjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getCalculationCodeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALCODEDSC.CALCODE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationCode to which this information applies.
getCalculationCodeId
in interface CalculationCodeDescriptionAccessBeanData
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.Integer getCalculationCodeIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALCODEDSC.CALCODE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationCode to which this information applies.
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 getDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALCODEDSC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
A short description of the CalculationCode. For discount CalculationCodes, this information is copied to the OrderItemAdjustments created when the CalculationCode is applied to OrderItems in an Order.
getDescription
in interface CalculationCodeDescriptionAccessBeanData
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 getLanguageId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALCODEDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language for which this information applies. For a list of language components, see the LANGUAGE table.
getLanguageId
in interface CalculationCodeDescriptionAccessBeanData
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.Integer getLanguageIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALCODEDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language for which this information applies. For a list of language components, see the LANGUAGE table.
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 getLongDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALCODEDSC.LONGDESCRIPTION column of DB2 type LONG NULL.
The following is a description of this column:
A detailed description of the CalculationCode.
getLongDescription
in interface CalculationCodeDescriptionAccessBeanData
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 setDescription(java.lang.String aDescription)
This method provides access to the CALCODEDSC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
A short description of the CalculationCode. For discount CalculationCodes, this information is copied to the OrderItemAdjustments created when the CalculationCode is applied to OrderItems in an Order.
setDescription
in interface CalculationCodeDescriptionAccessBeanData
aDescription
- java.lang.Stringpublic void setInitKey_calculationCodeId(java.lang.String aInitKey_calculationCodeId)
Set the primary key for this object
aInitKey_calculationCodeId
- java.lang.Stringpublic void setInitKey_languageId(java.lang.String aInitKey_languageId)
Set the primary key for this object
aInitKey_languageId
- java.lang.Stringpublic void setLongDescription(java.lang.String aLongDescription)
This method provides access to the CALCODEDSC.LONGDESCRIPTION column of DB2 type LONG NULL.
The following is a description of this column:
A detailed description of the CalculationCode.
setLongDescription
in interface CalculationCodeDescriptionAccessBeanData
aLongDescription
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |