java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.fulfillment.objects.CalculationCodeMemberGroupAccessBean
The CalculationCodeQualifyMethod can use the rows of this table to restrict use of a CalculationCode to members of certain MemberGroups. This access bean corresponds to the database table 'CALCODEMGP'.
Constructor Summary | |
CalculationCodeMemberGroupAccessBean() Zero argument constructor used to initialize the access bean. |
|
CalculationCodeMemberGroupAccessBean(java.lang.Integer newCalculationCodeId, java.lang.Long newMemberGroupId) Creates an access bean with the specified attributes. |
|
CalculationCodeMemberGroupAccessBean(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 | findByCalculationCodeId(java.lang.Integer calculationCodeId) Retrieves the CalculationCodeMemberGroupAccessBeans that match the specified CalculationCode. |
java.util.Enumeration | findByMemberGroupId(java.lang.Long memberGroupId) Retrieves the CalculationCodeMemberGroupAccessBeans that match the specified MemberGroup. |
java.lang.String | getCalculationCodeId() This method provides access to the CALCODEMGP.CALCODE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getCalculationCodeIdInEJBType() This method provides access to the CALCODEMGP.CALCODE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getMemberGroupId() This method provides access to the CALCODEMGP.MBRGRP_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getMemberGroupIdInEJBType() This method provides access to the CALCODEMGP.MBRGRP_ID column of DB2 type BIGINT NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setCalculationCodeId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setCalculationCodeId(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_calculationCodeId(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 |
void | setMemberGroupId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setMemberGroupId(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 CalculationCodeMemberGroupAccessBean()
public CalculationCodeMemberGroupAccessBean(java.lang.Integer newCalculationCodeId, java.lang.Long newMemberGroupId) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Creates an access bean with the specified attributes.
public CalculationCodeMemberGroupAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
Method 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).
protected java.lang.String defaultJNDIName()
public java.util.Enumeration findByCalculationCodeId(java.lang.Integer calculationCodeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the CalculationCodeMemberGroupAccessBeans that match the specified CalculationCode.
The SQL query used to fetch all the required rows from the CALCODEMGP table is: SELECT * FROM CALCODEMGP T1 WHERE T1.CALCODE_ID = ?
public java.util.Enumeration findByMemberGroupId(java.lang.Long memberGroupId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the CalculationCodeMemberGroupAccessBeans that match the specified MemberGroup.
The SQL query used to fetch all the required rows from the CALCODEMGP table is: SELECT * FROM CALCODEMGP T1 WHERE T1.MBRGRP_ID = ?
public java.lang.String getCalculationCodeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALCODEMGP.CALCODE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationCode. See also the FLAGS column of the CALCODE table.
public java.lang.Integer getCalculationCodeIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALCODEMGP.CALCODE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationCode. See also the FLAGS column of the CALCODE table.
public java.lang.String getMemberGroupId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALCODEMGP.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The MemberGroup. The default implementation of the CalculationCodeQualifyMethod will only allow use of the CalculationCode by users who are members of the MemberGroup, and only if the MemberGroup appears in the STOREMBGRP table for the Store.
public java.lang.Long getMemberGroupIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALCODEMGP.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The MemberGroup. The default implementation of the CalculationCodeQualifyMethod will only allow use of the CalculationCode by users who are members of the MemberGroup, and only if the MemberGroup appears in the STOREMBGRP table for the Store.
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 refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public void setCalculationCodeId(java.lang.Integer newValue)
public void setCalculationCodeId(java.lang.String newValue)
public void setInitKey_calculationCodeId(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
public void setMemberGroupId(java.lang.Long newValue)
public void setMemberGroupId(java.lang.String newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.