com.ibm.commerce.user.objects
Class MemberViewPreferenceAccessBean

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

public class MemberViewPreferenceAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements MemberViewPreferenceAccessBeanData

This bean provides access to the MBRVIEWPRF table.

The following is a description of this table:

This table stores view preferences for members.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
MemberViewPreferenceAccessBean()
          Default constructor.
MemberViewPreferenceAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
MemberViewPreferenceAccessBean(java.lang.Long aMemberId, java.lang.String aViewName)
          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 getMemberId()
          This method provides access to the MBRVIEWPRF.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getMemberIdInEJBType()
          This method provides access to the MBRVIEWPRF.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getPreference()
          Foreign key to USERPVCDEV_ID in USERPVCDEV table.
 java.lang.Long getPreferenceInEJBType()
          Foreign key to USERPVCDEV_ID in USERPVCDEV table.
 java.lang.String getViewName()
          This method provides access to the MBRVIEWPRF.VIEWNAME column of DB2 type VARCHAR(254) NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setInitKey_MemberId(java.lang.String aInitKey_MemberId)
          Set the primary key for this object
 void setInitKey_ViewName(java.lang.String aInitKey_ViewName)
          Set the primary key for this object
 void setMemberId(java.lang.Long aMemberId)
          This method provides access to the MBRVIEWPRF.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setMemberId(java.lang.String aMemberId)
          This method provides access to the MBRVIEWPRF.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setPreference(java.lang.Long aPreference)
          Set the foreign key to USERPVCDEV_ID in USERPVCDEV table
 void setPreference(java.lang.String aPreference)
          Foreign key to USERPVCDEV_ID in USERPVCDEV table
 void setViewName(java.lang.String aViewName)
          This method provides access to the MBRVIEWPRF.VIEWNAME column of DB2 type VARCHAR(254) 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

MemberViewPreferenceAccessBean

public MemberViewPreferenceAccessBean()

Default constructor. Maps to findByPrimaryKey.


MemberViewPreferenceAccessBean

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

MemberViewPreferenceAccessBean

public MemberViewPreferenceAccessBean(java.lang.Long aMemberId,
                                      java.lang.String aViewName)
                               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:
aMemberId - java.lang.Long
aViewName - 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

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 MBRVIEWPRF.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID for the member, foreign key to the MEMBER table.

Specified by:
getMemberId in interface MemberViewPreferenceAccessBeanData
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 MBRVIEWPRF.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID for the member, foreign key to the MEMBER 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

getPreference

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

Foreign key to USERPVCDEV_ID in USERPVCDEV table.

Specified by:
getPreference in interface MemberViewPreferenceAccessBeanData
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

getPreferenceInEJBType

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

Foreign key to USERPVCDEV_ID in USERPVCDEV 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

getViewName

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

This method provides access to the MBRVIEWPRF.VIEWNAME column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

Corresponds to VIEWNAME column of VIEWREG table.

Specified by:
getViewName in interface MemberViewPreferenceAccessBeanData
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

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

setInitKey_ViewName

public void setInitKey_ViewName(java.lang.String aInitKey_ViewName)

Set the primary key for this object

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

setMemberId

public void setMemberId(java.lang.Long aMemberId)

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

The following is a description of this column:

ID for the member, foreign key to the MEMBER table.

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

setMemberId

public void setMemberId(java.lang.String aMemberId)

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

The following is a description of this column:

ID for the member, foreign key to the MEMBER table.

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

setPreference

public void setPreference(java.lang.Long aPreference)

Set the foreign key to USERPVCDEV_ID in USERPVCDEV table

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

setPreference

public void setPreference(java.lang.String aPreference)

Foreign key to USERPVCDEV_ID in USERPVCDEV table

Specified by:
setPreference in interface MemberViewPreferenceAccessBeanData
Parameters:
aPreference - java.lang.String
Returns:
void

setViewName

public void setViewName(java.lang.String aViewName)

This method provides access to the MBRVIEWPRF.VIEWNAME column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

Corresponds to VIEWNAME column of VIEWREG table.

Specified by:
setViewName in interface MemberViewPreferenceAccessBeanData
Parameters:
aViewName - java.lang.String
Returns:
void