java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.fulfillment.objects.CalculationRuleMemberGroupRelationshipAccessBean
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. This access bean corresponds to the database table 'CALRULEMGP'.
Constructor Summary | |
CalculationRuleMemberGroupRelationshipAccessBean() Zero argument constructor used to initialize the access bean. |
|
CalculationRuleMemberGroupRelationshipAccessBean(java.lang.Integer arg1, java.lang.Long arg2) Creates an access bean with the specified attributes. |
|
CalculationRuleMemberGroupRelationshipAccessBean(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 | findByCalculationRule(java.lang.Integer ruleId) Retrieves the CalculationRuleMemberGroupAccessBeans that match the specified CalculationRule. |
java.util.Enumeration | findByCalculationRuleAndStore(java.lang.Integer ruleId, java.lang.Integer storeId) Retrieves the CalculationRuleMemberGroupAccessBeans that match the specified CalculationRule and Store. |
java.util.Enumeration | findByMemberGroup(java.lang.Long groupId) 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. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setInitKey_calculationRuleId(java.lang.String newValue) Set the primary key for this object |
void | setInitKey_memberGroupId(java.lang.String newValue) Set the primary key for this object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CalculationRuleMemberGroupRelationshipAccessBean()
public CalculationRuleMemberGroupRelationshipAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public CalculationRuleMemberGroupRelationshipAccessBean(java.lang.Integer arg1, java.lang.Long arg2) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Creates an access bean with the specified attributes.
Method Detail |
public java.util.Enumeration findByCalculationRule(java.lang.Integer ruleId) 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 = ?
public java.util.Enumeration findByCalculationRuleAndStore(java.lang.Integer ruleId, java.lang.Integer storeId) 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 = ?)
public java.util.Enumeration findByMemberGroup(java.lang.Long groupId) 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 = ?
public void setInitKey_calculationRuleId(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_memberGroupId(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 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.
public 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.
public 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.
public 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.
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.