|
||||||||
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.CalculationRuleMemberGroupRelationshipAccessBean
This bean provides access to the CALRULEMGP table.
The following is a description of this table:
A row in this table associates a CalculationRule with a MemberGroup. The discount CalculationRuleQualifyMethod can use this relationship to restrict use of the CalculationRule to members of certain MemberGroups. See the STOREMBRGP table.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
CalculationRuleMemberGroupRelationshipAccessBean()
Default constructor. |
|
CalculationRuleMemberGroupRelationshipAccessBean(javax.ejb.EJBObject aEJBObject)
Creates an access bean for the specified EJB. |
|
CalculationRuleMemberGroupRelationshipAccessBean(java.lang.Integer aCalculationRuleId,
java.lang.Long aMemberGroupId)
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 CalculationRuleMemberGroupAccessBeans that match the specified CalculationRule. |
java.util.Enumeration |
findByCalculationRuleAndStore(java.lang.Integer aCalculationRuleId,
java.lang.Integer aStoreId)
Retrieves the CalculationRuleMemberGroupAccessBeans that match the specified CalculationRule and Store. |
java.util.Enumeration |
findByMemberGroup(java.lang.Long aMemberGroupId)
Retrieves the CalculationRuleMemberGroupAccessBeans that match the specified MemberGroup. |
java.lang.String |
getCalculationRuleId()
This method provides access to the CALRULEMGP.CALRULE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getCalculationRuleIdInEJBType()
This method provides access to the CALRULEMGP.CALRULE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getMemberGroupId()
This method provides access to the CALRULEMGP.MBRGRP_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getMemberGroupIdInEJBType()
This method provides access to the CALRULEMGP.MBRGRP_ID column of DB2 type BIGINT 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_memberGroupId(java.lang.String aInitKey_memberGroupId)
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 CalculationRuleMemberGroupRelationshipAccessBean()
Default constructor. Maps to findByPrimaryKey.
public CalculationRuleMemberGroupRelationshipAccessBean(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 exceptionpublic CalculationRuleMemberGroupRelationshipAccessBean(java.lang.Integer aCalculationRuleId, java.lang.Long aMemberGroupId) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Creates an access bean with the specified attributes.
aCalculationRuleId
- the CalculationRule IDaMemberGroupId
- the MemberGroup 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 CalculationRuleMemberGroupAccessBeans that match the specified CalculationRule.
The SQL query used to fetch all the required rows from the
CALRULEMGP table is:
SELECT * FROM CALRULEMGP 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 findByCalculationRuleAndStore(java.lang.Integer aCalculationRuleId, java.lang.Integer aStoreId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the CalculationRuleMemberGroupAccessBeans that match the specified CalculationRule and Store. Reserved for IBM internal use.
The SQL query used to fetch all the required rows from the
CALRULEMGP table is:
SELECT * FROM CALRULEMGP T1 WHERE
T1.CALRULE_ID = ? AND T1.MBRGRP_ID IN (SELECT STOREMBRGP.MBRGRP_ID FROM STOREMBRGP WHERE STOREMBRGP.STORE_ID = ?)
aCalculationRuleId
- the CalculationRule IDaStoreId
- the Store 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 findByMemberGroup(java.lang.Long aMemberGroupId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the CalculationRuleMemberGroupAccessBeans that match the specified MemberGroup.
The SQL query used to fetch all the required rows from the
CALRULEMGP table is:
SELECT * FROM CALRULEMGP T1 WHERE
T1.MBRGRP_ID = ?
aMemberGroupId
- the MemberGroup 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 CALRULEMGP.CALRULE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationRule.
getCalculationRuleId
in interface CalculationRuleMemberGroupRelationshipAccessBeanData
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 CALRULEMGP.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 getMemberGroupId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULEMGP.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The MemberGroup. The default CalculationRuleQualifyMethod for discount CalculationUsage uses the MemberGroup as well as CALRULE.FLAGS and the STOREMBRGP relationship table to determine which customers can use the CalculationRule.
getMemberGroupId
in interface CalculationRuleMemberGroupRelationshipAccessBeanData
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.Long getMemberGroupIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULEMGP.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The MemberGroup. The default CalculationRuleQualifyMethod for discount CalculationUsage uses the MemberGroup as well as CALRULE.FLAGS and the STOREMBRGP relationship table to determine which customers can use 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 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_memberGroupId(java.lang.String aInitKey_memberGroupId)
Set the primary key for this object
aInitKey_memberGroupId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |