java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.pvcdevices.objects.PVCSessionAccessBean
This table manages the session of various pervasive computing devices. This access bean corresponds to the database table 'PVCSESSION'.
Constructor Summary | |
PVCSessionAccessBean() Zero argument constructor used to initialize the access bean. |
|
PVCSessionAccessBean(javax.ejb.EJBObject o) constructor |
|
PVCSessionAccessBean(java.lang.String aSessionType, java.lang.String aTerminalId) 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). |
protected java.lang.String | defaultJNDIName() |
PVCSessionAccessBean | findBySessionTypeAndTerminalId(java.lang.String aSessionId, java.lang.String aTerminalId) 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 accesses a non-CMP field |
void | setGuestId(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_PVCSessionId(java.lang.String newValue) Set the primary key for this object |
void | setLastVisted(java.lang.String newValue) This method accesses a non-CMP field |
void | setLastVisted(java.sql.Timestamp newValue) This method accesses a non-CMP field |
void | setPVCSessionId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setPVCSessionId(java.lang.String newValue) This method accesses a non-CMP field |
void | setRegisterId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setRegisterId(java.lang.String newValue) This method accesses a non-CMP field |
void | setSessionType(java.lang.String newValue) This method accesses a non-CMP field |
void | setStatus(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setStatus(java.lang.String newValue) This method accesses a non-CMP field |
void | setTerminalId(java.lang.String newValue) This method accesses a non-CMP field |
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
public PVCSessionAccessBean(java.lang.String aSessionType, java.lang.String aTerminalId) 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
Method Detail |
public PVCSessionAccessBean findBySessionTypeAndTerminalId(java.lang.String aSessionId, java.lang.String aTerminalId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns PVCSession based on the provided values of aSessionId and aTerminalId
public void setInitKey_PVCSessionId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws 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).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
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).
public void setTerminalId(java.lang.String newValue)
public 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.
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.
public void setLastVisted(java.lang.String newValue)
public void setLastVisted(java.sql.Timestamp newValue)
public 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.
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.
public void setPVCSessionId(java.lang.String newValue)
public void setPVCSessionId(java.lang.Long newValue)
public 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.
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.
public void setRegisterId(java.lang.String newValue)
public void setRegisterId(java.lang.Long newValue)
public 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.
public void setSessionType(java.lang.String newValue)
public 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. Valid values are as follows: &l
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. Valid values are as follows: &l
public void setStatus(java.lang.String newValue)
public void setStatus(java.lang.Integer newValue)
public 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.
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.
public void setGuestId(java.lang.String newValue)
public void setGuestId(java.lang.Long newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.