com.ibm.commerce.user.objects
Class MemberGroupUsageAccessBean

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

public class MemberGroupUsageAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements MemberGroupUsageAccessBeanData

This bean provides access to the MBRGRPUSG table.

The following is a description of this table:

This table allows a member group to be associated with multiple member group types (or multiple intended usages).

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
MemberGroupUsageAccessBean()
          Default constructor.
MemberGroupUsageAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
MemberGroupUsageAccessBean(java.lang.Long aMbrGrpId, java.lang.Integer aMbrGrpTypeId)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
MemberGroupUsageAccessBean(com.ibm.commerce.user.objimpl.MemberGroupUsageInputData aMemberGroupUsageInputData)
          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 findRoleGroupTypeByMemberGroup(java.lang.Long aMemberGroupId)
          The SQL is "SELECT * FROM MBRGRPUSG WHERE (T1.MBRGRP_ID = ? AND T1.MBRGRPTYPE_ID = -2)".
 java.lang.String getField1()
          This method provides access to the MBRGRPUSG.FIELD1 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getMbrGrpId()
          This method provides access to the MBRGRPUSG.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getMbrGrpIdInEJBType()
          This method provides access to the MBRGRPUSG.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getMbrGrpTypeId()
          This method provides access to the MBRGRPUSG.MBRGRPTYPE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getMbrGrpTypeIdInEJBType()
          This method provides access to the MBRGRPUSG.MBRGRPTYPE_ID column of DB2 type INTEGER NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setField1(java.lang.String aField1)
          This method provides access to the MBRGRPUSG.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_MbrGrpTypeId(java.lang.String aInitKey_MbrGrpTypeId)
          Set the primary key for this object
 void setMbrGrpId(java.lang.Long aMbrGrpId)
          This method provides access to the MBRGRPUSG.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
 void setMbrGrpId(java.lang.String aMbrGrpId)
          This method provides access to the MBRGRPUSG.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
 void setMbrGrpTypeId(java.lang.Integer aMbrGrpTypeId)
          This method provides access to the MBRGRPUSG.MBRGRPTYPE_ID column of DB2 type INTEGER NOT NULL.
 void setMbrGrpTypeId(java.lang.String aMbrGrpTypeId)
          This method provides access to the MBRGRPUSG.MBRGRPTYPE_ID column of DB2 type INTEGER 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

MemberGroupUsageAccessBean

public MemberGroupUsageAccessBean()

Default constructor. Maps to findByPrimaryKey.


MemberGroupUsageAccessBean

public MemberGroupUsageAccessBean(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

MemberGroupUsageAccessBean

public MemberGroupUsageAccessBean(java.lang.Long aMbrGrpId,
                                  java.lang.Integer aMbrGrpTypeId)
                           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
aMbrGrpTypeId - java.lang.Integer
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

MemberGroupUsageAccessBean

public MemberGroupUsageAccessBean(com.ibm.commerce.user.objimpl.MemberGroupUsageInputData aMemberGroupUsageInputData)
                           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:
aMemberGroupUsageInputData - com.ibm.commerce.user.objimpl.MemberGroupUsageInputData
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

findRoleGroupTypeByMemberGroup

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

The SQL is "SELECT * FROM MBRGRPUSG WHERE (T1.MBRGRP_ID = ? AND T1.MBRGRPTYPE_ID = -2)".

Parameters:
aMemberGroupId - 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

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 MBRGRPUSG.FIELD1 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getField1 in interface MemberGroupUsageAccessBeanData
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 MBRGRPUSG.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 column can be used for the MCSGNBR column in the MCUSTINFO table.

Specified by:
getMbrGrpId in interface MemberGroupUsageAccessBeanData
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 MBRGRPUSG.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 column can be used for the MCSGNBR column in the MCUSTINFO table.

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

getMbrGrpTypeId

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

This method provides access to the MBRGRPUSG.MBRGRPTYPE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Foreign key to the MBRGRPTYPE table.

Specified by:
getMbrGrpTypeId in interface MemberGroupUsageAccessBeanData
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

getMbrGrpTypeIdInEJBType

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

This method provides access to the MBRGRPUSG.MBRGRPTYPE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Foreign key to the MBRGRPTYPE table.

Returns:
java.lang.Integer
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

setField1

public void setField1(java.lang.String aField1)

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

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
setField1 in interface MemberGroupUsageAccessBeanData
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_MbrGrpTypeId

public void setInitKey_MbrGrpTypeId(java.lang.String aInitKey_MbrGrpTypeId)

Set the primary key for this object

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

setMbrGrpId

public void setMbrGrpId(java.lang.Long aMbrGrpId)

This method provides access to the MBRGRPUSG.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 column can be used for the MCSGNBR column in the MCUSTINFO table.

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

setMbrGrpId

public void setMbrGrpId(java.lang.String aMbrGrpId)

This method provides access to the MBRGRPUSG.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 column can be used for the MCSGNBR column in the MCUSTINFO table.

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

setMbrGrpTypeId

public void setMbrGrpTypeId(java.lang.Integer aMbrGrpTypeId)

This method provides access to the MBRGRPUSG.MBRGRPTYPE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Foreign key to the MBRGRPTYPE table.

Parameters:
aMbrGrpTypeId - java.lang.Integer
Returns:
void

setMbrGrpTypeId

public void setMbrGrpTypeId(java.lang.String aMbrGrpTypeId)

This method provides access to the MBRGRPUSG.MBRGRPTYPE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Foreign key to the MBRGRPTYPE table.

Specified by:
setMbrGrpTypeId in interface MemberGroupUsageAccessBeanData
Parameters:
aMbrGrpTypeId - java.lang.String
Returns:
void