com.ibm.commerce.user.objects
Class UserProfileAccessBean

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

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

This bean provides access to the USERDEMO table.

The following is a description of this table:

This table stores demographics information for users.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
UserProfileAccessBean()
          Default constructor.
UserProfileAccessBean(javax.ejb.EJBObject Object)
          Creates an access bean for the specified EJB
UserProfileAccessBean(java.util.Hashtable aProperties)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
UserProfileAccessBean(java.lang.Long aUserId)
          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 getDescription()
          Description of the user.
 java.lang.String getDisplayName()
          Display name of the entry A name used in displaying an entry in a one line summary list.
 java.lang.String getPhoto()
          A location for the photograph of the user.
 java.lang.String getPreferredCommunication()
          Preferred method of communication by phone.
 java.lang.String getPreferredDelivery()
          Preferred delivery method.
 java.lang.String getPreferredMeasure()
          Preferred measurement system.
 java.lang.String getTaxPayerId()
          The Id of the user for taxation purpose.
 java.lang.String getUserId()
          This method provides access to the USERDEMO.USERS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getUserIdInEJBType()
          This method provides access to the USERDEMO.USERS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getUserProfileField1()
          The user profile field 1.
 java.lang.String getUserProfileField2()
          The user profile field 2.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDescription(java.lang.String aDescription)
          Set description of the user.
 void setDisplayName(java.lang.String aDisplayName)
          Set the display name of the entry A name used in displaying an entry in a one line summary list.
 void setInitKey_UserId(java.lang.String aInitKey_UserId)
          Set the primary key for this object
 void setPhoto(java.lang.String aPhoto)
          Set a location for the photograph of the user.
 void setPreferredCommunication(java.lang.String aPreferredCommunication)
          Set preferred method of communication by phone.
 void setPreferredDelivery(java.lang.String aPreferredDelivery)
          Set preferred delivery method.
 void setPreferredMeasure(java.lang.String aPreferredMeasure)
          Set the preferred measurement system.
 void setTaxPayerId(java.lang.String aTaxPayerId)
          Set the identify of the user for taxation purpose.
 void setUserProfileField1(java.lang.String aUserProfileField1)
          Set the user profile field 1.
 void setUserProfileField2(java.lang.String aUserProfileField2)
          Set the user profile field 2.
 
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

UserProfileAccessBean

public UserProfileAccessBean()

Default constructor. Maps to findByPrimaryKey.


UserProfileAccessBean

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

UserProfileAccessBean

public UserProfileAccessBean(java.util.Hashtable aProperties)
                      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:
aProperties - java.util.Hashtable
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

UserProfileAccessBean

public UserProfileAccessBean(java.lang.Long aUserId)
                      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:
aUserId - java.lang.Long
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

getDescription

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

Description of the user.

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

getDisplayName

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

Display name of the entry 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 - 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

getPhoto

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

A location for the photograph of the user.

Specified by:
getPhoto in interface UserProfileAccessBeanData
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

getPreferredCommunication

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

Preferred method of communication by phone.

Specified by:
getPreferredCommunication in interface UserProfileAccessBeanData
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

getPreferredDelivery

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

Preferred delivery method.

Specified by:
getPreferredDelivery in interface UserProfileAccessBeanData
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

getPreferredMeasure

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

Preferred measurement system.

Specified by:
getPreferredMeasure in interface UserProfileAccessBeanData
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

getTaxPayerId

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

The Id of the user for taxation purpose.

Specified by:
getTaxPayerId in interface UserProfileAccessBeanData
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

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

The following is a description of this column:

Foreign key to the USER table for the member (user) who is associated with this demographical information.

Specified by:
getUserId in interface UserProfileAccessBeanData
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

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

The following is a description of this column:

Foreign key to the USER table for the member (user) who is associated with this demographical information.

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

getUserProfileField1

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

The user profile field 1. Reserved for customization.

Specified by:
getUserProfileField1 in interface UserProfileAccessBeanData
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

getUserProfileField2

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

The user profile field 2. Reserved for customization.

Specified by:
getUserProfileField2 in interface UserProfileAccessBeanData
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 description of the user.

Specified by:
setDescription in interface UserProfileAccessBeanData
Parameters:
aDescription - java.lang.String
Returns:
void

setDisplayName

public void setDisplayName(java.lang.String aDisplayName)

Set the display name of the entry A name used in displaying an entry in a one line summary list.

Specified by:
setDisplayName in interface UserProfileAccessBeanData
Parameters:
aDisplayName - java.lang.String
Returns:
void

setInitKey_UserId

public void setInitKey_UserId(java.lang.String aInitKey_UserId)

Set the primary key for this object

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

setPhoto

public void setPhoto(java.lang.String aPhoto)

Set a location for the photograph of the user.

Specified by:
setPhoto in interface UserProfileAccessBeanData
Parameters:
aPhoto - java.lang.String
Returns:
void

setPreferredCommunication

public void setPreferredCommunication(java.lang.String aPreferredCommunication)

Set preferred method of communication by phone.

Specified by:
setPreferredCommunication in interface UserProfileAccessBeanData
Parameters:
aPreferredCommunication - java.lang.String
Returns:
void

setPreferredDelivery

public void setPreferredDelivery(java.lang.String aPreferredDelivery)

Set preferred delivery method.

Specified by:
setPreferredDelivery in interface UserProfileAccessBeanData
Parameters:
aPreferredDelivery - java.lang.String
Returns:
void

setPreferredMeasure

public void setPreferredMeasure(java.lang.String aPreferredMeasure)

Set the preferred measurement system.

Specified by:
setPreferredMeasure in interface UserProfileAccessBeanData
Parameters:
aPreferredMeasure - java.lang.String
Returns:
void

setTaxPayerId

public void setTaxPayerId(java.lang.String aTaxPayerId)

Set the identify of the user for taxation purpose.

Specified by:
setTaxPayerId in interface UserProfileAccessBeanData
Parameters:
aTaxPayerId - java.lang.String
Returns:
void

setUserProfileField1

public void setUserProfileField1(java.lang.String aUserProfileField1)

Set the user profile field 1. Reserved for customization.

Specified by:
setUserProfileField1 in interface UserProfileAccessBeanData
Parameters:
aUserProfileField1 - java.lang.String
Returns:
void

setUserProfileField2

public void setUserProfileField2(java.lang.String aUserProfileField2)

Set the user profile field 2. Reserved for customization.

Specified by:
setUserProfileField2 in interface UserProfileAccessBeanData
Parameters:
aUserProfileField2 - java.lang.String
Returns:
void