|
||||||||
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.taxation.objects.TaxJurisdictionGroupCalculationRuleAccessBean
This bean provides access to the TAXJCRULE table.
The following is a description of this table:
This table can be used by a tax CalculationRuleQualifyMethod to choose a CalculationRule when shipping from a FulfillmentCenter to a shipping address that matches one of the TaxJurisdictions in a particular TaxJurisdictionGroup.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
TaxJurisdictionGroupCalculationRuleAccessBean()
Default constructor. |
|
TaxJurisdictionGroupCalculationRuleAccessBean(javax.ejb.EJBObject ejbObject)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.util.Enumeration |
findByFulfillmentCenterAndJurisdictionSortedByPrecedence(java.lang.Integer ffmcenterId,
java.lang.Integer jurstGroupId)
Retrieves all the tax categories for the indicated store and tax type for display. |
java.util.Enumeration |
findByFulfillmentCentreJurisdictionGroupWithHighestPrecedence(java.lang.Integer ffmcenterId,
java.lang.Integer jurstGroupId)
Retrieves all the tax categories for the indicated store and tax type for display. |
java.lang.String |
getCalculationRuleId()
This method provides access to the TAXJCRULE.CALRULE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getCalculationRuleIdInEJBType()
This method provides access to the TAXJCRULE.CALRULE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getFulfillmentCenterId()
This method provides access to the TAXJCRULE.FFMCENTER_ID column of DB2 type INTEGER NULL. |
java.lang.Integer |
getFulfillmentCenterIdInEJBType()
This method provides access to the TAXJCRULE.FFMCENTER_ID column of DB2 type INTEGER NULL. |
java.lang.String |
getJurisdictionGroupId()
This method provides access to the TAXJCRULE.JURSTGROUP_ID column of DB2 type INTEGER NULL. |
java.lang.Integer |
getJurisdictionGroupIdInEJBType()
This method provides access to the TAXJCRULE.JURSTGROUP_ID column of DB2 type INTEGER NULL. |
java.lang.String |
getPrecedence()
This method provides access to the TAXJCRULE.PRECEDENCE column of DB2 type FLOAT NOT NULL. |
java.lang.Double |
getPrecedenceInEJBType()
This method provides access to the TAXJCRULE.PRECEDENCE column of DB2 type FLOAT NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setCalculationRuleId(java.lang.Integer aCalculationRuleId)
This method provides access to the TAXJCRULE.CALRULE_ID column of DB2 type INTEGER NOT NULL. |
void |
setCalculationRuleId(java.lang.String aCalculationRuleId)
This method provides access to the TAXJCRULE.CALRULE_ID column of DB2 type INTEGER NOT NULL. |
void |
setFulfillmentCenterId(java.lang.Integer aFulfillmentCenterId)
This method provides access to the TAXJCRULE.FFMCENTER_ID column of DB2 type INTEGER NULL. |
void |
setFulfillmentCenterId(java.lang.String aFulfillmentCenterId)
This method provides access to the TAXJCRULE.FFMCENTER_ID column of DB2 type INTEGER NULL. |
void |
setInitKey_nCalculationRuleId(java.lang.String aInitKey_nCalculationRuleId)
Set the primary key for this object |
void |
setInitKey_nFulfillmentCenterId(java.lang.String aInitKey_nFulfillmentCenterId)
Set the primary key for this object |
void |
setInitKey_nJurisdictionGroupId(java.lang.String aInitKey_nJurisdictionGroupId)
Set the primary key for this object |
void |
setJurisdictionGroupId(java.lang.Integer aJurisdictionGroupId)
This method provides access to the TAXJCRULE.JURSTGROUP_ID column of DB2 type INTEGER NULL. |
void |
setJurisdictionGroupId(java.lang.String aJurisdictionGroupId)
This method provides access to the TAXJCRULE.JURSTGROUP_ID column of DB2 type INTEGER NULL. |
void |
setPrecedence(java.lang.Double aPrecedence)
This method provides access to the TAXJCRULE.PRECEDENCE column of DB2 type FLOAT NOT NULL. |
void |
setPrecedence(java.lang.String aPrecedence)
This method provides access to the TAXJCRULE.PRECEDENCE column of DB2 type FLOAT 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 TaxJurisdictionGroupCalculationRuleAccessBean()
Default constructor. Maps to findByPrimaryKey.
public TaxJurisdictionGroupCalculationRuleAccessBean(javax.ejb.EJBObject ejbObject) throws java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
ejbObject
- javax.ejb.EJBObjectjava.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 findByFulfillmentCenterAndJurisdictionSortedByPrecedence(java.lang.Integer ffmcenterId, java.lang.Integer jurstGroupId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the tax categories for the indicated store and tax type for display.
The SQL query used to fetch all the required rows from the TAXJCRULE table is:
SELECT * FROM TAXJCRULE T1 WHERE (FFMCENTER_ID IS NULL OR FFMCENTER_ID = ?) and (JURSTGROUP_ID IS NULL OR JURSTGROUP_ID in (select JURSTGROUP_ID from JURSTGPREL where JURST_ID = ?)) order by PRECEDENCE desc
ffmcenterId
- The ID of the fulfillment center.jurstGroupId
- The ID of the jurisdiction group.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByFulfillmentCentreJurisdictionGroupWithHighestPrecedence(java.lang.Integer ffmcenterId, java.lang.Integer jurstGroupId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the tax categories for the indicated store and tax type for display.
The SQL query used to fetch all the required rows from the TAXJCRULE table is:
SELECT * FROM TAXJCRULE T1 WHERE (T1.FFMCENTER_ID = ?) and (T1.JURSTGROUP_ID = ?) and (T1.PRECEDENCE )
ffmcenterId
- The ID of the fulfillment center.jurstGroupId
- The ID of the jurisdiction group.java.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 TAXJCRULE.CALRULE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationRule.
getCalculationRuleId
in interface TaxJurisdictionGroupCalculationRuleAccessBeanData
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 TAXJCRULE.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 TAXJCRULE.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 TaxJurisdictionGroupCalculationRuleAccessBeanData
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 TAXJCRULE.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 TAXJCRULE.JURSTGROUP_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
The TaxJurisdictionGroup. If this is NULL, then this row applies to all TaxJurisdictionGroups.
getJurisdictionGroupId
in interface TaxJurisdictionGroupCalculationRuleAccessBeanData
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 TAXJCRULE.JURSTGROUP_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
The TaxJurisdictionGroup. If this is NULL, then this row applies to all TaxJurisdictionGroups.
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 TAXJCRULE.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 TaxJurisdictionGroups, for the same FulfillmentCenter, only the CalculationRule with the highest TAXJCRULE.PRECEDENCE value qualifies.
getPrecedence
in interface TaxJurisdictionGroupCalculationRuleAccessBeanData
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 TAXJCRULE.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 TaxJurisdictionGroups, for the same FulfillmentCenter, only the CalculationRule with the highest TAXJCRULE.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 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 setCalculationRuleId(java.lang.Integer aCalculationRuleId)
This method provides access to the TAXJCRULE.CALRULE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationRule.
aCalculationRuleId
- java.lang.Integerpublic void setCalculationRuleId(java.lang.String aCalculationRuleId)
This method provides access to the TAXJCRULE.CALRULE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationRule.
setCalculationRuleId
in interface TaxJurisdictionGroupCalculationRuleAccessBeanData
aCalculationRuleId
- java.lang.Stringpublic void setFulfillmentCenterId(java.lang.Integer aFulfillmentCenterId)
This method provides access to the TAXJCRULE.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 TAXJCRULE.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 TaxJurisdictionGroupCalculationRuleAccessBeanData
aFulfillmentCenterId
- java.lang.Stringpublic void setInitKey_nCalculationRuleId(java.lang.String aInitKey_nCalculationRuleId)
Set the primary key for this object
aInitKey_nCalculationRuleId
- java.lang.Stringpublic void setInitKey_nFulfillmentCenterId(java.lang.String aInitKey_nFulfillmentCenterId)
Set the primary key for this object
aInitKey_nFulfillmentCenterId
- java.lang.Stringpublic void setInitKey_nJurisdictionGroupId(java.lang.String aInitKey_nJurisdictionGroupId)
Set the primary key for this object
aInitKey_nJurisdictionGroupId
- java.lang.Stringpublic void setJurisdictionGroupId(java.lang.Integer aJurisdictionGroupId)
This method provides access to the TAXJCRULE.JURSTGROUP_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
The TaxJurisdictionGroup. If this is NULL, then this row applies to all TaxJurisdictionGroups.
aJurisdictionGroupId
- java.lang.Integerpublic void setJurisdictionGroupId(java.lang.String aJurisdictionGroupId)
This method provides access to the TAXJCRULE.JURSTGROUP_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
The TaxJurisdictionGroup. If this is NULL, then this row applies to all TaxJurisdictionGroups.
setJurisdictionGroupId
in interface TaxJurisdictionGroupCalculationRuleAccessBeanData
aJurisdictionGroupId
- java.lang.Stringpublic void setPrecedence(java.lang.Double aPrecedence)
This method provides access to the TAXJCRULE.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 TaxJurisdictionGroups, for the same FulfillmentCenter, only the CalculationRule with the highest TAXJCRULE.PRECEDENCE value qualifies.
aPrecedence
- java.lang.Doublepublic void setPrecedence(java.lang.String aPrecedence)
This method provides access to the TAXJCRULE.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 TaxJurisdictionGroups, for the same FulfillmentCenter, only the CalculationRule with the highest TAXJCRULE.PRECEDENCE value qualifies.
setPrecedence
in interface TaxJurisdictionGroupCalculationRuleAccessBeanData
aPrecedence
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |