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 relationship between a customer and a terminal for pervasive computing. This access bean corresponds to the database table 'PVCBINDING'.

See Also:
Serialized Form

Constructor Summary
PVCBindingAccessBean()
Zero argument constructor used to initialize the access bean.
PVCBindingAccessBean(javax.ejb.EJBObject o)
constructor
PVCBindingAccessBean(java.lang.Long arg1, java.lang.Long 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()
PVCBindingAccessBean findActiveByPVCSessionId(java.lang.Long aPVCSessionId)
Returns PVCBinding found by the search on provided value of PVCSessionId
PVCBindingAccessBean findActiveByUserId(java.lang.Long aUserId)
Returns PVCBinding found by the search based on aUserId
PVCBindingAccessBean findActiveByUserIdAndPVCSessionId(java.lang.Long aUserId, java.lang.Long aPVCSessionId)
Returns PVCBinding found by the search based on aUserId and PVCSessionId
java.util.Enumeration findByPVCSessionIdAndStatus(java.lang.Long aPVCSessionId, java.lang.String aStatus)
Returns results of the search based on the provided values of SessioID and Status
java.util.Enumeration findByUserIdAndStatus(java.lang.Long aUserId, java.lang.String aStatus)
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 accesses a non-CMP field
void setCreated(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setInitKey_PVCBindingId(java.lang.Long newValue)
Set the primary key for this object
void setPVCBindingId(java.lang.Long newValue)
This method accesses a non-CMP field
void setPVCBindingId(java.lang.String 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 setStatus(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

PVCBindingAccessBean

public PVCBindingAccessBean()
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.PVCBinding com.ibm.commerce.pvcdevices.objimpl.PVCBindingHomeBase.findByPrimaryKey(com.ibm.commerce.pvcdevices.objects.PVCBindingKey) 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_PVCBindingId( java.lang.Long )

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 arg1,
                            java.lang.Long 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

Bean is created based on the provided arg2 and PVCSessionID

Parameters:
arg1 - java.lang.Long - pvc session ID
arg2 - java.lang.Long - user Id
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

findActiveByPVCSessionId

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

Returns PVCBinding found by the search on provided value of PVCSessionId

Parameters:
aPVCSessionId - java.lang.Long - the pvc session id
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 aUserId)
                                        throws java.rmi.RemoteException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

Returns PVCBinding found by the search based on aUserId

Parameters:
aUserId - java.lang.Long - the user Id
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 aUserId,
                                                              java.lang.Long aPVCSessionId)
                                                       throws java.rmi.RemoteException,
                                                              javax.ejb.FinderException,
                                                              javax.naming.NamingException

Returns PVCBinding found by the search based on aUserId and PVCSessionId

Parameters:
aUserId - java.lang.Long - the user Id
aPVCSessionId - java.lang.Long - the pvc session Id
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 aPVCSessionId,
                                                         java.lang.String aStatus)
                                                  throws java.rmi.RemoteException,
                                                         javax.ejb.FinderException,
                                                         javax.naming.NamingException

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

Parameters:
aPVCSessionId - java.lang.Long - the session Id
aStatus - java.lang.String - the 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

findByUserIdAndStatus

public java.util.Enumeration findByUserIdAndStatus(java.lang.Long aUserId,
                                                   java.lang.String aStatus)
                                            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

Parameters:
aUserId - java.lang.Long - user Id
aStatus - java.lang.String - aStatus value
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:

The identifier of the terminal used for pervasive computing.

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:

The identifier of the terminal used for pervasive computing.

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 accesses a non-CMP field
Specified by:
setPVCSessionId in interface PVCBindingAccessBeanData

setPVCSessionId

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

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 accesses a non-CMP field
Specified by:
setCreated in interface PVCBindingAccessBeanData

setCreated

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

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 are as follows:&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 accesses a non-CMP field
Specified by:
setStatus in interface PVCBindingAccessBeanData

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:

The reference number of a customer who is allowed to log in using a terminal corresponding to the 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:

The reference number of a customer who is allowed to log in using a terminal corresponding to the 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 accesses a non-CMP field
Specified by:
setUsersId in interface PVCBindingAccessBeanData

setUsersId

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

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:

The 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:

The 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 accesses a non-CMP field
Specified by:
setPVCBindingId in interface PVCBindingAccessBeanData

setPVCBindingId

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

Feedback