com.ibm.commerce.user.objects
Class MemberViewPreferenceAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.user.objects.MemberViewPreferenceAccessBean
All Implemented Interfaces:
MemberViewPreferenceAccessBeanData

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

This table stores view preferences for members. This access bean corresponds to the database table 'MBRVIEWPRF'.

See Also:
Serialized Form

Constructor Summary
MemberViewPreferenceAccessBean()
Zero argument constructor used to initialize the access bean.
MemberViewPreferenceAccessBean(javax.ejb.EJBObject o)
constructor
MemberViewPreferenceAccessBean(java.lang.Long arg1, java.lang.String arg2)
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).
protected java.lang.String defaultJNDIName()
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()
This method provides access to the MBRVIEWPRF.PREFERENCE column of DB2 type BIGINT.
java.lang.Long getPreferenceInEJBType()
This method provides access to the MBRVIEWPRF.PREFERENCE column of DB2 type BIGINT.
java.lang.String getViewName()
This method provides access to the MBRVIEWPRF.VIEWNAME column of DB2 type VARCHAR(254) NOT NULL.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setInitKey_MemberId(java.lang.String newValue)
Set the primary key for this object
void setInitKey_ViewName(java.lang.String newValue)
Set the primary key for this object
void setMemberId(java.lang.Long newValue)
This method accesses a non-CMP field
void setMemberId(java.lang.String newValue)
This method accesses a non-CMP field
void setPreference(java.lang.Long newValue)
This method accesses a non-CMP field
void setPreference(java.lang.String newValue)
This method accesses a non-CMP field
void setViewName(java.lang.String newValue)
This method accesses a non-CMP field
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

MemberViewPreferenceAccessBean

public MemberViewPreferenceAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.user.objects.MemberViewPreference com.ibm.commerce.user.objimpl.MemberViewPreferenceHomeBase.findByPrimaryKey(com.ibm.commerce.user.objects.MemberViewPreferenceKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_MemberId( java.lang.Long ) setInitKey_ViewName( java.lang.String )

MemberViewPreferenceAccessBean

public MemberViewPreferenceAccessBean(javax.ejb.EJBObject o)
                               throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

MemberViewPreferenceAccessBean

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

setInitKey_MemberId

public void setInitKey_MemberId(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_ViewName

public void setInitKey_ViewName(java.lang.String newValue)

Set the primary key for this object

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

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

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

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

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

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setViewName

public void setViewName(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setViewName in interface MemberViewPreferenceAccessBeanData

getPreference

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

This method provides access to the MBRVIEWPRF.PREFERENCE column of DB2 type BIGINT.

The following is a description of this column:

Foreign key to USERPVCDEV_ID in USERPVCDEV table.

Specified by:
getPreference in interface MemberViewPreferenceAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getPreferenceInEJBType

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

This method provides access to the MBRVIEWPRF.PREFERENCE column of DB2 type BIGINT.

The following is a description of this column:

Foreign key to USERPVCDEV_ID in USERPVCDEV table.

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

setPreference

public void setPreference(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setPreference in interface MemberViewPreferenceAccessBeanData

setPreference

public void setPreference(java.lang.Long newValue)
This method accesses a non-CMP field

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:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMemberId

public void setMemberId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setMemberId in interface MemberViewPreferenceAccessBeanData

setMemberId

public void setMemberId(java.lang.Long newValue)
This method accesses a non-CMP field

Feedback