com.ibm.commerce.pvcdevices.objects
Class PVCBufferAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.pvcdevices.objects.PVCBufferAccessBean
All Implemented Interfaces:
PVCBufferAccessBeanData, java.io.Serializable

public class PVCBufferAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements PVCBufferAccessBeanData

This bean provides access to the PVCBUFFER table.

The following is a description of this table:

This table is used to store the command input data which needs to be submitted over several pages of pervasive computing devices.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
PVCBufferAccessBean()
          Default constructor.
PVCBufferAccessBean(javax.ejb.EJBObject ejbObject)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
PVCBufferAccessBean(java.lang.Long userId, java.lang.String url)
          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).
 java.lang.String getCreated()
          This method provides access to the PVCBUFFER.CREATED
 java.sql.Timestamp getCreatedInEJBType()
          This method provides access to the PVCBUFFER.CREATED
 java.lang.String getParameters()
          This method provides access to the PVCBUFFER.PARAMETERS column of DB2 type VARCHAR(1024) NULL.
 java.lang.String getParameters2K()
          This method provides access to the PVCBUFFER.PARAMETERS2K column of DB2 type VARCHAR(2048) NULL.
 java.lang.String getURL()
          This method provides access to the PVCBUFFER.URL column of DB2 type VARCHAR(254) NOT NULL.
 java.lang.String getUsersId()
          This method provides access to the PVCBUFFER.USERS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getUsersIdInEJBType()
          This method provides access to the PVCBUFFER.USERS_ID column of DB2 type BIGINT NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCreated(java.lang.String aCreated)
          This method provides access to the PVCBUFFER.CREATED
 void setCreated(java.sql.Timestamp aCreated)
          This method provides access to the PVCBUFFER.CREATED
 void setInitKey_UsersId(java.lang.Long aInitKey_UsersId)
          Set the primary key for this object
 void setParameters(java.lang.String aParameters)
          This method provides access to the PVCBUFFER.PARAMETERS column of DB2 type VARCHAR(1024) NULL.
 void setParameters2K(java.lang.String aParameters2K)
          This method provides access to the PVCBUFFER.PARAMETERS2K column of DB2 type VARCHAR(2048) NULL.
 void setURL(java.lang.String aURL)
          This method provides access to the PVCBUFFER.URL column of DB2 type VARCHAR(254) NOT NULL.
 void setUsersId(java.lang.Long aUsersId)
          This method provides access to the PVCBUFFER.USERS_ID column of DB2 type BIGINT NOT NULL.
 void setUsersId(java.lang.String aUsersId)
          This method provides access to the PVCBUFFER.USERS_ID column of DB2 type BIGINT 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

PVCBufferAccessBean

public PVCBufferAccessBean()

Default constructor. Maps to findByPrimaryKey.


PVCBufferAccessBean

public PVCBufferAccessBean(javax.ejb.EJBObject ejbObject)
                    throws java.rmi.RemoteException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
ejbObject - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

PVCBufferAccessBean

public PVCBufferAccessBean(java.lang.Long userId,
                           java.lang.String url)
                    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

Parameters provided are ID of the current user and URL of the buffered command

Parameters:
userId - java.lang.Long
url - java.lang.String
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
Method Detail

commitCopyHelper

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

Update(flush) data to the EJBObject (persistent storage).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
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

getCreated

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

This method provides access to the PVCBUFFER.CREATED

The following is a description of this column:

TimeStamp of command creation

Specified by:
getCreated in interface PVCBufferAccessBeanData
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

getCreatedInEJBType

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

This method provides access to the PVCBUFFER.CREATED

The following is a description of this column:

TimeStamp of command creation

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

getParameters

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

This method provides access to the PVCBUFFER.PARAMETERS column of DB2 type VARCHAR(1024) NULL.

The following is a description of this column:

Buffered name-value pairs from URL. This column is deprecated and is provided for backward compatibility only.

Specified by:
getParameters in interface PVCBufferAccessBeanData
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

getParameters2K

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

This method provides access to the PVCBUFFER.PARAMETERS2K column of DB2 type VARCHAR(2048) NULL.

The following is a description of this column:

Buffered name-value pairs from URL.

Specified by:
getParameters2K in interface PVCBufferAccessBeanData
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

getURL

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

This method provides access to the PVCBUFFER.URL column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

URL of command that is currently being buffered.

Specified by:
getURL in interface PVCBufferAccessBeanData
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

getUsersId

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

This method provides access to the PVCBUFFER.USERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Reference number of customer who is owner of this record.

Specified by:
getUsersId in interface PVCBufferAccessBeanData
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

getUsersIdInEJBType

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

This method provides access to the PVCBUFFER.USERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Reference number of customer who is owner of this record.

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

refreshCopyHelper

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

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
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

setCreated

public void setCreated(java.lang.String aCreated)

This method provides access to the PVCBUFFER.CREATED

The following is a description of this column:

TimeStamp of command creation

Specified by:
setCreated in interface PVCBufferAccessBeanData
Parameters:
aCreated - java.lang.String
Returns:
void

setCreated

public void setCreated(java.sql.Timestamp aCreated)

This method provides access to the PVCBUFFER.CREATED

The following is a description of this column:

TimeStamp of record creation

Parameters:
aCreated - java.sql.Timestamp
Returns:
void

setInitKey_UsersId

public void setInitKey_UsersId(java.lang.Long aInitKey_UsersId)

Set the primary key for this object

Parameters:
aInitKey_UsersId - java.lang.Long
Returns:
void

setParameters

public void setParameters(java.lang.String aParameters)

This method provides access to the PVCBUFFER.PARAMETERS column of DB2 type VARCHAR(1024) NULL.

The following is a description of this column:

Buffered name-value pairs from URL. This column is deprecated and is provided for backward compatibility only.

Specified by:
setParameters in interface PVCBufferAccessBeanData
Parameters:
aParameters - java.lang.String
Returns:
void

setParameters2K

public void setParameters2K(java.lang.String aParameters2K)

This method provides access to the PVCBUFFER.PARAMETERS2K column of DB2 type VARCHAR(2048) NULL.

The following is a description of this column:

Buffered name-value pairs from URL.

Specified by:
setParameters2K in interface PVCBufferAccessBeanData
Parameters:
aParameters2K - java.lang.String
Returns:
void

setURL

public void setURL(java.lang.String aURL)

This method provides access to the PVCBUFFER.URL column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

URL of command that is currently being buffered.

Specified by:
setURL in interface PVCBufferAccessBeanData
Parameters:
aURL - java.lang.String
Returns:
void

setUsersId

public void setUsersId(java.lang.Long aUsersId)

This method provides access to the PVCBUFFER.USERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Reference number of customer who is owner of this record.

Parameters:
aUsersId - java.lang.Long
Returns:
void

setUsersId

public void setUsersId(java.lang.String aUsersId)

This method provides access to the PVCBUFFER.USERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Reference number of customer who is owner of this record.

Specified by:
setUsersId in interface PVCBufferAccessBeanData
Parameters:
aUsersId - java.lang.String
Returns:
void