com.ibm.commerce.common.objects
Class RecognizedMemberGroupAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.common.objects.RecognizedMemberGroupAccessBean
All Implemented Interfaces:
RecognizedMemberGroupAccessBeanData, java.io.Serializable

public class RecognizedMemberGroupAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements RecognizedMemberGroupAccessBeanData

This bean provides access to the STOREMBRGP table.

The following is a description of this table:

Each row of this table indicates that a Store recognizes a MemberGroup as a customer 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
RecognizedMemberGroupAccessBean()
          Default constructor.
RecognizedMemberGroupAccessBean(javax.ejb.EJBObject ejbObject)
          Creates an access bean for the specified EJB
RecognizedMemberGroupAccessBean(java.lang.Long aGroupId, java.lang.Integer aStoreId)
          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.lang.String getMemberGroupId()
          This method provides access to the STOREMBRGP.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getMemberGroupIdInEJBType()
          This method provides access to the STOREMBRGP.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getStoreId()
          This method provides access to the STOREMBRGP.STORE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getStoreIdInEJBType()
          This method provides access to the STOREMBRGP.STORE_ID column of DB2 type INTEGER NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setInitKey_memberGroupId(java.lang.String aInitKey_memberGroupId)
          Set the primary key for this object
 void setInitKey_storeId(java.lang.String aInitKey_storeId)
          Set the primary key for this object
 void setMemberGroupId(java.lang.Long aMemberGroupId)
          This method provides access to the STOREMBRGP.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
 void setMemberGroupId(java.lang.String aMemberGroupId)
          This method provides access to the STOREMBRGP.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
 void setStoreId(java.lang.Integer aStoreId)
          This method provides access to the STOREMBRGP.STORE_ID column of DB2 type INTEGER NOT NULL.
 void setStoreId(java.lang.String aStoreId)
          This method provides access to the STOREMBRGP.STORE_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

RecognizedMemberGroupAccessBean

public RecognizedMemberGroupAccessBean()

Default constructor. Maps to findByPrimaryKey.


RecognizedMemberGroupAccessBean

public RecognizedMemberGroupAccessBean(javax.ejb.EJBObject ejbObject)
                                throws java.rmi.RemoteException

Creates an access bean for the specified EJB

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

RecognizedMemberGroupAccessBean

public RecognizedMemberGroupAccessBean(java.lang.Long aGroupId,
                                       java.lang.Integer aStoreId)
                                throws javax.ejb.CreateException,
                                       java.rmi.RemoteException,
                                       javax.naming.NamingException

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

Creates an RecognizedMemberGroupAccessBean with the specified group id and store id

Parameters:
aGroupId - member group id
aStoreId - store id
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException 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

getMemberGroupId

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

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

The following is a description of this column:

The MemberGroup.

Specified by:
getMemberGroupId in interface RecognizedMemberGroupAccessBeanData
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

getMemberGroupIdInEJBType

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

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

The following is a description of this column:

The MemberGroup.

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

getStoreId

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

This method provides access to the STOREMBRGP.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The Store.

Specified by:
getStoreId in interface RecognizedMemberGroupAccessBeanData
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

getStoreIdInEJBType

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

This method provides access to the STOREMBRGP.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The Store.

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

setInitKey_memberGroupId

public void setInitKey_memberGroupId(java.lang.String aInitKey_memberGroupId)

Set the primary key for this object

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

setInitKey_storeId

public void setInitKey_storeId(java.lang.String aInitKey_storeId)

Set the primary key for this object

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

setMemberGroupId

public void setMemberGroupId(java.lang.Long aMemberGroupId)

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

The following is a description of this column:

The MemberGroup.

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

setMemberGroupId

public void setMemberGroupId(java.lang.String aMemberGroupId)

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

The following is a description of this column:

The MemberGroup.

Specified by:
setMemberGroupId in interface RecognizedMemberGroupAccessBeanData
Parameters:
aMemberGroupId - java.lang.String
Returns:
void

setStoreId

public void setStoreId(java.lang.Integer aStoreId)

This method provides access to the STOREMBRGP.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The Store.

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

setStoreId

public void setStoreId(java.lang.String aStoreId)

This method provides access to the STOREMBRGP.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The Store.

Specified by:
setStoreId in interface RecognizedMemberGroupAccessBeanData
Parameters:
aStoreId - java.lang.String
Returns:
void