|
||||||||
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.CalculationRuleScaleRelationshipAccessBean
This bean provides access to the CRULESCALE table.
The following is a description of this table:
Each row in this table shows that a CalculationRule is associated with a CalculationScale. Both are used by the Calculation Framework for discounts, shipping charges, taxes, and so on.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
CalculationRuleScaleRelationshipAccessBean()
Default constructor. |
|
CalculationRuleScaleRelationshipAccessBean(javax.ejb.EJBObject aCulationRuleScaleRelationshipAccessBean)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
CalculationRuleScaleRelationshipAccessBean(java.lang.Integer aCalculationScaleId,
java.lang.Integer aCalculationRuleId)
Creates an access bean with the specified attributes. |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.util.Enumeration |
findByCalculationRule(java.lang.Integer aCalculationRuleId)
Retrieves the CalculationRuleScaleRelationshipAccessBeans that match the specified CalculationRule. |
java.util.Enumeration |
findByCalculationScale(java.lang.Integer aCalculationScaleId)
Retrieves the CalculationRuleScaleRelationshipAccessBeans that match the specified CalculationScale. |
java.lang.String |
getCalculationRuleId()
This method provides access to the CRULESCALE.CALRULE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getCalculationRuleIdInEJBType()
This method provides access to the CRULESCALE.CALRULE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getCalculationScaleId()
This method provides access to the CRULESCALE.CALSCALE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getCalculationScaleIdInEJBType()
This method provides access to the CRULESCALE.CALSCALE_ID column of DB2 type INTEGER NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setInitKey_calculationRuleId(java.lang.String aInitKey_calculationRuleId)
Set the primary key for this object |
void |
setInitKey_calculationScaleId(java.lang.String aInitKey_calculationScaleId)
Set the primary key for this object |
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 CalculationRuleScaleRelationshipAccessBean()
Default constructor. Maps to findByPrimaryKey.
public CalculationRuleScaleRelationshipAccessBean(javax.ejb.EJBObject aCulationRuleScaleRelationshipAccessBean) throws java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
aCulationRuleScaleRelationshipAccessBean
- javax.ejb.EJBObjectjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic CalculationRuleScaleRelationshipAccessBean(java.lang.Integer aCalculationScaleId, java.lang.Integer aCalculationRuleId) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Creates an access bean with the specified attributes.
aCalculationScaleId
- the CalculationScale IDaCalculationRuleId
- the CalculationRule IDjavax.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 findByCalculationRule(java.lang.Integer aCalculationRuleId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the CalculationRuleScaleRelationshipAccessBeans that match the specified CalculationRule.
The SQL query used to fetch all the required rows from the
CRULESCALE table is:
SELECT * FROM CRULESCALE T1 WHERE
T1.CALRULE_ID = ?
aCalculationRuleId
- the CalculationRule IDjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByCalculationScale(java.lang.Integer aCalculationScaleId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the CalculationRuleScaleRelationshipAccessBeans that match the specified CalculationScale.
The SQL query used to fetch all the required rows from the
CRULESCALE table is:
SELECT * FROM CRULESCALE T1 WHERE
T1.CALSCALE_ID = ?
aCalculationScaleId
- the CalculationScale 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 getCalculationRuleId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CRULESCALE.CALRULE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationRule for the calculation. CalclationRules are represented by rows in the CALRULE table.
getCalculationRuleId
in interface CalculationRuleScaleRelationshipAccessBeanData
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 getCalculationRuleIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CRULESCALE.CALRULE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationRule for the calculation. CalclationRules are represented by rows in the CALRULE 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 getCalculationScaleId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CRULESCALE.CALSCALE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationScale for the calculation. CalculationScales are represented by rows in the CALSCALE table.
getCalculationScaleId
in interface CalculationRuleScaleRelationshipAccessBeanData
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 getCalculationScaleIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CRULESCALE.CALSCALE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationScale for the calculation. CalculationScales are represented by rows in the CALSCALE 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 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 setInitKey_calculationRuleId(java.lang.String aInitKey_calculationRuleId)
Set the primary key for this object
aInitKey_calculationRuleId
- java.lang.Stringpublic void setInitKey_calculationScaleId(java.lang.String aInitKey_calculationScaleId)
Set the primary key for this object
aInitKey_calculationScaleId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |