com.ibm.commerce.pvcdevices.beans
Class UserPVCDeviceDataBean

java.lang.Object
  |
  +--com.ibm.commerce.pvcdevices.beansrc.UserPVCDeviceDataBeanBase
        |
        +--com.ibm.commerce.pvcdevices.beans.UserPVCDeviceDataBean

public class UserPVCDeviceDataBean
extends com.ibm.commerce.pvcdevices.beansrc.UserPVCDeviceDataBeanBase

A databean representing a user's PvC device. This is the information stored in the USERPVCDEV table.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          IBM Copyright notice field.
protected  CommandContext iCommandContext
           
protected  java.lang.String iDataBeanKeyUserPVCDeviceId
           
protected  TypedProperty iRequestProperties
           
 
Constructor Summary
UserPVCDeviceDataBean()
           
 
Method Summary
  CommandContext getCommandContext()
          Gets the command context set within this bean.
 java.lang.String getDataBeanKeyUserPVCDeviceId()
          Gets the user PvC device identifier.
  TypedProperty getRequestProperties()
          Gets the request property set within this bean.
 void populate()
          Retrieves the data from the USERPVCDEV table for the user and session identifier that is stored in the current session object of the request.
 void setCommandContext( CommandContext aCommandContext)
          Sets the command context within this bean.
 void setDataBeanKeyUserPVCDeviceId(java.lang.String aUserPVCDeviceId)
          Sets the user PvC device identiifer.
 void setRequestProperties( TypedProperty aRequestProperty)
          Sets the request property within this bean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM Copyright notice field.
See Also:
Constant Field Values

iCommandContext

protected CommandContext iCommandContext

iRequestProperties

protected TypedProperty iRequestProperties

iDataBeanKeyUserPVCDeviceId

protected java.lang.String iDataBeanKeyUserPVCDeviceId
Constructor Detail

UserPVCDeviceDataBean

public UserPVCDeviceDataBean()
Method Detail

getCommandContext

public CommandContext getCommandContext()
Gets the command context set within this bean.
Returns:
The command context.

getDataBeanKeyUserPVCDeviceId

public java.lang.String getDataBeanKeyUserPVCDeviceId()
Gets the user PvC device identifier.
Returns:
The user PvC device identifier.

getRequestProperties

public TypedProperty getRequestProperties()
Gets the request property set within this bean.
Returns:
The request properties of the databean.

populate

public void populate()
              throws java.lang.Exception
Retrieves the data from the USERPVCDEV table for the user and session identifier that is stored in the current session object of the request.
Throws:
java.lang.Exception - if there is a problem retrieving the data from the database.

setCommandContext

public void setCommandContext(CommandContext aCommandContext)
Sets the command context within this bean.
Parameters:
aCommandContext - the command context.

setDataBeanKeyUserPVCDeviceId

public void setDataBeanKeyUserPVCDeviceId(java.lang.String aUserPVCDeviceId)
Sets the user PvC device identiifer.
Parameters:
aUserPVCDeviceId - the user PvC device identifier.

setRequestProperties

public void setRequestProperties(TypedProperty aRequestProperty)
                          throws javax.ejb.CreateException,
                                 java.rmi.RemoteException,
                                 javax.naming.NamingException,
                                 javax.ejb.FinderException
Sets the request property within this bean.
Throws:
javax.ejb.CreateException - should never happen.
java.rmi.RemoteException - should never happen.
javax.naming.NamingException - should never happen.
javax.ejb.FinderException - should never happen.