java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.fulfillment.objects.ShippingJurisdictionGroupCalculationRuleAccessBean
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. This access bean corresponds to the database table 'SHPJCRULE'.
Constructor Summary | |
ShippingJurisdictionGroupCalculationRuleAccessBean() Zero argument constructor used to initialize the access bean. |
|
ShippingJurisdictionGroupCalculationRuleAccessBean(java.lang.Integer aCalculationRuleId, java.lang.Integer aJurisdictionGroupId, java.lang.Integer aFulfillmentCenterId, java.lang.Integer aShipModeId) ejbCreate method for a CMP entity bean |
|
ShippingJurisdictionGroupCalculationRuleAccessBean(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 | findByCalculationRuleId(java.lang.Integer calculationRuleId) |
java.util.Enumeration | findByFulfillmentCenterShipModeAndJurisdiction(java.lang.Integer fulfillmentCenterId, java.lang.Integer shipModeId, java.lang.Integer jurisdictionId) Retrieves the ShippingJurisdictionGroupCalculationRuleAccessBeans that match the specified FulfillmentCenter, ShippingMode and Jurisdiction. |
java.util.Enumeration | findByShippingArrangementJurisdictionAndCalculationRule(java.lang.Integer shipArrangementId, java.lang.Integer jurisdictionId, java.lang.Integer calculationRuleId) 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. |
java.lang.Integer | getFulfillmentCenterIdInEJBType() This method provides access to the SHPJCRULE.FFMCENTER_ID column of DB2 type INTEGER. |
java.lang.String | getJurisdictionGroupId() This method provides access to the SHPJCRULE.JURSTGROUP_ID column of DB2 type INTEGER. |
java.lang.Integer | getJurisdictionGroupIdInEJBType() This method provides access to the SHPJCRULE.JURSTGROUP_ID column of DB2 type INTEGER. |
java.lang.String | getPrecedence() This method provides access to the SHPJCRULE.PRECEDENCE column of DB2 type FLOAT NOT NULL DEFAULT 0. |
java.lang.Double | getPrecedenceInEJBType() This method provides access to the SHPJCRULE.PRECEDENCE column of DB2 type FLOAT NOT NULL DEFAULT 0. |
java.lang.String | getShipModeId() This method provides access to the SHPJCRULE.SHIPMODE_ID column of DB2 type INTEGER. |
java.lang.Integer | getShipModeIdInEJBType() This method provides access to the SHPJCRULE.SHIPMODE_ID column of DB2 type INTEGER. |
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. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setCalculationRuleId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setCalculationRuleId(java.lang.String newValue) This method accesses a non-CMP field |
void | setFulfillmentCenterId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setFulfillmentCenterId(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_shippingJurisdictionGroupCalculationRuleId(java.lang.String newValue) Set the primary key for this object |
void | setJurisdictionGroupId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setJurisdictionGroupId(java.lang.String newValue) This method accesses a non-CMP field |
void | setPrecedence(java.lang.Double newValue) This method accesses a non-CMP field |
void | setPrecedence(java.lang.String newValue) This method accesses a non-CMP field |
void | setShipModeId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setShipModeId(java.lang.String newValue) This method accesses a non-CMP field |
void | setShippingJurisdictionGroupCalculationRuleId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setShippingJurisdictionGroupCalculationRuleId(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 ShippingJurisdictionGroupCalculationRuleAccessBean()
public ShippingJurisdictionGroupCalculationRuleAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public ShippingJurisdictionGroupCalculationRuleAccessBean(java.lang.Integer aCalculationRuleId, java.lang.Integer aJurisdictionGroupId, java.lang.Integer aFulfillmentCenterId, java.lang.Integer aShipModeId) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
Method Detail |
public java.util.Enumeration findByFulfillmentCenterShipModeAndJurisdiction(java.lang.Integer fulfillmentCenterId, java.lang.Integer shipModeId, java.lang.Integer jurisdictionId) 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
public java.util.Enumeration findByShippingArrangementJurisdictionAndCalculationRule(java.lang.Integer shipArrangementId, java.lang.Integer jurisdictionId, java.lang.Integer calculationRuleId) 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 = ?
public java.util.Enumeration findByCalculationRuleId(java.lang.Integer calculationRuleId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public void setInitKey_shippingJurisdictionGroupCalculationRuleId(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 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.
The following is a description of this column:
The ShippingMode.
public 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.
The following is a description of this column:
The ShippingMode.
public void setShipModeId(java.lang.String newValue)
public void setShipModeId(java.lang.Integer newValue)
public void setCalculationRuleId(java.lang.Integer newValue)
public void setCalculationRuleId(java.lang.String newValue)
public void setJurisdictionGroupId(java.lang.Integer newValue)
public void setJurisdictionGroupId(java.lang.String newValue)
public 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.
The following is a description of this column:
The ShippingJurisdictionGroup. If this is NULL, then this row applies to all ShippingJurisdictionGroups.
public 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.
The following is a description of this column:
The ShippingJurisdictionGroup. If this is NULL, then this row applies to all ShippingJurisdictionGroups.
public 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.
public 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.
public 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 DEFAULT 0.
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.
public 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 DEFAULT 0.
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.
public void setPrecedence(java.lang.String newValue)
public void setPrecedence(java.lang.Double newValue)
public 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.
The following is a description of this column:
The FulfillmentCenter. If this is NULL then this row applies to all FulfillmentCenters.
public 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.
The following is a description of this column:
The FulfillmentCenter. If this is NULL then this row applies to all FulfillmentCenters.
public void setFulfillmentCenterId(java.lang.String newValue)
public void setFulfillmentCenterId(java.lang.Integer newValue)
public 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.
public 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.
public void setShippingJurisdictionGroupCalculationRuleId(java.lang.String newValue)
public void setShippingJurisdictionGroupCalculationRuleId(java.lang.Integer newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.