com.ibm.commerce.user.objects
Class MemberGroupMemberAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.user.objects.MemberGroupMemberAccessBean
All Implemented Interfaces:
MemberGroupMemberAccessBeanData, java.io.Serializable

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

This bean provides access to the MBRGRPMBR table.

The following is a description of this table:

This table contains members that are explicitly included in a member group.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
MemberGroupMemberAccessBean()
          Default constructor.
MemberGroupMemberAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
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
MemberGroupMemberAccessBean(com.ibm.commerce.user.objimpl.MemberGroupMemberInputData aMemberGroupMemberInputData)
          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 findAllGroupMember(java.lang.Long aMrbGrpId)
          The SQL is "SELECT * FROM MBRGRPMBR T1 WHERE (T1.MBRGRP_ID = ?)"
 java.util.Enumeration findAllStoreGroupMember(java.lang.Integer aStoreId, java.lang.Long aMemberId)
          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 aMbrGrpId, java.lang.Long aMemberId)
          The SQL is "SELECT * FROM MBRGRPMBR T1 WHERE (T1.MBRGRP_ID = ?) AND (T1.MEMBER_ID = ?)".
 java.util.Enumeration findByMember(java.lang.Long aMember)
          The SQL is "SELECT * FROM MBRGRPMBR T1 WHERE (T1.MEMBER_ID = ?)"
 java.util.Enumeration findByStoreAndMember(java.lang.Integer aStore, java.lang.Long aMember)
          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) NULL.
 java.lang.String getExclude()
          This method provides access to the MBRGRPMBR.EXCLUDE column of DB2 type CHAR(1) NOT NULL.
 java.lang.String getField1()
          This method provides access to the MBRGRPMBR.FIELD1 column of DB2 type VARCHAR(254) NULL.
 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.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCustomerId(java.lang.String aCustomerId)
          This method provides access to the MBRGRPMBR.CUSTOMERID column of DB2 type VARCHAR(30) NULL.
 void setExclude(java.lang.String aExclude)
          This method provides access to the MBRGRPMBR.EXCLUDE column of DB2 type CHAR(1) NOT NULL.
 void setField1(java.lang.String aField1)
          This method provides access to the MBRGRPMBR.FIELD1 column of DB2 type VARCHAR(254) NULL.
 void setInitKey_MbrGrpId(java.lang.String aInitKey_MbrGrpId)
          Set the primary key for this object
 void setInitKey_MemberId(java.lang.String aInitKey_MemberId)
          Set the primary key for this object
 void setMbrGrpId(java.lang.Long aMbrGrpId)
          This method provides access to the MBRGRPMBR.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
 void setMbrGrpId(java.lang.String aMbrGrpId)
          This method provides access to the MBRGRPMBR.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
 void setMemberId(java.lang.Long aMemberId)
          This method provides access to the MBRGRPMBR.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setMemberId(java.lang.String aMemberId)
          This method provides access to the MBRGRPMBR.MEMBER_ID column of DB2 type BIGINT 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

MemberGroupMemberAccessBean

public MemberGroupMemberAccessBean()

Default constructor. Maps to findByPrimaryKey.


MemberGroupMemberAccessBean

public MemberGroupMemberAccessBean(javax.ejb.EJBObject object)
                            throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
object - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

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

MemberGroupMemberAccessBean

public MemberGroupMemberAccessBean(com.ibm.commerce.user.objimpl.MemberGroupMemberInputData aMemberGroupMemberInputData)
                            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:
aMemberGroupMemberInputData - com.ibm.commerce.user.objimpl.MemberGroupMemberInputData
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

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).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findAllGroupMember

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

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

Parameters:
aMrbGrpId - 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 - The javax.naming.NamingException exception

findAllStoreGroupMember

public java.util.Enumeration findAllStoreGroupMember(java.lang.Integer aStoreId,
                                                     java.lang.Long aMemberId)
                                              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:
aStoreId - java.lang.Integer
aMemberId - 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 - The javax.naming.NamingException exception

findByGroupMember

public MemberGroupMemberAccessBean findByGroupMember(java.lang.Long aMbrGrpId,
                                                     java.lang.Long aMemberId)
                                              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:
aMbrGrpId - java.lang.Long
aMemberId - 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 - The javax.naming.NamingException exception

findByMember

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

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

Parameters:
aMember - 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 - The javax.naming.NamingException exception

findByStoreAndMember

public java.util.Enumeration findByStoreAndMember(java.lang.Integer aStore,
                                                  java.lang.Long aMember)
                                           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:
aStore - java.lang.Integer
aMember - 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 - The javax.naming.NamingException exception

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) NULL.

The following is a description of this column:

Customizable.

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

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.

The following is a description of this column:

Member excluded indicator where "1"=Excluded and "0"=Included.

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

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) NULL.

The following is a description of this column:

Customizable.

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

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 Suite.

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

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 Suite.

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

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 Suite.

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

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 Suite.

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

refreshCopyHelper

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

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setCustomerId

public void setCustomerId(java.lang.String aCustomerId)

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

The following is a description of this column:

Customizable.

Specified by:
setCustomerId in interface MemberGroupMemberAccessBeanData
Parameters:
aCustomerId - java.lang.String
Returns:
void

setExclude

public void setExclude(java.lang.String aExclude)

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

The following is a description of this column:

Member excluded indicator where "1"=Excluded and "0"=Included.

Specified by:
setExclude in interface MemberGroupMemberAccessBeanData
Parameters:
aExclude - java.lang.String
Returns:
void

setField1

public void setField1(java.lang.String aField1)

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

The following is a description of this column:

Customizable.

Specified by:
setField1 in interface MemberGroupMemberAccessBeanData
Parameters:
aField1 - java.lang.String
Returns:
void

setInitKey_MbrGrpId

public void setInitKey_MbrGrpId(java.lang.String aInitKey_MbrGrpId)

Set the primary key for this object

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

setInitKey_MemberId

public void setInitKey_MemberId(java.lang.String aInitKey_MemberId)

Set the primary key for this object

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

setMbrGrpId

public void setMbrGrpId(java.lang.Long aMbrGrpId)

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 Suite.

Parameters:
aMbrGrpId - java.lang.Long
Returns:
void

setMbrGrpId

public void setMbrGrpId(java.lang.String aMbrGrpId)

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 Suite.

Specified by:
setMbrGrpId in interface MemberGroupMemberAccessBeanData
Parameters:
aMbrGrpId - java.lang.String
Returns:
void

setMemberId

public void setMemberId(java.lang.Long aMemberId)

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 Suite.

Parameters:
aMemberId - java.lang.Long
Returns:
void

setMemberId

public void setMemberId(java.lang.String aMemberId)

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 Suite.

Specified by:
setMemberId in interface MemberGroupMemberAccessBeanData
Parameters:
aMemberId - java.lang.String
Returns:
void