com.ibm.commerce.user.objects
Class MemberGroupMemberAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.user.objects.MemberGroupMemberAccessBean
All Implemented Interfaces:
MemberGroupMemberAccessBeanData

public class MemberGroupMemberAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements MemberGroupMemberAccessBeanData

This table contains members that are explicitly included in a member group. This access bean corresponds to the database table 'MBRGRPMBR'.

See Also:
Serialized Form

Constructor Summary
MemberGroupMemberAccessBean()
Zero argument constructor used to initialize the access bean.
MemberGroupMemberAccessBean(javax.ejb.EJBObject o)
constructor
MemberGroupMemberAccessBean(java.lang.Long aMbrGrpId, java.lang.Long aMemberId)
Maps to a corresponding ejbCreate method in the home interface of the EJB
MemberGroupMemberAccessBean(java.lang.Long aMbrGrpId, java.lang.Long aMemberId, java.lang.String aExclude)
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).
protected java.lang.String defaultJNDIName()
java.util.Enumeration findAllGroupMember(java.lang.Long anMemberGroupId)
The SQL is "SELECT * FROM MBRGRPMBR T1 WHERE (T1.MBRGRP_ID = ?)"
java.util.Enumeration findAllStoreGroupMember(java.lang.Integer anStoreId, java.lang.Long anMemberId)
The SQL is "SELECT * FROM MBRGRPMBR T1 WHERE (T1.EXCLUDE = '0') AND (T1.MBRGRP_ID = ANY (SELECT STOREMBRGP.MBRGRP_ID FROM STOREMBRGP WHERE STOREMBRGP.STORE_ID = ?)) AND (T1.MEMBER_ID = ?)"
MemberGroupMemberAccessBean findByGroupMember(java.lang.Long anMemberGroupReferenceNumber, java.lang.Long anMemberReferenceNumber)
The SQL is "SELECT * FROM MBRGRPMBR T1 WHERE (T1.MBRGRP_ID = ?) AND (T1.MEMBER_ID = ?)".
java.util.Enumeration findByMember(java.lang.Long anMemberId)
The SQL is "SELECT * FROM MBRGRPMBR T1 WHERE (T1.MEMBER_ID = ?)"
java.util.Enumeration findByStoreAndMember(java.lang.Integer anStoreId, java.lang.Long anMemberId)
The SQL is "SELECT * FROM MBRGRPMBR T1 WHERE (T1.EXCLUDE = '0') AND (T1.MBRGRP_ID = ANY (SELECT STOREMBRGP.MBRGRP_ID FROM STOREMBRGP WHERE STOREMBRGP.STORE_ID = ?)) AND (T1.MEMBER_ID = ?)"
java.lang.String getCustomerId()
This method provides access to the MBRGRPMBR.CUSTOMERID column of DB2 type VARCHAR(30).
java.lang.String getExclude()
This method provides access to the MBRGRPMBR.EXCLUDE column of DB2 type CHAR(1) NOT NULL DEFAULT '0'.
java.lang.String getField1()
This method provides access to the MBRGRPMBR.FIELD1 column of DB2 type VARCHAR(254).
java.lang.String getMbrGrpId()
This method provides access to the MBRGRPMBR.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getMbrGrpIdInEJBType()
This method provides access to the MBRGRPMBR.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getMemberId()
This method provides access to the MBRGRPMBR.MEMBER_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getMemberIdInEJBType()
This method provides access to the MBRGRPMBR.MEMBER_ID column of DB2 type BIGINT NOT NULL.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setCustomerId(java.lang.String newValue)
This method accesses a non-CMP field
void setExclude(java.lang.String newValue)
This method accesses a non-CMP field
void setField1(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_MbrGrpId(java.lang.String newValue)
Set the primary key for this object
void setInitKey_MemberId(java.lang.String newValue)
Set the primary key for this object
void setMbrGrpId(java.lang.Long newValue)
This method accesses a non-CMP field
void setMbrGrpId(java.lang.String newValue)
This method accesses a non-CMP field
void setMemberId(java.lang.Long newValue)
This method accesses a non-CMP field
void setMemberId(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

MemberGroupMemberAccessBean

public MemberGroupMemberAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.user.objects.MemberGroupMember com.ibm.commerce.user.objimpl.MemberGroupMemberHomeBase.findByPrimaryKey(com.ibm.commerce.user.objects.MemberGroupMemberKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_MbrGrpId( java.lang.Long ) setInitKey_MemberId( java.lang.Long )

MemberGroupMemberAccessBean

public MemberGroupMemberAccessBean(javax.ejb.EJBObject o)
                            throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

MemberGroupMemberAccessBean

public MemberGroupMemberAccessBean(java.lang.Long aMbrGrpId,
                                   java.lang.Long aMemberId)
                            throws javax.naming.NamingException,
                                   javax.ejb.CreateException,
                                   java.rmi.RemoteException,
                                   javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
aMbrGrpId - java.lang.Long
aMemberId - java.lang.Long
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

MemberGroupMemberAccessBean

public MemberGroupMemberAccessBean(java.lang.Long aMbrGrpId,
                                   java.lang.Long aMemberId,
                                   java.lang.String aExclude)
                            throws javax.naming.NamingException,
                                   javax.ejb.CreateException,
                                   java.rmi.RemoteException,
                                   javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
aMbrGrpId - java.lang.Long
aMemberId - java.lang.Long
aExclude - java.lang.String
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
Method Detail

findByGroupMember

public MemberGroupMemberAccessBean findByGroupMember(java.lang.Long anMemberGroupReferenceNumber,
                                                     java.lang.Long anMemberReferenceNumber)
                                              throws java.rmi.RemoteException,
                                                     javax.ejb.FinderException,
                                                     javax.naming.NamingException

The SQL is "SELECT * FROM MBRGRPMBR T1 WHERE (T1.MBRGRP_ID = ?) AND (T1.MEMBER_ID = ?)".

Parameters:
anMemberGroupReferenceNumber - java.lang.Long
anMemberReferenceNumber - java.lang.Long
Returns:
com.ibm.commerce.user.objects.MemberGroupMemberAccessBean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findAllGroupMember

public java.util.Enumeration findAllGroupMember(java.lang.Long anMemberGroupId)
                                         throws java.rmi.RemoteException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

The SQL is "SELECT * FROM MBRGRPMBR T1 WHERE (T1.MBRGRP_ID = ?)"

Parameters:
anMemberGroupId - java.lang.Long
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findAllStoreGroupMember

public java.util.Enumeration findAllStoreGroupMember(java.lang.Integer anStoreId,
                                                     java.lang.Long anMemberId)
                                              throws java.rmi.RemoteException,
                                                     javax.ejb.FinderException,
                                                     javax.naming.NamingException

The SQL is "SELECT * FROM MBRGRPMBR T1 WHERE (T1.EXCLUDE = '0') AND (T1.MBRGRP_ID = ANY (SELECT STOREMBRGP.MBRGRP_ID FROM STOREMBRGP WHERE STOREMBRGP.STORE_ID = ?)) AND (T1.MEMBER_ID = ?)"

Parameters:
anStoreId - java.lang.Integer
anMemberId - java.lang.Long
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByMember

public java.util.Enumeration findByMember(java.lang.Long anMemberId)
                                   throws java.rmi.RemoteException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

The SQL is "SELECT * FROM MBRGRPMBR T1 WHERE (T1.MEMBER_ID = ?)"

Parameters:
anMemberId - java.lang.Long
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByStoreAndMember

public java.util.Enumeration findByStoreAndMember(java.lang.Integer anStoreId,
                                                  java.lang.Long anMemberId)
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

The SQL is "SELECT * FROM MBRGRPMBR T1 WHERE (T1.EXCLUDE = '0') AND (T1.MBRGRP_ID = ANY (SELECT STOREMBRGP.MBRGRP_ID FROM STOREMBRGP WHERE STOREMBRGP.STORE_ID = ?)) AND (T1.MEMBER_ID = ?)"

Parameters:
anStoreId - java.lang.Integer
anMemberId - java.lang.Long
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

setInitKey_MbrGrpId

public void setInitKey_MbrGrpId(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

setInitKey_MemberId

public void setInitKey_MemberId(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getExclude

public java.lang.String getExclude()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the MBRGRPMBR.EXCLUDE column of DB2 type CHAR(1) NOT NULL DEFAULT '0'.

The following is a description of this column:

Member excluded indicator. Valid values are as follows:&l

Specified by:
getExclude in interface MemberGroupMemberAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setExclude

public void setExclude(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setExclude in interface MemberGroupMemberAccessBeanData

getField1

public java.lang.String getField1()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the MBRGRPMBR.FIELD1 column of DB2 type VARCHAR(254).

The following is a description of this column:

Customizable.

Specified by:
getField1 in interface MemberGroupMemberAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField1

public void setField1(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField1 in interface MemberGroupMemberAccessBeanData

getMbrGrpId

public java.lang.String getMbrGrpId()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the MBRGRPMBR.MBRGRP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to the MBRGRP table for this member group. This can be used for the MCSGNBR column in the MCUSTINFO table, which was used in previous versions of WebSphere Commerce or WebSphere Commerce Suite.

Specified by:
getMbrGrpId in interface MemberGroupMemberAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMbrGrpIdInEJBType

public java.lang.Long getMbrGrpIdInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the MBRGRPMBR.MBRGRP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to the MBRGRP table for this member group. This can be used for the MCSGNBR column in the MCUSTINFO table, which was used in previous versions of WebSphere Commerce or WebSphere Commerce Suite.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMbrGrpId

public void setMbrGrpId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setMbrGrpId in interface MemberGroupMemberAccessBeanData

setMbrGrpId

public void setMbrGrpId(java.lang.Long newValue)
This method accesses a non-CMP field

getMemberId

public java.lang.String getMemberId()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the MBRGRPMBR.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to the MEMBER table for the group member. This can be used for the MCSHNBR column in the MCUSTINFO table, which was used in previous versions of WebSphere Commerce or WebSphere Commerce Suite.

Specified by:
getMemberId in interface MemberGroupMemberAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMemberIdInEJBType

public java.lang.Long getMemberIdInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the MBRGRPMBR.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to the MEMBER table for the group member. This can be used for the MCSHNBR column in the MCUSTINFO table, which was used in previous versions of WebSphere Commerce or WebSphere Commerce Suite.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMemberId

public void setMemberId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setMemberId in interface MemberGroupMemberAccessBeanData

setMemberId

public void setMemberId(java.lang.Long newValue)
This method accesses a non-CMP field

getCustomerId

public java.lang.String getCustomerId()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the MBRGRPMBR.CUSTOMERID column of DB2 type VARCHAR(30).

The following is a description of this column:

Customizable.

Specified by:
getCustomerId in interface MemberGroupMemberAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCustomerId

public void setCustomerId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setCustomerId in interface MemberGroupMemberAccessBeanData

Feedback