java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.pvcdevices.objects.PVCSessionAccessBean
This table manages the session of various pervasive computing devices.
Constructor Summary | |
---|---|
PVCSessionAccessBean() constructor | |
PVCSessionAccessBean(javax.ejb.EJBObject o) constructor | |
PVCSessionAccessBean(java.lang.String arg0,
java.lang.String arg1) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
PVCSessionAccessBean |
findBySessionTypeAndTerminalId(java.lang.String arg0,
java.lang.String arg1) Returns PVCSession based on the provided values of aSessionId and aTerminalId |
java.lang.String |
getGuestId() This method provides access to the PVCSESSION.GUEST_ID column of DB2 type BIGINT. |
java.lang.Long |
getGuestIdInEJBType() This method provides access to the PVCSESSION.GUEST_ID column of DB2 type BIGINT. |
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. |
java.lang.Long |
getRegisterIdInEJBType() This method provides access to the PVCSESSION.REGISTER_ID column of DB2 type BIGINT. |
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 column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer |
getStatusInEJBType() This method provides access to the PVCSESSION.STATUS column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.String |
getTerminalId() This method provides access to the PVCSESSION.TERMINAL column of DB2 type VARCHAR(254) NOT NULL. |
protected
void |
instantiateEJB() |
protected
boolean |
instantiateEJBByPrimaryKey() |
void |
refreshCopyHelper() Load data from the EJBObject. |
void |
setGuestId(java.lang.Long newValue) This method provides access to the PVCSESSION.GUEST_ID column of DB2 type BIGINT. |
void |
setGuestId(java.lang.String newValue) This method provides access to the PVCSESSION.GUEST_ID column of DB2 type BIGINT. |
void |
setInitKey_PVCSessionId(java.lang.String newValue) Set the primary key for this object |
void |
setLastVisted(java.lang.String newValue) This method provides access to the PVCSESSION.LASTVISITED column of DB2 type TIMESTAMP NOT NULL. |
void |
setLastVisted(java.sql.Timestamp newValue) This method provides access to the PVCSESSION.LASTVISITED column of DB2 type TIMESTAMP NOT NULL. |
void |
setPVCSessionId(java.lang.Long newValue) This method provides access to the PVCSESSION.PVCSESSION_ID column of DB2 type BIGINT NOT NULL. |
void |
setPVCSessionId(java.lang.String newValue) This method provides access to the PVCSESSION.PVCSESSION_ID column of DB2 type BIGINT NOT NULL. |
void |
setRegisterId(java.lang.Long newValue) This method provides access to the PVCSESSION.REGISTER_ID column of DB2 type BIGINT. |
void |
setRegisterId(java.lang.String newValue) This method provides access to the PVCSESSION.REGISTER_ID column of DB2 type BIGINT. |
void |
setSessionType(java.lang.String newValue) This method provides access to the PVCSESSION.SESSIONTYPE column of DB2 type VARCHAR(32) NOT NULL. |
void |
setStatus(java.lang.Integer newValue) This method provides access to the PVCSESSION.STATUS column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setStatus(java.lang.String newValue) This method provides access to the PVCSESSION.STATUS column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setTerminalId(java.lang.String newValue) This method provides access to the PVCSESSION.TERMINAL column of DB2 type VARCHAR(254) NOT NULL. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
public PVCSessionAccessBean()
public PVCSessionAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public PVCSessionAccessBean(java.lang.String arg0, java.lang.String arg1) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
arg0
- java.lang.Stringarg1
- java.lang.Stringjavax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail |
---|
public PVCSessionAccessBean findBySessionTypeAndTerminalId(java.lang.String arg0, java.lang.String arg1) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns PVCSession based on the provided values of aSessionId and aTerminalId
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public void setInitKey_PVCSessionId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setTerminalId(java.lang.String newValue)
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
newValue
- java.lang.Stringpublic 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setLastVisted(java.lang.String newValue)
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
newValue
- Stringpublic void setLastVisted(java.sql.Timestamp newValue)
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.
newValue
- java.sql.Timestamppublic 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setPVCSessionId(java.lang.String newValue)
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
newValue
- Stringpublic void setPVCSessionId(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic 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.
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 pervasive computing customer has not registered by way of a registration command.
getRegisterId
in interface
PVCSessionAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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.
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 pervasive computing customer has not registered by way of a registration command.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setRegisterId(java.lang.String newValue)
This method provides access to the PVCSESSION.REGISTER_ID column of DB2 type BIGINT.
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 pervasive computing customer has not registered by way of a registration command.
setRegisterId
in interface
PVCSessionAccessBeanData
newValue
- Stringpublic void setRegisterId(java.lang.Long newValue)
This method provides access to the PVCSESSION.REGISTER_ID column of DB2 type BIGINT.
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 pervasive computing customer has not registered by way of a registration command.
newValue
- java.lang.Longpublic 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 pervasive computing device: either iMode or WAP.
getSessionType
in interface
PVCSessionAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setSessionType(java.lang.String newValue)
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 pervasive computing device: either iMode or WAP.
setSessionType
in interface
PVCSessionAccessBeanData
newValue
- java.lang.Stringpublic 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 column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Status of the customer whose reference number is same as SHOPPER_ID: &l
getStatus
in interface
PVCSessionAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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 DEFAULT 0.
The following is a description of this column:
Status of the customer whose reference number is same as SHOPPER_ID: &l
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setStatus(java.lang.String newValue)
This method provides access to the PVCSESSION.STATUS column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Status of the customer whose reference number is same as SHOPPER_ID: &l
setStatus
in interface
PVCSessionAccessBeanData
newValue
- Stringpublic void setStatus(java.lang.Integer newValue)
This method provides access to the PVCSESSION.STATUS column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Status of the customer whose reference number is same as SHOPPER_ID: &l
newValue
- java.lang.Integerpublic 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.
The following is a description of this column:
Reference number of a guest customer. When the status value is 1, this column is set to NULL.
getGuestId
in interface
PVCSessionAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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.
The following is a description of this column:
Reference number of a guest customer. When the status value is 1, this column is set to NULL.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setGuestId(java.lang.String newValue)
This method provides access to the PVCSESSION.GUEST_ID column of DB2 type BIGINT.
The following is a description of this column:
Reference number of a guest customer. When the status value is 1, this column is set to NULL.
setGuestId
in interface
PVCSessionAccessBeanData
newValue
- Stringpublic void setGuestId(java.lang.Long newValue)
This method provides access to the PVCSESSION.GUEST_ID column of DB2 type BIGINT.
The following is a description of this column:
Reference number of a guest customer. When the status value is 1, this column is set to NULL.
newValue
- java.lang.Long