com.ibm.commerce.pvcdevices.objects
Class PVCBindingAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.pvcdevices.objects.PVCBindingAccessBean
All Implemented Interfaces:
PVCBindingAccessBeanData

public class PVCBindingAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements PVCBindingAccessBeanData

This table represents a relation between a customer and a terminal for pervasive computing.

See Also:
Serialized Form

Constructor Summary
PVCBindingAccessBean()
          constructor
PVCBindingAccessBean(javax.ejb.EJBObject o)
          constructor
PVCBindingAccessBean(java.lang.Long arg0, java.lang.Long arg1)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
  PVCBindingAccessBean findActiveByPVCSessionId(java.lang.Long arg0)
          Returns PVCBinding found by the search on provided value of PVCSessionId
  PVCBindingAccessBean findActiveByUserId(java.lang.Long arg0)
          Returns PVCBinding found by the search based on aUserId
  PVCBindingAccessBean findActiveByUserIdAndPVCSessionId(java.lang.Long arg0, java.lang.Long arg1)
          Returns PVCBinding found by the search based on aUserId and PVCSessionId
 java.util.Enumeration findByPVCSessionIdAndStatus(java.lang.Long arg0, java.lang.String arg1)
          Returns results of the search based on the provided values of SessioID and Status
 java.util.Enumeration findByUserIdAndStatus(java.lang.Long arg0, java.lang.String arg1)
          Returns results of the search based on the values of the current user's ID and aStatus
 java.lang.String getCreated()
          This method provides access to the PVCBINDING.CREATED column of DB2 type TIMESTAMP NOT NULL.
 java.sql.Timestamp getCreatedInEJBType()
          This method provides access to the PVCBINDING.CREATED column of DB2 type TIMESTAMP NOT NULL.
 java.lang.String getPVCBindingId()
          This method provides access to the PVCBINDING.PVCBINDING_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getPVCBindingIdInEJBType()
          This method provides access to the PVCBINDING.PVCBINDING_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getPVCSessionId()
          This method provides access to the PVCBINDING.PVCSESSION_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getPVCSessionIdInEJBType()
          This method provides access to the PVCBINDING.PVCSESSION_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getStatus()
          This method provides access to the PVCBINDING.STATUS column of DB2 type CHAR(1) NOT NULL.
 java.lang.String getUsersId()
          This method provides access to the PVCBINDING.USERS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getUsersIdInEJBType()
          This method provides access to the PVCBINDING.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 provides access to the PVCBINDING.CREATED column of DB2 type TIMESTAMP NOT NULL.
 void setCreated(java.sql.Timestamp newValue)
          This method provides access to the PVCBINDING.CREATED column of DB2 type TIMESTAMP NOT NULL.
 void setInitKey_PVCBindingId(java.lang.Long newValue)
          Set the primary key for this object
 void setPVCBindingId(java.lang.Long newValue)
          This method provides access to the PVCBINDING.PVCBINDING_ID column of DB2 type BIGINT NOT NULL.
 void setPVCBindingId(java.lang.String newValue)
          This method provides access to the PVCBINDING.PVCBINDING_ID column of DB2 type BIGINT NOT NULL.
 void setPVCSessionId(java.lang.Long newValue)
          This method provides access to the PVCBINDING.PVCSESSION_ID column of DB2 type BIGINT NOT NULL.
 void setPVCSessionId(java.lang.String newValue)
          This method provides access to the PVCBINDING.PVCSESSION_ID column of DB2 type BIGINT NOT NULL.
 void setStatus(java.lang.String newValue)
          This method provides access to the PVCBINDING.STATUS column of DB2 type CHAR(1) NOT NULL.
 void setUsersId(java.lang.Long newValue)
          This method provides access to the PVCBINDING.USERS_ID column of DB2 type BIGINT NOT NULL.
 void setUsersId(java.lang.String newValue)
          This method provides access to the PVCBINDING.USERS_ID column of DB2 type BIGINT NOT NULL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PVCBindingAccessBean

public PVCBindingAccessBean()
constructor

PVCBindingAccessBean

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

PVCBindingAccessBean

public PVCBindingAccessBean(java.lang.Long arg0,
                            java.lang.Long arg1)
                     throws javax.naming.NamingException,
                            javax.ejb.CreateException,
                            java.rmi.RemoteException,
                            javax.ejb.FinderException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Long
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail

findActiveByPVCSessionId

public PVCBindingAccessBean findActiveByPVCSessionId(java.lang.Long arg0)
                                              throws java.rmi.RemoteException,
                                                     javax.ejb.FinderException,
                                                     javax.naming.NamingException

Returns PVCBinding found by the search on provided value of PVCSessionId

Returns:
com.ibm.commerce.pvcdevices.objects.PVCBinding
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findActiveByUserId

public PVCBindingAccessBean findActiveByUserId(java.lang.Long arg0)
                                        throws java.rmi.RemoteException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

Returns PVCBinding found by the search based on aUserId

Returns:
com.ibm.commerce.pvcdevices.objects.PVCBinding
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findActiveByUserIdAndPVCSessionId

public PVCBindingAccessBean findActiveByUserIdAndPVCSessionId(java.lang.Long arg0,
                                                              java.lang.Long arg1)
                                                       throws java.rmi.RemoteException,
                                                              javax.ejb.FinderException,
                                                              javax.naming.NamingException

Returns PVCBinding found by the search based on aUserId and PVCSessionId

Returns:
com.ibm.commerce.pvcdevices.objects.PVCBinding
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByPVCSessionIdAndStatus

public java.util.Enumeration findByPVCSessionIdAndStatus(java.lang.Long arg0,
                                                         java.lang.String arg1)
                                                  throws java.rmi.RemoteException,
                                                         javax.ejb.FinderException,
                                                         javax.naming.NamingException

Returns results of the search based on the provided values of SessioID and Status

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByUserIdAndStatus

public java.util.Enumeration findByUserIdAndStatus(java.lang.Long arg0,
                                                   java.lang.String arg1)
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

Returns results of the search based on the values of the current user's ID and aStatus

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

setInitKey_PVCBindingId

public void setInitKey_PVCBindingId(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

getPVCSessionId

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

This method provides access to the PVCBINDING.PVCSESSION_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Identifier of the terminal.

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

getPVCSessionIdInEJBType

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

This method provides access to the PVCBINDING.PVCSESSION_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Identifier of the terminal.

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

setPVCSessionId

public void setPVCSessionId(java.lang.String newValue)

This method provides access to the PVCBINDING.PVCSESSION_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Identifier of the terminal.

Specified by:
setPVCSessionId in interface PVCBindingAccessBeanData
Parameters:
newValue - String
Returns:
void

setPVCSessionId

public void setPVCSessionId(java.lang.Long newValue)

This method provides access to the PVCBINDING.PVCSESSION_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Identifier of the terminal.

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

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 PVCBINDING.CREATED column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The date and time this record was created.

Specified by:
getCreated in interface PVCBindingAccessBeanData
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 PVCBINDING.CREATED column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The date and time this record was created.

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 provides access to the PVCBINDING.CREATED column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The date and time this record was created.

Specified by:
setCreated in interface PVCBindingAccessBeanData
Parameters:
newValue - String
Returns:
void

setCreated

public void setCreated(java.sql.Timestamp newValue)

This method provides access to the PVCBINDING.CREATED column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The date and time this record was created.

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

getStatus

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

This method provides access to the PVCBINDING.STATUS column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

The status of the binding. Valid values:&l

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

setStatus

public void setStatus(java.lang.String newValue)

This method provides access to the PVCBINDING.STATUS column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

The status of the binding. Valid values:&l

Specified by:
setStatus in interface PVCBindingAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

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 PVCBINDING.USERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Reference number of a customer who is allowed to log in using a terminal corresponding to PVCSESSION_ID.

Specified by:
getUsersId in interface PVCBindingAccessBeanData
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 PVCBINDING.USERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Reference number of a customer who is allowed to log in using a terminal corresponding to PVCSESSION_ID.

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 provides access to the PVCBINDING.USERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Reference number of a customer who is allowed to log in using a terminal corresponding to PVCSESSION_ID.

Specified by:
setUsersId in interface PVCBindingAccessBeanData
Parameters:
newValue - String
Returns:
void

setUsersId

public void setUsersId(java.lang.Long newValue)

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

The following is a description of this column:

Reference number of a customer who is allowed to log in using a terminal corresponding to PVCSESSION_ID.

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

getPVCBindingId

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

This method provides access to the PVCBINDING.PVCBINDING_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Reference number of a record.

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

getPVCBindingIdInEJBType

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

This method provides access to the PVCBINDING.PVCBINDING_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Reference number of a record.

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

setPVCBindingId

public void setPVCBindingId(java.lang.String newValue)

This method provides access to the PVCBINDING.PVCBINDING_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Reference number of a record.

Specified by:
setPVCBindingId in interface PVCBindingAccessBeanData
Parameters:
newValue - String
Returns:
void

setPVCBindingId

public void setPVCBindingId(java.lang.Long newValue)

This method provides access to the PVCBINDING.PVCBINDING_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Reference number of a record.

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