com.ibm.commerce.pvcdevices.beans
Class PVCSessionDataBean

com.ibm.commerce.pvcdevices.beans.PVCSessionDataBean
All Implemented Interfaces:
Delegator

public class PVCSessionDataBean
implements Delegator

This bean provides data from the PVCSESSION table.


Fields inherited from interface com.ibm.commerce.security.Delegator
COPYRIGHT
 
Constructor Summary
PVCSessionDataBean()
          Default constructor
 
Method Summary
 CommandContext getCommandContext()
          Gets the command context set within this bean.
 java.lang.String getDataBeanKeyPVCSessionId()
          Retrieve its primary key.
 Protectable getDelegate()
          Retrieves access control information.
 java.lang.String getGuestId()
          This method returns the data corresponding to the PVCSESSION.GUEST_ID
 java.lang.Long getGuestIdInEJBType()
          This method returns the data corresponding to the PVCSESSION.GUEST_ID
 java.lang.String getLastVisted()
          This method returns the data corresponding to the PVCSESSION.LASTVISITED
 java.sql.Timestamp getLastVistedInEJBType()
          This method returns the data corresponding to the PVCSESSION.LASTVISITED
 java.lang.String getPVCSessionId()
          This method returns the data corresponding to the PVCSESSION.PVCSESSION_ID
 java.lang.Long getPVCSessionIdInEJBType()
          Returns Long value corresponding to the SESSIONTYPE
 java.lang.String getRegisterId()
          This method returns the data corresponding to the PVCSESSION.REGISTER_ID
 java.lang.Long getRegisterIdInEJBType()
          Returns LOong value corresponding to the REGISTER_ID
 TypedProperty getRequestProperties()
          Gets the request property set within this bean.
 java.lang.String getSessionType()
          This method returns the data corresponding to the PVCSESSION.SESSIONTYPE
 java.lang.String getStatus()
          This method returns the data corresponding to the PVCSESSION.STATUS
 java.lang.Integer getStatusInEJBType()
          Returns the Integer value corresponding to the STATUS
 java.lang.String getTerminalId()
          This method returns the data corresponding to the PVCSESSION.TERMINAL_ID
 void populate()
          Retrieves data from the database.
 void setCommandContext(CommandContext aCommandContext)
          Sets the command context within this bean.
 void setDataBeanKeyPVCSessionId(java.lang.String aDataBeanKeyPVCSessionId)
          Set its primary key for fetching.
 void setGuestId(java.lang.Long aGuestId)
          This method sets the data corresponding to the PVCSESSION.GUEST_ID
 void setLastVisted(java.sql.Timestamp aLastVisted)
          This method sets the data corresponding to the PVCSESSION.LASTVISITED
 void setPVCSessionId(java.lang.Long aPVCSessionId)
          This method sets the data corresponding to the PVCSESSION.PVCSESSION_ID
 void setRegisterId(java.lang.Long aRegisterId)
          This method sets the data corresponding to the PVCSESSION.REGISTERED_ID
 void setRequestProperties(TypedProperty aRequestProperties)
          Sets the request property within this bean.
 void setSessionType(java.lang.String aSessionType)
          This method sets the data corresponding to the PVCSESSION.SESSIONTYPE
 void setStatus(java.lang.Integer aStatus)
          This method sets the data corresponding to the PVCSESSION.STATUS
 void setTerminalId(java.lang.String aTerminalId)
          This method sets the data corresponding to the PVCSESSION.TERMINAL_ID
 

Constructor Detail

PVCSessionDataBean

public PVCSessionDataBean()

Default constructor

Method Detail

getCommandContext

public CommandContext getCommandContext()

Gets the command context set within this bean.

Returns:
com.ibm.commerce.command.CommandContext

getDataBeanKeyPVCSessionId

public java.lang.String getDataBeanKeyPVCSessionId()

Retrieve its primary key.

Returns:
java.lang.String

getDelegate

public Protectable getDelegate()
                        throws java.lang.Exception

Retrieves access control information.

Specified by:
getDelegate in interface Delegator
Returns:
com.ibm.commerce.security.Protectable
Throws:
java.lang.Exception - The java.lang.Exception exception

getGuestId

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

This method returns the data corresponding to the PVCSESSION.GUEST_ID

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

getGuestIdInEJBType

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

This method returns the data corresponding to the PVCSESSION.GUEST_ID

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

getLastVisted

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

This method returns the data corresponding to the PVCSESSION.LASTVISITED

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

getLastVistedInEJBType

public java.sql.Timestamp getLastVistedInEJBType()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

This method returns the data corresponding to the PVCSESSION.LASTVISITED

Returns:
java.sql.Timestamp
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

getPVCSessionId

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

This method returns the data corresponding to the PVCSESSION.PVCSESSION_ID

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

getPVCSessionIdInEJBType

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

Returns Long value corresponding to the SESSIONTYPE

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

getRegisterId

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

This method returns the data corresponding to the PVCSESSION.REGISTER_ID

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

getRegisterIdInEJBType

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

Returns LOong value corresponding to the REGISTER_ID

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

getRequestProperties

public TypedProperty getRequestProperties()

Gets the request property set within this bean.

Returns:
com.ibm.commerce.datatype.TypedProperty

getSessionType

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

This method returns the data corresponding to the PVCSESSION.SESSIONTYPE

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

getStatus

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

This method returns the data corresponding to the PVCSESSION.STATUS

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

getStatusInEJBType

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

Returns the Integer value corresponding to the STATUS

Returns:
java.lang.Integer
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

getTerminalId

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

This method returns the data corresponding to the PVCSESSION.TERMINAL_ID

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

populate

public void populate()
              throws java.lang.Exception

Retrieves data from the database.

Returns:
void
Throws:
java.lang.Exception - The java.lang.Exception exception

setCommandContext

public void setCommandContext(CommandContext aCommandContext)

Sets the command context within this bean.

Parameters:
aCommandContext - com.ibm.commerce.command.CommandContext
Returns:
void

setDataBeanKeyPVCSessionId

public void setDataBeanKeyPVCSessionId(java.lang.String aDataBeanKeyPVCSessionId)

Set its primary key for fetching.

Parameters:
aDataBeanKeyPVCSessionId - java.lang.String - primary key
Returns:
void

setGuestId

public void setGuestId(java.lang.Long aGuestId)

This method sets the data corresponding to the PVCSESSION.GUEST_ID

Parameters:
aGuestId - java.lang.Long - guestId
Returns:
void

setLastVisted

public void setLastVisted(java.sql.Timestamp aLastVisted)

This method sets the data corresponding to the PVCSESSION.LASTVISITED

Parameters:
aLastVisted - java.sql.Timestamp -creation timestamp
Returns:
void

setPVCSessionId

public void setPVCSessionId(java.lang.Long aPVCSessionId)

This method sets the data corresponding to the PVCSESSION.PVCSESSION_ID

Parameters:
aPVCSessionId - java.lang.Long - pvcsession id
Returns:
void

setRegisterId

public void setRegisterId(java.lang.Long aRegisterId)

This method sets the data corresponding to the PVCSESSION.REGISTERED_ID

Parameters:
aRegisterId - java.lang.Long - register id
Returns:
void

setRequestProperties

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

Sets the request property within this bean.

Parameters:
aRequestProperties - com.ibm.commerce.datatype.TypedProperty
Returns:
void
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

setSessionType

public void setSessionType(java.lang.String aSessionType)

This method sets the data corresponding to the PVCSESSION.SESSIONTYPE

Parameters:
aSessionType - java.lang.String - the session type
Returns:
void

setStatus

public void setStatus(java.lang.Integer aStatus)

This method sets the data corresponding to the PVCSESSION.STATUS

Parameters:
aStatus - java.lang.Integer - the status
Returns:
void

setTerminalId

public void setTerminalId(java.lang.String aTerminalId)

This method sets the data corresponding to the PVCSESSION.TERMINAL_ID

Parameters:
aTerminalId - java.lang.String - the terminal id
Returns:
void