com.ibm.commerce.pvcdevices.beans
Class PVCSessionDataBean

java.lang.Object
  |
  +--com.ibm.commerce.pvcdevices.beansrc.PVCSessionDataBeanBase
        |
        +--com.ibm.commerce.pvcdevices.beans.PVCSessionDataBean

public class PVCSessionDataBean
extends com.ibm.commerce.pvcdevices.beansrc.PVCSessionDataBeanBase

A databean that represents the session information from a PvC device request. The data populated from this bean can be found from the PVCSESSION table.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          IBM Copyright notice field.
protected  CommandContext iCommandContext
           
protected  java.lang.String iDataBeanKeyPVCSessionId
           
protected  TypedProperty iRequestProperties
           
 
Constructor Summary
PVCSessionDataBean()
           
 
Method Summary
  CommandContext getCommandContext()
          Gets the command context set within this bean.
 java.lang.String getDataBeanKeyPVCSessionId()
          Gets the PvC session identifier.
  TypedProperty getRequestProperties()
          Gets the request property set within this bean.
 void populate()
          Retrieves data from the database.
 void setCommandContext( CommandContext aCommandContext)
          Sets the command context within this bean.
 void setDataBeanKeyPVCSessionId(java.lang.String aPVCSessionId)
          Sets the PvC session identifier.
 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

iDataBeanKeyPVCSessionId

protected java.lang.String iDataBeanKeyPVCSessionId
Constructor Detail

PVCSessionDataBean

public PVCSessionDataBean()
Method Detail

getCommandContext

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

getDataBeanKeyPVCSessionId

public java.lang.String getDataBeanKeyPVCSessionId()
Gets the PvC session identifier.
Returns:
The PvC session identifier.

getRequestProperties

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

populate

public void populate()
              throws java.lang.Exception
Retrieves data from the database.
Throws:
java.lang.Exception - if there was a problem retrieving the data.

setCommandContext

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

setDataBeanKeyPVCSessionId

public void setDataBeanKeyPVCSessionId(java.lang.String aPVCSessionId)
Sets the PvC session identifier.
Parameters:
aPVCSessionId - the PvC session 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.