java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.fulfillment.objects.CalculationMethodAccessBean
Each row of this table defines a CalculationMethod implementation. This access bean corresponds to the database table 'CALMETHOD'.
Constructor Summary | |
CalculationMethodAccessBean() Zero argument constructor used to initialize the access bean. |
|
CalculationMethodAccessBean(java.lang.Integer calculationMethodId, java.lang.String name, java.lang.Integer storeentId, java.lang.Integer calculationUsageId, java.lang.Integer subclass) Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
CalculationMethodAccessBean(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 | findActiveCalculationCodeCombineMethods() Retrieves the CalculationMethodAccessBeans referenced by STENCALUSG.ACTCC_CALMETHOD_ID. |
java.util.Enumeration | findActiveCalculationCodeCombineMethodsByStoreEntityAndCalculationUsage(java.lang.Integer storeEntityId, java.lang.Integer usageId) Retrieves the active CalculationCodeCombine CalculationMethodAccessBeans of the specified StoreEntity and CalculationUsage. |
java.util.Enumeration | findActiveCalculationRuleCombineMethods() Retrieves the CalculationMethodAccessBeans referenced by STENCALUSG.ACTRC_CALMETHOD_ID. |
java.util.Enumeration | findActiveCalculationRuleCombineMethodsByStoreEntityAndCalculationUsage(java.lang.Integer storeEntityId, java.lang.Integer usageId) Retrieves the active CalculationRuleCombine CalculationMethodAccessBeans of the specified StoreEntity and CalculationUsage. |
java.util.Enumeration | findAll() Retrieves all CalculationMethodAccessBeans. |
java.lang.String | getCalculationMethodId() This method provides access to the CALMETHOD.CALMETHOD_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getCalculationMethodIdInEJBType() This method provides access to the CALMETHOD.CALMETHOD_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getCalculationUsageId() This method provides access to the CALMETHOD.CALUSAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getCalculationUsageIdInEJBType() This method provides access to the CALMETHOD.CALUSAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getDescription() This method provides access to the CALMETHOD.DESCRIPTION column of DB2 type VARCHAR(508). |
java.lang.String | getName() This method provides access to the CALMETHOD.NAME column of DB2 type VARCHAR(254). |
java.lang.String | getStoreEntityId() This method provides access to the CALMETHOD.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getStoreEntityIdInEJBType() This method provides access to the CALMETHOD.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getSubclass() This method provides access to the CALMETHOD.SUBCLASS column of DB2 type INTEGER. |
java.lang.Integer | getSubclassInEJBType() This method provides access to the CALMETHOD.SUBCLASS column of DB2 type INTEGER. |
java.lang.String | getTaskName() This method provides access to the CALMETHOD.TASKNAME column of DB2 type VARCHAR(254). |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setCalculationMethodId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setCalculationMethodId(java.lang.String newValue) This method accesses a non-CMP field |
void | setCalculationUsageId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setCalculationUsageId(java.lang.String newValue) This method accesses a non-CMP field |
void | setDescription(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_calculationMethodId(java.lang.String newValue) Set the primary key for this object |
void | setName(java.lang.String newValue) This method accesses a non-CMP field |
void | setStoreEntityId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setStoreEntityId(java.lang.String newValue) This method accesses a non-CMP field |
void | setSubclass(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setSubclass(java.lang.String newValue) This method accesses a non-CMP field |
void | setTaskName(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 CalculationMethodAccessBean()
public CalculationMethodAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public CalculationMethodAccessBean(java.lang.Integer calculationMethodId, java.lang.String name, java.lang.Integer storeentId, java.lang.Integer calculationUsageId, java.lang.Integer subclass) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
Method Detail |
public java.util.Enumeration findActiveCalculationCodeCombineMethods() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the CalculationMethodAccessBeans referenced by STENCALUSG.ACTCC_CALMETHOD_ID. Reserved for IBM internal use.
The SQL query used to fetch all the required rows from the CALMETHOD table is: SELECT * FROM CALMETHOD T1 WHERE T1.CALMETHOD_ID IN (SELECT STENCALUSG.ACTCC_CALMETHOD_ID FROM STENCALUSG)
public java.util.Enumeration findActiveCalculationCodeCombineMethodsByStoreEntityAndCalculationUsage(java.lang.Integer storeEntityId, java.lang.Integer usageId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the active CalculationCodeCombine CalculationMethodAccessBeans of the specified StoreEntity and CalculationUsage.
The SQL query used to fetch all the required rows from the CALMETHOD table is: SELECT * FROM CALMETHOD T1 WHERE T1.CALMETHOD_ID = (SELECT STENCALUSG.ACTCC_CALMETHOD_ID FROM STENCALUSG WHERE STENCALUSG.STOREENT_ID = ? AND STENCALUSG.CALUSAGE_ID = ?)
public java.util.Enumeration findActiveCalculationRuleCombineMethods() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the CalculationMethodAccessBeans referenced by STENCALUSG.ACTRC_CALMETHOD_ID. Reserved for IBM internal use.
The SQL query used to fetch all the required rows from the CALMETHOD table is: SELECT * FROM CALMETHOD T1 WHERE T1.CALMETHOD_ID IN (SELECT STENCALUSG.ACTRC_CALMETHOD_ID FROM STENCALUSG)
public java.util.Enumeration findActiveCalculationRuleCombineMethodsByStoreEntityAndCalculationUsage(java.lang.Integer storeEntityId, java.lang.Integer usageId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the active CalculationRuleCombine CalculationMethodAccessBeans of the specified StoreEntity and CalculationUsage.
The SQL query used to fetch all the required rows from the CALMETHOD table is: SELECT * FROM CALMETHOD T1 WHERE T1.CALMETHOD_ID = (SELECT STENCALUSG.ACTRC_CALMETHOD_ID FROM STENCALUSG WHERE STENCALUSG.STOREENT_ID = ? AND STENCALUSG.CALUSAGE_ID = ?)
public java.util.Enumeration findAll() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all CalculationMethodAccessBeans.
The SQL query used to fetch all the required rows from the CALCODEDSC table is: SELECT * FROM CALMETHOD T1 WHERE 1 = 1
public void setInitKey_calculationMethodId(java.lang.String newValue)
Set the primary key for this object
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
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public java.lang.String getDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALMETHOD.DESCRIPTION column of DB2 type VARCHAR(508).
The following is a description of this column:
A description of the CalculationMethod, suitable for display by a user interface that creates and updates CalculationCodes and CalculationScales.
public void setDescription(java.lang.String newValue)
public java.lang.String getSubclass() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALMETHOD.SUBCLASS column of DB2 type INTEGER.
The following is a description of this column:
The type of CalculationMethod. Refer to &l
public java.lang.Integer getSubclassInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALMETHOD.SUBCLASS column of DB2 type INTEGER.
The following is a description of this column:
The type of CalculationMethod. Refer to &l
public void setSubclass(java.lang.String newValue)
public void setSubclass(java.lang.Integer newValue)
public java.lang.String getStoreEntityId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALMETHOD.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The StoreEntity of which this CalculationMethod definition is a part.
public java.lang.Integer getStoreEntityIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALMETHOD.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The StoreEntity of which this CalculationMethod definition is a part.
public void setStoreEntityId(java.lang.String newValue)
public void setStoreEntityId(java.lang.Integer newValue)
public java.lang.String getCalculationMethodId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALMETHOD.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique identifier.
public java.lang.Integer getCalculationMethodIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALMETHOD.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique identifier.
public void setCalculationMethodId(java.lang.String newValue)
public void setCalculationMethodId(java.lang.Integer newValue)
public java.lang.String getCalculationUsageId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALMETHOD.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationUsage (such as discount, shipping, sales tax, shipping tax) of the CalculationMethod.
public java.lang.Integer getCalculationUsageIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALMETHOD.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationUsage (such as discount, shipping, sales tax, shipping tax) of the CalculationMethod.
public void setCalculationUsageId(java.lang.String newValue)
public void setCalculationUsageId(java.lang.Integer newValue)
public java.lang.String getTaskName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALMETHOD.TASKNAME column of DB2 type VARCHAR(254).
The following is a description of this column:
Complete name of the Java Interface Class for the method. For example, com.ibm.commerce.order.utils.CalculationCodeCombineCmd
public void setTaskName(java.lang.String newValue)
public java.lang.String getName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALMETHOD.NAME column of DB2 type VARCHAR(254).
The following is a description of this column:
A character string that uniquely identifies this CalculationMethod for a particular combination of StoreEntity, SubClass, and CalculationUsage.
public void setName(java.lang.String newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.