com.ibm.commerce.pvcdevices.objects
Class PVCBufferAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.pvcdevices.objects.PVCBufferAccessBean
All Implemented Interfaces:
PVCBufferAccessBeanData

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

This table stores the command input data which needs to be submitted over several pages of pervasive computing devices. This access bean corresponds to the database table 'PVCBUFFER'.

See Also:
Serialized Form

Constructor Summary
PVCBufferAccessBean()
Zero argument constructor used to initialize the access bean.
PVCBufferAccessBean(javax.ejb.EJBObject o)
constructor
PVCBufferAccessBean(java.lang.Long arg1, java.lang.String arg2)
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()
java.lang.String getCreated()
This method provides access to the PVCBUFFER.CREATED column of DB2 type TIMESTAMP.
java.sql.Timestamp getCreatedInEJBType()
This method provides access to the PVCBUFFER.CREATED column of DB2 type TIMESTAMP.
java.lang.String getParameters()
This method provides access to the PVCBUFFER.PARAMETERS column of DB2 type VARCHAR(1024).
java.lang.String getParameters2K()
This method provides access to the PVCBUFFER.PARAMETERS2K column of DB2 type VARCHAR(2048).
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.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setCreated(java.lang.String newValue)
This method accesses a non-CMP field
void setCreated(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setInitKey_UsersId(java.lang.Long newValue)
Set the primary key for this object
void setParameters(java.lang.String newValue)
This method accesses a non-CMP field
void setParameters2K(java.lang.String newValue)
This method accesses a non-CMP field
void setURL(java.lang.String newValue)
This method accesses a non-CMP field
void setUsersId(java.lang.Long newValue)
This method accesses a non-CMP field
void setUsersId(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

PVCBufferAccessBean

public PVCBufferAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.pvcdevices.objects.PVCBuffer com.ibm.commerce.pvcdevices.objimpl.PVCBufferHomeBase.findByPrimaryKey(com.ibm.commerce.pvcdevices.objects.PVCBufferKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_UsersId( java.lang.Long )

PVCBufferAccessBean

public PVCBufferAccessBean(javax.ejb.EJBObject o)
                    throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

PVCBufferAccessBean

public PVCBufferAccessBean(java.lang.Long arg1,
                           java.lang.String arg2)
                    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:
arg1 - java.lang.Long
arg2 - 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

setInitKey_UsersId

public void setInitKey_UsersId(java.lang.Long newValue)

Set the primary key for this object

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

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

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).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

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

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setURL

public void setURL(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setURL in interface PVCBufferAccessBeanData

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).

The following is a description of this column:

Buffered name-value pairs from URL. This column is &l

Specified by:
getParameters in interface PVCBufferAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setParameters

public void setParameters(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setParameters in interface PVCBufferAccessBeanData

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 column of DB2 type TIMESTAMP.

The following is a description of this column:

Creation date and time.

Specified by:
getCreated in interface PVCBufferAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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 column of DB2 type TIMESTAMP.

The following is a description of this column:

Creation date and time.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCreated

public void setCreated(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setCreated in interface PVCBufferAccessBeanData

setCreated

public void setCreated(java.sql.Timestamp newValue)
This method accesses a non-CMP field

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).

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setParameters2K

public void setParameters2K(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setParameters2K in interface PVCBufferAccessBeanData

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:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setUsersId

public void setUsersId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setUsersId in interface PVCBufferAccessBeanData

setUsersId

public void setUsersId(java.lang.Long newValue)
This method accesses a non-CMP field

Feedback