com.ibm.commerce.user.objects
Class UserProfileAccessBean

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

public class UserProfileAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements UserProfileAccessBeanData

This table contains basic registered user profile information. This access bean corresponds to the database table 'USERPROF'.

See Also:
Serialized Form

Constructor Summary
UserProfileAccessBean()
Zero argument constructor used to initialize the access bean.
UserProfileAccessBean(javax.ejb.EJBObject o)
constructor
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
java.lang.String getDescription()
This method accesses a non-CMP field
java.lang.String getDisplayName()
This method provides access to the USERPROF.DISPLAYNAME column of DB2 type VARCHAR(128).
java.lang.String getPhoto()
This method provides access to the USERPROF.PHOTO column of DB2 type VARCHAR(254).
java.lang.String getPreferredCommunication()
This method provides access to the USERPROF.PREFERREDCOMM column of DB2 type CHAR(2).
java.lang.String getPreferredDelivery()
This method provides access to the USERPROF.PREFERREDDELIVERY column of DB2 type VARCHAR(1000).
java.lang.String getPreferredMeasure()
This method provides access to the USERPROF.PREFERREDMEASURE column of DB2 type CHAR(15).
java.lang.String getTaxPayerId()
This method provides access to the USERPROF.TAXPAYERID column of DB2 type VARCHAR(254).
java.lang.String getUserId()
This method provides access to the USERPROF.USERS_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getUserIdInEJBType()
This method provides access to the USERPROF.USERS_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getUserProfileField1()
This method accesses a non-CMP field
java.lang.String getUserProfileField2()
This method accesses a non-CMP field
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setDescription(java.lang.String newValue)
This method accesses a non-CMP field
void setDisplayName(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_UserId(java.lang.String newValue)
Set the primary key for this object
void setPhoto(java.lang.String newValue)
This method accesses a non-CMP field
void setPreferredCommunication(java.lang.String newValue)
This method accesses a non-CMP field
void setPreferredDelivery(java.lang.String newValue)
This method accesses a non-CMP field
void setPreferredMeasure(java.lang.String newValue)
This method accesses a non-CMP field
void setTaxPayerId(java.lang.String newValue)
This method accesses a non-CMP field
void setUserProfileField1(java.lang.String newValue)
This method accesses a non-CMP field
void setUserProfileField2(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

UserProfileAccessBean

public UserProfileAccessBean()
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.UserProfile com.ibm.commerce.user.objimpl.UserProfileHomeBase.findByPrimaryKey(com.ibm.commerce.user.objects.UserProfileKey) 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_UserId( java.lang.Long )

UserProfileAccessBean

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

setInitKey_UserId

public void setInitKey_UserId(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

getDescription

public java.lang.String getDescription()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getDescription in interface UserProfileAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDescription

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

getTaxPayerId

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

This method provides access to the USERPROF.TAXPAYERID column of DB2 type VARCHAR(254).

The following is a description of this column:

A string used to identify the user for taxation purpose. Addition of this column triggered by Taxware integration, but presumably this column is useful even outside of Taxware.

Specified by:
getTaxPayerId in interface UserProfileAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTaxPayerId

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

getUserId

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

This method provides access to the USERPROF.USERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key relationship to the USERS table for this registered user.

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

getUserIdInEJBType

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

This method provides access to the USERPROF.USERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key relationship to the USERS table for this registered user.

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

getPreferredMeasure

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

This method provides access to the USERPROF.PREFERREDMEASURE column of DB2 type CHAR(15).

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getPreferredMeasure in interface UserProfileAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPreferredMeasure

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

getUserProfileField2

public java.lang.String getUserProfileField2()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getUserProfileField2 in interface UserProfileAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setUserProfileField2

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

getUserProfileField1

public java.lang.String getUserProfileField1()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getUserProfileField1 in interface UserProfileAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setUserProfileField1

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

getPhoto

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

This method provides access to the USERPROF.PHOTO column of DB2 type VARCHAR(254).

The following is a description of this column:

A location for the photograph of the user.

Specified by:
getPhoto in interface UserProfileAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPhoto

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

getPreferredDelivery

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

This method provides access to the USERPROF.PREFERREDDELIVERY column of DB2 type VARCHAR(1000).

The following is a description of this column:

Preferred delivery method.

Specified by:
getPreferredDelivery in interface UserProfileAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPreferredDelivery

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

getPreferredCommunication

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

This method provides access to the USERPROF.PREFERREDCOMM column of DB2 type CHAR(2).

The following is a description of this column:

Preferred method of communication by phone. Valid values are as follows: &l

Specified by:
getPreferredCommunication in interface UserProfileAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPreferredCommunication

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

getDisplayName

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

This method provides access to the USERPROF.DISPLAYNAME column of DB2 type VARCHAR(128).

The following is a description of this column:

Display name of the entry. This is a name used in displaying an entry in a one line summary list.

Specified by:
getDisplayName in interface UserProfileAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDisplayName

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

Feedback