|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.pvcdevices.objects.PVCSessionAccessBean
This bean provides access to the PVCSESSION table.
The following is a description of this table:
This table manages the session of various pervasive computing (PvC) devices.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
PVCSessionAccessBean()
Default constructor. |
|
PVCSessionAccessBean(javax.ejb.EJBObject ejbObject)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
PVCSessionAccessBean(java.lang.String sessionType,
java.lang.String terminalId)
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). |
PVCSessionAccessBean |
findBySessionTypeAndTerminalId(java.lang.String sessionType,
java.lang.String terminalId)
Returns PVCSessionAccessBean based on the provided values of sessionType and terminalId |
java.lang.String |
getGuestId()
This method provides access to the PVCSESSION.GUEST_ID column of DB2 type BIGINT NULL. |
java.lang.Long |
getGuestIdInEJBType()
This method provides access to the PVCSESSION.GUEST_ID column of DB2 type BIGINT NULL. |
java.lang.String |
getLastVisted()
This method provides access to the PVCSESSION.LASTVISITED column of DB2 type TIMESTAMP NOT NULL. |
java.sql.Timestamp |
getLastVistedInEJBType()
This method provides access to the PVCSESSION.LASTVISITED column of DB2 type TIMESTAMP NOT NULL. |
java.lang.String |
getPVCSessionId()
This method provides access to the PVCSESSION.PVCSESSION_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getPVCSessionIdInEJBType()
This method provides access to the PVCSESSION.PVCSESSION_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getRegisterId()
This method provides access to the PVCSESSION.REGISTER_ID column of DB2 type BIGINT NULL. |
java.lang.Long |
getRegisterIdInEJBType()
This method provides access to the PVCSESSION.REGISTER_ID column of DB2 type BIGINT NULL. |
java.lang.String |
getSessionType()
This method provides access to the PVCSESSION.SESSIONTYPE column of DB2 type VARCHAR(32) NOT NULL. |
java.lang.String |
getStatus()
This method provides access to the PVCSESSION.STATUS |
java.lang.Integer |
getStatusInEJBType()
This method provides access to the PVCSESSION.STATUS column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getTerminalId()
This method provides access to the PVCSESSION.TERMINAL column of DB2 type VARCHAR(254) NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setGuestId(java.lang.Long aGuestId)
This method provides access to the PVCSESSION.GUEST_ID column of DB2 type BIGINT NULL. |
void |
setGuestId(java.lang.String aGuestId)
This method provides access to the PVCSESSION.GUEST_ID column of DB2 type BIGINT NULL. |
void |
setInitKey_PVCSessionId(java.lang.String aInitKey_PVCSessionId)
Set the primary key for this object |
void |
setLastVisted(java.lang.String aLastVisted)
This method provides access to the PVCSESSION.LASTVISITED column of DB2 type TIMESTAMP NOT NULL. |
void |
setLastVisted(java.sql.Timestamp aLastVisted)
This method provides access to the PVCSESSION.LASTVISITED column of DB2 type TIMESTAMP NOT NULL. |
void |
setPVCSessionId(java.lang.Long aPVCSessionId)
This method provides access to the PVCSESSION.PVCSESSION_ID column of DB2 type BIGINT NOT NULL. |
void |
setPVCSessionId(java.lang.String aPVCSessionId)
This method provides access to the PVCSESSION.PVCSESSION_ID column of DB2 type BIGINT NOT NULL. |
void |
setRegisterId(java.lang.Long aRegisterId)
This method provides access to the PVCSESSION.REGISTER_ID column of DB2 type BIGINT NULL. |
void |
setRegisterId(java.lang.String aRegisterId)
This method provides access to the PVCSESSION.REGISTER_ID column of DB2 type BIGINT NULL. |
void |
setSessionType(java.lang.String aSessionType)
This method provides access to the PVCSESSION.SESSIONTYPE column of DB2 type VARCHAR(32) NOT NULL. |
void |
setStatus(java.lang.Integer aStatus)
This method provides access to the PVCSESSION.STATUS |
void |
setStatus(java.lang.String aStatus)
This method provides access to the PVCSESSION.STATUS |
void |
setTerminalId(java.lang.String aTerminalId)
This method provides access to the PVCSESSION.TERMINAL column of DB2 type VARCHAR(254) NOT NULL. |
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 |
public PVCSessionAccessBean()
Default constructor. Maps to findByPrimaryKey.
public PVCSessionAccessBean(javax.ejb.EJBObject ejbObject) throws java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
ejObject
- javax.ejb.EJBObjectjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic PVCSessionAccessBean(java.lang.String sessionType, java.lang.String terminalId) 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
Provided parameters are Session Type and Terminal Id
sessionType
- java.lang.StringterminalId
- java.lang.Stringjavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic PVCSessionAccessBean findBySessionTypeAndTerminalId(java.lang.String sessionType, java.lang.String terminalId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns PVCSessionAccessBean based on the provided values of sessionType and terminalId
sessionType
- java.lang.StringterminalId
- java.lang.Stringjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getGuestId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCSESSION.GUEST_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
Reference number of a guest customer. When value of status is 1, this column is set to NULL.
getGuestId
in interface PVCSessionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Long getGuestIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCSESSION.GUEST_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
Reference number of a guest customer. When value of status is 1, this column is set to NULL.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getLastVisted() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCSESSION.LASTVISITED column of DB2 type TIMESTAMP NOT NULL.
The following is a description of this column:
Last visited time. Will be updated on command execution while status is 1.
getLastVisted
in interface PVCSessionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.sql.Timestamp getLastVistedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCSESSION.LASTVISITED column of DB2 type TIMESTAMP NOT NULL.
The following is a description of this column:
Last visited time. Will be updated on command execution while status is 1.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getPVCSessionId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCSESSION.PVCSESSION_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Reference number of this record.
getPVCSessionId
in interface PVCSessionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Long getPVCSessionIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCSESSION.PVCSESSION_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Reference number of this record.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getRegisterId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCSESSION.REGISTER_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
Reference number of a customer who is logging in. Or reference number of a customer who was previously logged in. This column is NULL if the PVC customer has not registered by way of a registration command.
getRegisterId
in interface PVCSessionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Long getRegisterIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCSESSION.REGISTER_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
Reference number of a customer who is logging in. Or reference number of a customer who was previously logged in. This column is NULL if the PVC customer has not registered by way of a registration command.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getSessionType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCSESSION.SESSIONTYPE column of DB2 type VARCHAR(32) NOT NULL.
The following is a description of this column:
This column identifies the type of PvC device. This could either be IMODE or WAP.
getSessionType
in interface PVCSessionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getStatus() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCSESSION.STATUS
getStatus
in interface PVCSessionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getStatusInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCSESSION.STATUS column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Status of the shopper whose reference number is same as SHOPPER_ID. 0: Logout 1: Login
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getTerminalId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCSESSION.TERMINAL column of DB2 type VARCHAR(254) NOT NULL.
The following is a description of this column:
The terminal identifier related to this session. CONSTRAINT unique_session_devic UNIQUE(SESSION_TYPE, TERMINAL).
getTerminalId
in interface PVCSessionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setGuestId(java.lang.Long aGuestId)
This method provides access to the PVCSESSION.GUEST_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
Reference number of a guest customer. When value of status is 1, this column is set to NULL.
aGuestId
- java.lang.Longpublic void setGuestId(java.lang.String aGuestId)
This method provides access to the PVCSESSION.GUEST_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
Reference number of a guest customer. When value of status is 1, this column is set to NULL.
setGuestId
in interface PVCSessionAccessBeanData
aGuestId
- java.lang.Stringpublic void setInitKey_PVCSessionId(java.lang.String aInitKey_PVCSessionId)
Set the primary key for this object
aInitKey_PVCSessionId
- java.lang.Stringpublic void setLastVisted(java.lang.String aLastVisted)
This method provides access to the PVCSESSION.LASTVISITED column of DB2 type TIMESTAMP NOT NULL.
The following is a description of this column:
Last visited time. Will be updated on command execution while status is 1.
setLastVisted
in interface PVCSessionAccessBeanData
aLastVisted
- java.lang.Stringpublic void setLastVisted(java.sql.Timestamp aLastVisted)
This method provides access to the PVCSESSION.LASTVISITED column of DB2 type TIMESTAMP NOT NULL.
The following is a description of this column:
Last visited time. Will be updated on command execution while status is 1.
aLastVisted
- java.sql.Timestamppublic void setPVCSessionId(java.lang.Long aPVCSessionId)
This method provides access to the PVCSESSION.PVCSESSION_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Reference number of this record.
aPVCSessionId
- java.lang.Longpublic void setPVCSessionId(java.lang.String aPVCSessionId)
This method provides access to the PVCSESSION.PVCSESSION_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Reference number of this record.
setPVCSessionId
in interface PVCSessionAccessBeanData
aPVCSessionId
- java.lang.Stringpublic void setRegisterId(java.lang.Long aRegisterId)
This method provides access to the PVCSESSION.REGISTER_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
Reference number of a customer who is logging in. Or reference number of a customer who was previously logged in. This column is NULL if the PVC customer has not registered by way of a registration command.
aRegisterId
- java.lang.Longpublic void setRegisterId(java.lang.String aRegisterId)
This method provides access to the PVCSESSION.REGISTER_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
Reference number of a customer who is logging in. Or reference number of a customer who was previously logged in. This column is NULL if the PVC customer has not registered by way of a registration command.
setRegisterId
in interface PVCSessionAccessBeanData
aRegisterId
- java.lang.Stringpublic void setSessionType(java.lang.String aSessionType)
This method provides access to the PVCSESSION.SESSIONTYPE column of DB2 type VARCHAR(32) NOT NULL.
The following is a description of this column:
This column identifies the type of PvC device. This could either be IMODE or WAP.
setSessionType
in interface PVCSessionAccessBeanData
aSessionType
- java.lang.Stringpublic void setStatus(java.lang.Integer aStatus)
This method provides access to the PVCSESSION.STATUS
aStatus
- java.lang.Integerpublic void setStatus(java.lang.String aStatus)
This method provides access to the PVCSESSION.STATUS
setStatus
in interface PVCSessionAccessBeanData
aStatus
- java.lang.Stringpublic void setTerminalId(java.lang.String aTerminalId)
This method provides access to the PVCSESSION.TERMINAL column of DB2 type VARCHAR(254) NOT NULL.
The following is a description of this column:
The terminal identifier related to this session. CONSTRAINT unique_session_devic UNIQUE(SESSION_TYPE, TERMINAL).
setTerminalId
in interface PVCSessionAccessBeanData
aTerminalId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |