com.ibm.commerce.user.objects
Class MemberGroupTypeAccessBean

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

public class MemberGroupTypeAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements MemberGroupTypeAccessBeanData

This bean provides access to the MBRGRPTYPE table.

The following is a description of this table:

This table stores intended usages that can be associated with member groups.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
MemberGroupTypeAccessBean()
          Default constructor.
MemberGroupTypeAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
MemberGroupTypeAccessBean(com.ibm.commerce.user.objimpl.MemberGroupTypeInputData aMemberGroupTypeInputData)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
MemberGroupTypeAccessBean(java.lang.String aName)
          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 findAll()
          The SQL is "SELECT * FROM MBRGRPTYPE T1 WHERE "1 = 1".
 MemberGroupTypeAccessBean findByName(java.lang.String aName)
          The SQL is "SELECT * FROM MBRGRPTYPE T1 WHERE (T1.NAME = ?)"
 java.lang.String getDescription()
          Description of the member group type.
 java.lang.String getMbrGrpTypeId()
          This method provides access to the MBRGRPTYPE.MBRGRPTYPE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getMbrGrpTypeIdInEJBType()
          This method provides access to the MBRGRPTYPE.MBRGRPTYPE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getName()
          Name of the member group type E.g., .
 java.lang.String getProperties()
          This method provides access to the MBRGRPTYPE.PROPERTIES column of DB2 type VARCHAR(254) NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDescription(java.lang.String aDescription)
          Set the description of the member group type.
 void setInitKey_MbrGrpTypeId(java.lang.String aInitKey_MbrGrpTypeId)
          Set the primary key for this object
 void setName(java.lang.String aName)
          Set the name of the member group type E.g., AccessGroup, CustomerGroup.
 void setProperties(java.lang.String aProperties)
          This method provides access to the MBRGRPTYPE.PROPERTIES column of DB2 type VARCHAR(254) 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

MemberGroupTypeAccessBean

public MemberGroupTypeAccessBean()

Default constructor. Maps to findByPrimaryKey.


MemberGroupTypeAccessBean

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

MemberGroupTypeAccessBean

public MemberGroupTypeAccessBean(com.ibm.commerce.user.objimpl.MemberGroupTypeInputData aMemberGroupTypeInputData)
                          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:
aMemberGroupTypeInputData - com.ibm.commerce.user.objimpl.MemberGroupTypeInputData
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

MemberGroupTypeAccessBean

public MemberGroupTypeAccessBean(java.lang.String aName)
                          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:
aName - 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

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

findAll

public java.util.Enumeration findAll()
                              throws java.rmi.RemoteException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

The SQL is "SELECT * FROM MBRGRPTYPE T1 WHERE "1 = 1".

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

findByName

public MemberGroupTypeAccessBean findByName(java.lang.String aName)
                                     throws java.rmi.RemoteException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

The SQL is "SELECT * FROM MBRGRPTYPE T1 WHERE (T1.NAME = ?)"

Parameters:
aName - java.lang.String
Returns:
com.ibm.commerce.user.objects.MemberGroupTypeAccessBean
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

getDescription

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

Description of the member group type.

Specified by:
getDescription in interface MemberGroupTypeAccessBeanData
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

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 MBRGRPTYPE.MBRGRPTYPE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Primary key, internally generated.

Specified by:
getMbrGrpTypeId in interface MemberGroupTypeAccessBeanData
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 MBRGRPTYPE.MBRGRPTYPE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Primary key, internally generated.

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

getName

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

Name of the member group type E.g., . AccessGroup, CustomerGroup.

Specified by:
getName in interface MemberGroupTypeAccessBeanData
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

getProperties

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

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

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getProperties in interface MemberGroupTypeAccessBeanData
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

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

setDescription

public void setDescription(java.lang.String aDescription)

Set the description of the member group type.

Specified by:
setDescription in interface MemberGroupTypeAccessBeanData
Parameters:
aDescription - 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

setName

public void setName(java.lang.String aName)

Set the name of the member group type E.g., AccessGroup, CustomerGroup.

Specified by:
setName in interface MemberGroupTypeAccessBeanData
Parameters:
aName - java.lang.String
Returns:
void

setProperties

public void setProperties(java.lang.String aProperties)

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

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
setProperties in interface MemberGroupTypeAccessBeanData
Parameters:
aProperties - java.lang.String
Returns:
void