|
||||||||
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.ShippingJurisdictionGroupCalculationRuleAccessBean
This bean provides access to the SHPJCRULE table.
The following is a description of this table:
This table can be used by the shipping CalculationRuleQualifyMethod to choose a CalculationRule based on ShippingMode and FulfillmentCenter when the shipping address matches one of the ShippingJurisdictions in a particular ShippingJurisdictionGroup.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
ShippingJurisdictionGroupCalculationRuleAccessBean()
Default constructor. |
|
ShippingJurisdictionGroupCalculationRuleAccessBean(javax.ejb.EJBObject aEJBObject)
Creates an access bean for the specified EJB. |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.util.Enumeration |
findByFulfillmentCenterShipModeAndJurisdiction(java.lang.Integer aFulfillmentCenterId,
java.lang.Integer aShippingModeId,
java.lang.Integer aJurisdictionId)
Retrieves the ShippingJurisdictionGroupCalculationRuleAccessBeans that match the specified FulfillmentCenter, ShippingMode and Jurisdiction. |
java.util.Enumeration |
findByShippingArrangementJurisdictionAndCalculationRule(java.lang.Integer aShippingArrangementId,
java.lang.Integer aJurisdictionId,
java.lang.Integer aCalculationRuleId)
Retrieves the ShippingJurisdictionGroupCalculationRuleAccessBeans that match the specified ShippingArrangement, Jurisdiction and CalculationRule. |
java.lang.String |
getCalculationRuleId()
This method provides access to the SHPJCRULE.CALRULE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getCalculationRuleIdInEJBType()
This method provides access to the SHPJCRULE.CALRULE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getFulfillmentCenterId()
This method provides access to the SHPJCRULE.FFMCENTER_ID column of DB2 type INTEGER NULL. |
java.lang.Integer |
getFulfillmentCenterIdInEJBType()
This method provides access to the SHPJCRULE.FFMCENTER_ID column of DB2 type INTEGER NULL. |
java.lang.String |
getJurisdictionGroupId()
This method provides access to the SHPJCRULE.JURSTGROUP_ID column of DB2 type INTEGER NULL. |
java.lang.Integer |
getJurisdictionGroupIdInEJBType()
This method provides access to the SHPJCRULE.JURSTGROUP_ID column of DB2 type INTEGER NULL. |
java.lang.String |
getPrecedence()
This method provides access to the SHPJCRULE.PRECEDENCE column of DB2 type FLOAT NOT NULL. |
java.lang.Double |
getPrecedenceInEJBType()
This method provides access to the SHPJCRULE.PRECEDENCE column of DB2 type FLOAT NOT NULL. |
java.lang.String |
getShipModeId()
This method provides access to the SHPJCRULE.SHIPMODE_ID column of DB2 type INTEGER NULL. |
java.lang.Integer |
getShipModeIdInEJBType()
This method provides access to the SHPJCRULE.SHIPMODE_ID column of DB2 type INTEGER NULL. |
java.lang.String |
getShippingJurisdictionGroupCalculationRuleId()
This method provides access to the SHPJCRULE.SHPJCRULE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getShippingJurisdictionGroupCalculationRuleIdInEJBType()
This method provides access to the SHPJCRULE.SHPJCRULE_ID column of DB2 type INTEGER NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setFulfillmentCenterId(java.lang.Integer aFulfillmentCenterId)
This method provides access to the SHPJCRULE.FFMCENTER_ID column of DB2 type INTEGER NULL. |
void |
setFulfillmentCenterId(java.lang.String aFulfillmentCenterId)
This method provides access to the SHPJCRULE.FFMCENTER_ID column of DB2 type INTEGER NULL. |
void |
setInitKey_shippingJurisdictionGroupCalculationRuleId(java.lang.String aInitKey_shippingJurisdictionGroupCalculationRuleId)
Set the primary key for this object |
void |
setPrecedence(java.lang.Double aPrecedence)
This method provides access to the SHPJCRULE.PRECEDENCE column of DB2 type FLOAT NOT NULL. |
void |
setPrecedence(java.lang.String aPrecedence)
This method provides access to the SHPJCRULE.PRECEDENCE column of DB2 type FLOAT NOT NULL. |
void |
setShipModeId(java.lang.Integer aShipModeId)
This method provides access to the SHPJCRULE.SHIPMODE_ID column of DB2 type INTEGER NULL. |
void |
setShipModeId(java.lang.String aShipModeId)
This method provides access to the SHPJCRULE.SHIPMODE_ID column of DB2 type INTEGER NULL. |
void |
setShippingJurisdictionGroupCalculationRuleId(java.lang.Integer aShippingJurisdictionGroupCalculationRuleId)
This method provides access to the SHPJCRULE.SHPJCRULE_ID column of DB2 type INTEGER NOT NULL. |
void |
setShippingJurisdictionGroupCalculationRuleId(java.lang.String aShippingJurisdictionGroupCalculationRuleId)
This method provides access to the SHPJCRULE.SHPJCRULE_ID column of DB2 type INTEGER NOT 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 ShippingJurisdictionGroupCalculationRuleAccessBean()
Default constructor. Maps to findByPrimaryKey.
public ShippingJurisdictionGroupCalculationRuleAccessBean(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 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 findByFulfillmentCenterShipModeAndJurisdiction(java.lang.Integer aFulfillmentCenterId, java.lang.Integer aShippingModeId, java.lang.Integer aJurisdictionId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the ShippingJurisdictionGroupCalculationRuleAccessBeans that match the specified FulfillmentCenter, ShippingMode and Jurisdiction.
The SQL query used to fetch all the required rows from the
SHPJCRULE table is:
SELECT * FROM SHPJCRULE T1 WHERE
(T1.FFMCENTER_ID = ? OR T1.FFMCENTER_ID IS NULL)
AND (T1.SHIPMODE_ID = ? OR T1.SHIPMODE_ID IS NULL)
AND (T1.JURSTGROUP_ID IS NULL OR T1.JURSTGROUP_ID IN (SELECT JURSTGPREL.JURSTGROUP_ID FROM JURSTGPREL WHERE JURSTGPREL.JURST_ID = ?))
ORDER BY T1.PRECEDENCE DESC
aFulfillmentCenterId
- the FulfillmentCenter IDaShippingModeId
- the ShippingMode IDaJurisdictionId
- the Jurisdiction 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 findByShippingArrangementJurisdictionAndCalculationRule(java.lang.Integer aShippingArrangementId, java.lang.Integer aJurisdictionId, java.lang.Integer aCalculationRuleId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the ShippingJurisdictionGroupCalculationRuleAccessBeans that match the specified ShippingArrangement, Jurisdiction and CalculationRule. Reserved for IBM internal use.
The SQL query used to fetch all the required rows from the
SHPJCRULE table is:
SELECT * FROM SHPJCRULE T1 WHERE
T1.SHPARRANGE_ID = ? AND T1.JURSTGROUP_ID IN (SELECT JURSTGPREL.JURSTGROUP_ID FROM JURSTGPREL WHERE JURSTGPREL.JURST_ID = ?) AND T1.CALRULE_ID = ?
aShippingArrangementId
- the ShippingArrangement IDaJurisdictionId
- the Jurisdiction IDaCalculationRuleId
- 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.lang.String getCalculationRuleId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SHPJCRULE.CALRULE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationRule.
getCalculationRuleId
in interface ShippingJurisdictionGroupCalculationRuleAccessBeanData
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 SHPJCRULE.CALRULE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationRule.
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 getFulfillmentCenterId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SHPJCRULE.FFMCENTER_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
The FulfillmentCenter. If this is NULL then this row applies to all FulfillmentCenters.
getFulfillmentCenterId
in interface ShippingJurisdictionGroupCalculationRuleAccessBeanData
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 getFulfillmentCenterIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SHPJCRULE.FFMCENTER_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
The FulfillmentCenter. If this is NULL then this row applies to all FulfillmentCenters.
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 getJurisdictionGroupId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SHPJCRULE.JURSTGROUP_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
The ShippingJurisdictionGroup. If this is NULL, then this row applies to all ShippingJurisdictionGroups.
getJurisdictionGroupId
in interface ShippingJurisdictionGroupCalculationRuleAccessBeanData
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 getJurisdictionGroupIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SHPJCRULE.JURSTGROUP_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
The ShippingJurisdictionGroup. If this is NULL, then this row applies to all ShippingJurisdictionGroups.
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 getPrecedence() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SHPJCRULE.PRECEDENCE column of DB2 type FLOAT NOT NULL.
The following is a description of this column:
When a shipping address falls within more than one of the specified ShippingJurisdictionGroups, for the same FulfillmentCenter and ShippingMode, only the CalculationRule with the highest SHPJCRULE.PRECEDENCE value qualifies.
getPrecedence
in interface ShippingJurisdictionGroupCalculationRuleAccessBeanData
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.Double getPrecedenceInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SHPJCRULE.PRECEDENCE column of DB2 type FLOAT NOT NULL.
The following is a description of this column:
When a shipping address falls within more than one of the specified ShippingJurisdictionGroups, for the same FulfillmentCenter and ShippingMode, only the CalculationRule with the highest SHPJCRULE.PRECEDENCE value qualifies.
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 getShipModeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SHPJCRULE.SHIPMODE_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
The ShippingMode.
getShipModeId
in interface ShippingJurisdictionGroupCalculationRuleAccessBeanData
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 getShipModeIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SHPJCRULE.SHIPMODE_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
The ShippingMode.
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 getShippingJurisdictionGroupCalculationRuleId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SHPJCRULE.SHPJCRULE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique key.
getShippingJurisdictionGroupCalculationRuleId
in interface ShippingJurisdictionGroupCalculationRuleAccessBeanData
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 getShippingJurisdictionGroupCalculationRuleIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SHPJCRULE.SHPJCRULE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique 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 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 setFulfillmentCenterId(java.lang.Integer aFulfillmentCenterId)
This method provides access to the SHPJCRULE.FFMCENTER_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
The FulfillmentCenter. If this is NULL then this row applies to all FulfillmentCenters.
aFulfillmentCenterId
- java.lang.Integerpublic void setFulfillmentCenterId(java.lang.String aFulfillmentCenterId)
This method provides access to the SHPJCRULE.FFMCENTER_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
The FulfillmentCenter. If this is NULL then this row applies to all FulfillmentCenters.
setFulfillmentCenterId
in interface ShippingJurisdictionGroupCalculationRuleAccessBeanData
aFulfillmentCenterId
- java.lang.Stringpublic void setInitKey_shippingJurisdictionGroupCalculationRuleId(java.lang.String aInitKey_shippingJurisdictionGroupCalculationRuleId)
Set the primary key for this object
aInitKey_shippingJurisdictionGroupCalculationRuleId
- java.lang.Stringpublic void setPrecedence(java.lang.Double aPrecedence)
This method provides access to the SHPJCRULE.PRECEDENCE column of DB2 type FLOAT NOT NULL.
The following is a description of this column:
When a shipping address falls within more than one of the specified ShippingJurisdictionGroups, for the same FulfillmentCenter and ShippingMode, only the CalculationRule with the highest SHPJCRULE.PRECEDENCE value qualifies.
aPrecedence
- java.lang.Doublepublic void setPrecedence(java.lang.String aPrecedence)
This method provides access to the SHPJCRULE.PRECEDENCE column of DB2 type FLOAT NOT NULL.
The following is a description of this column:
When a shipping address falls within more than one of the specified ShippingJurisdictionGroups, for the same FulfillmentCenter and ShippingMode, only the CalculationRule with the highest SHPJCRULE.PRECEDENCE value qualifies.
setPrecedence
in interface ShippingJurisdictionGroupCalculationRuleAccessBeanData
aPrecedence
- java.lang.Stringpublic void setShipModeId(java.lang.Integer aShipModeId)
This method provides access to the SHPJCRULE.SHIPMODE_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
The ShippingMode.
aShipModeId
- java.lang.Integerpublic void setShipModeId(java.lang.String aShipModeId)
This method provides access to the SHPJCRULE.SHIPMODE_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
The ShippingMode.
setShipModeId
in interface ShippingJurisdictionGroupCalculationRuleAccessBeanData
aShipModeId
- java.lang.Stringpublic void setShippingJurisdictionGroupCalculationRuleId(java.lang.Integer aShippingJurisdictionGroupCalculationRuleId)
This method provides access to the SHPJCRULE.SHPJCRULE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique key.
aShippingJurisdictionGroupCalculationRuleId
- java.lang.Integerpublic void setShippingJurisdictionGroupCalculationRuleId(java.lang.String aShippingJurisdictionGroupCalculationRuleId)
This method provides access to the SHPJCRULE.SHPJCRULE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique key.
setShippingJurisdictionGroupCalculationRuleId
in interface ShippingJurisdictionGroupCalculationRuleAccessBeanData
aShippingJurisdictionGroupCalculationRuleId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |