com.ibm.commerce.pvcdevices.objects
Class UserPVCDeviceAccessBean

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

public class UserPVCDeviceAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements UserPVCDeviceAccessBeanData

This bean provides access to the USERPVCDEV table.

The following is a description of this table:

This table contains information for pervasive computing devices used by WebSphere Commerce registered users.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
UserPVCDeviceAccessBean()
          Default constructor.
UserPVCDeviceAccessBean(javax.ejb.EJBObject ejbObject)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
UserPVCDeviceAccessBean(java.lang.Long userId, java.lang.Long deviceIdentifier, java.lang.Integer preferredTimeOut, java.lang.Integer protect)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
UserPVCDeviceAccessBean(java.lang.Long userId, java.lang.String pvcSessionId, java.lang.Integer preferredTimeOut, java.lang.Integer protect)
          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.util.Enumeration findByPVCSessionId(java.lang.Long pvcSessionId)
          Returns the results of the search based of the values of sessionId
 UserPVCDeviceAccessBean findByUserIdAndPVCSessionId(java.lang.Long userId, java.lang.Long sessionId)
          Returns UserPVCDeviceAccessBean based on the specified userId and sessionId
 java.lang.String getAddress1()
          This method provides access to the USERPVCDEV.ADDRESS1 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getAddress1Type()
          This method provides access to the USERPVCDEV.ADDRESS1TYPE column of DB2 type CHAR(3) NULL.
 java.lang.String getAddress2()
          This method provides access to the USERPVCDEV.ADDRESS2 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getAddress2Type()
          This method provides access to the USERPVCDEV.ADDRESS2TYPE column of DB2 type CHAR(3) NULL.
 java.lang.String getDeviceFormatId()
          This method provides access to the USERPVCDEV.DEVICEFMT_ID column of DB2 type INTEGER NULL.
 java.lang.Integer getDeviceFormatIdInEJBType()
          This method provides access to the USERPVCDEV.DEVICEFMT_ID column of DB2 type INTEGER NULL.
 java.lang.String getDeviceIdentifier()
          This method provides access to the USERPVCDEV.DEVICEIDENTIFIER column of DB2 type VARCHAR(254) NULL.
 java.lang.String getPreferredTimeout()
          This method provides access to the USERPVCDEV.PREFERREDTIMEOUT column of DB2 type INTEGER NULL.
 java.lang.Integer getPreferredTimeoutInEJBType()
          This method provides access to the USERPVCDEV.PREFERREDTIMEOUT column of DB2 type INTEGER NULL.
 java.lang.String getProtect()
          This method provides access to the USERPVCDEV.PROTECT column of DB2 type INTEGER NULL.
 java.lang.Integer getProtectInEJBType()
          This method provides access to the USERPVCDEV.PROTECT column of DB2 type INTEGER NULL.
 java.lang.String getPvcsessionId()
          This method provides access to the USERPVCDEV.PVCSESSION_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getPvcsessionIdInEJBType()
          This method provides access to the USERPVCDEV.PVCSESSION_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getTransportId()
          This method provides access to the USERPVCDEV.TRANSPORT_ID column of DB2 type INTEGER NULL.
 java.lang.Integer getTransportIdInEJBType()
          This method provides access to the USERPVCDEV.TRANSPORT_ID column of DB2 type INTEGER NULL.
 java.lang.String getUserId()
          This method provides access to the USERPVCDEV.USERS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getUserIdInEJBType()
          This method provides access to the USERPVCDEV.USERS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getUserPVCDeviceId()
          This method provides access to the USERPVCDEV.USERPVCDEV_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getUserPVCDeviceIdInEJBType()
          This method provides access to the USERPVCDEV.USERPVCDEV_ID column of DB2 type BIGINT NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setAddress1(java.lang.String aAddress1)
          This method provides access to the USERPVCDEV.ADDRESS1 column of DB2 type VARCHAR(254) NULL.
 void setAddress1Type(java.lang.String aAddress1Type)
          This method provides access to the USERPVCDEV.ADDRESS1TYPE column of DB2 type CHAR(3) NULL.
 void setAddress2(java.lang.String aAddress2)
          This method provides access to the USERPVCDEV.ADDRESS2 column of DB2 type VARCHAR(254) NULL.
 void setAddress2Type(java.lang.String aAddress2Type)
          This method provides access to the USERPVCDEV.ADDRESS2TYPE column of DB2 type CHAR(3) NULL.
 void setDeviceFormatId(java.lang.Integer aDeviceFormatId)
          This method provides access to the USERPVCDEV.DEVICEFMT_ID column of DB2 type INTEGER NULL.
 void setDeviceFormatId(java.lang.String aDeviceFormatId)
          This method provides access to the USERPVCDEV.DEVICEFMT_ID column of DB2 type INTEGER NULL.
 void setDeviceIdentifier(java.lang.String aDeviceIdentifier)
          This method provides access to the USERPVCDEV.DEVICEIDENTIFIER column of DB2 type VARCHAR(254) NULL.
 void setInitKey_userPVCDeviceId(java.lang.Long aInitKey_userPVCDeviceId)
          Set the primary key for this object
 void setPreferredTimeout(java.lang.Integer aPreferredTimeout)
          This method provides access to the USERPVCDEV.PREFERREDTIMEOUT column of DB2 type INTEGER NULL.
 void setPreferredTimeout(java.lang.String aPreferredTimeout)
          This method provides access to the USERPVCDEV.PREFERREDTIMEOUT column of DB2 type INTEGER NULL.
 void setProtect(java.lang.Integer aProtect)
          This method provides access to the USERPVCDEV.PROTECT column of DB2 type INTEGER NULL.
 void setProtect(java.lang.String aProtect)
          This method provides access to the USERPVCDEV.PROTECT column of DB2 type INTEGER NULL.
 void setPvcsessionId(java.lang.Long aPvcsessionId)
          This method provides access to the USERPVCDEV.PVCSESSION_ID column of DB2 type BIGINT NOT NULL.
 void setPvcsessionId(java.lang.String aPvcsessionId)
          This method provides access to the USERPVCDEV.PVCSESSION_ID column of DB2 type BIGINT NOT NULL.
 void setTransportId(java.lang.Integer aTransportId)
          This method provides access to the USERPVCDEV.TRANSPORT_ID column of DB2 type INTEGER NULL.
 void setTransportId(java.lang.String aTransportId)
          This method provides access to the USERPVCDEV.TRANSPORT_ID column of DB2 type INTEGER NULL.
 void setUserId(java.lang.Long aUserId)
          This method provides access to the USERPVCDEV.USERS_ID column of DB2 type BIGINT NOT NULL.
 void setUserId(java.lang.String aUserId)
          This method provides access to the USERPVCDEV.USERS_ID column of DB2 type BIGINT NOT NULL.
 void setUserPVCDeviceId(java.lang.Long aUserPVCDeviceId)
          This method provides access to the USERPVCDEV.USERPVCDEV_ID column of DB2 type BIGINT NOT NULL.
 void setUserPVCDeviceId(java.lang.String aUserPVCDeviceId)
          This method provides access to the USERPVCDEV.USERPVCDEV_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

UserPVCDeviceAccessBean

public UserPVCDeviceAccessBean()

Default constructor. Maps to findByPrimaryKey.


UserPVCDeviceAccessBean

public UserPVCDeviceAccessBean(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

UserPVCDeviceAccessBean

public UserPVCDeviceAccessBean(java.lang.Long userId,
                               java.lang.Long deviceIdentifier,
                               java.lang.Integer preferredTimeOut,
                               java.lang.Integer protect)
                        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 userId, device identifier, preferredTimeOut and protect

Parameters:
userId - java.lang.Long
deviceIdentifier - java.lang.Long
preferredTimeOut - java.lang.Integer
protect - java.lang.Integer
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

UserPVCDeviceAccessBean

public UserPVCDeviceAccessBean(java.lang.Long userId,
                               java.lang.String pvcSessionId,
                               java.lang.Integer preferredTimeOut,
                               java.lang.Integer protect)
                        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 userId, pvcSessionId, preferredTimeOut, protect

Parameters:
userId - java.lang.Long
pvcSessionId - java.lang.String
preferredTimeOut - java.lang.Integer
protect - java.lang.Integer
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

findByPVCSessionId

public java.util.Enumeration findByPVCSessionId(java.lang.Long pvcSessionId)
                                         throws java.rmi.RemoteException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

Returns the results of the search based of the values of sessionId

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

findByUserIdAndPVCSessionId

public UserPVCDeviceAccessBean findByUserIdAndPVCSessionId(java.lang.Long userId,
                                                           java.lang.Long sessionId)
                                                    throws java.rmi.RemoteException,
                                                           javax.ejb.FinderException,
                                                           javax.naming.NamingException

Returns UserPVCDeviceAccessBean based on the specified userId and sessionId

Parameters:
userId - java.lang.Long
sessionId - java.lang.Long
Returns:
com.ibm.commerce.pvcdevices.objects.UserPVCDeviceAccessBean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getAddress1

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

This method provides access to the USERPVCDEV.ADDRESS1 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The primary address of the user of the pervasive computing device.

Specified by:
getAddress1 in interface UserPVCDeviceAccessBeanData
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

getAddress1Type

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

This method provides access to the USERPVCDEV.ADDRESS1TYPE column of DB2 type CHAR(3) NULL.

The following is a description of this column:

The type of address for ADDRESS1. Valid values are E (e-mail) or P (phone).

Specified by:
getAddress1Type in interface UserPVCDeviceAccessBeanData
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

getAddress2

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

This method provides access to the USERPVCDEV.ADDRESS2 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

A secondary address for the user of the pervasive computing device.

Specified by:
getAddress2 in interface UserPVCDeviceAccessBeanData
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

getAddress2Type

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

This method provides access to the USERPVCDEV.ADDRESS2TYPE column of DB2 type CHAR(3) NULL.

The following is a description of this column:

The type of address for ADDRESS2. Valid values are E (e-mail) or P (phone).

Specified by:
getAddress2Type in interface UserPVCDeviceAccessBeanData
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

getDeviceFormatId

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

This method provides access to the USERPVCDEV.DEVICEFMT_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

Foreign key to the DEVICEFMT table.

Specified by:
getDeviceFormatId in interface UserPVCDeviceAccessBeanData
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

getDeviceFormatIdInEJBType

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

This method provides access to the USERPVCDEV.DEVICEFMT_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

Foreign key to the DEVICEFMT table.

Returns:
java.lang.Integer
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

getDeviceIdentifier

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

This method provides access to the USERPVCDEV.DEVICEIDENTIFIER column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The terminal identifier of the pervasive computing device. This column is deprecated and is provided for backward compatibility only.

Specified by:
getDeviceIdentifier in interface UserPVCDeviceAccessBeanData
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

getPreferredTimeout

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

This method provides access to the USERPVCDEV.PREFERREDTIMEOUT column of DB2 type INTEGER NULL.

The following is a description of this column:

Time that the session should expire.

Specified by:
getPreferredTimeout in interface UserPVCDeviceAccessBeanData
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

getPreferredTimeoutInEJBType

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

This method provides access to the USERPVCDEV.PREFERREDTIMEOUT column of DB2 type INTEGER NULL.

The following is a description of this column:

Time that the session should expire.

Returns:
java.lang.Integer
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

getProtect

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

This method provides access to the USERPVCDEV.PROTECT column of DB2 type INTEGER NULL.

The following is a description of this column:

Protect commands which are listed in URLREG table. Valid values are 1 (yes) or 0 (no). If not provided, 1 is used as the default.

Specified by:
getProtect in interface UserPVCDeviceAccessBeanData
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

getProtectInEJBType

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

This method provides access to the USERPVCDEV.PROTECT column of DB2 type INTEGER NULL.

The following is a description of this column:

Protect commands which are listed in URLREG table. Valid values are 1 (yes) or 0 (no). If not provided, 1 is used as the default.

Returns:
java.lang.Integer
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

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

The following is a description of this column:

Reference to the pervasive computing device which the user uses to log in. Foreign key to PVCSESSION_ID in PVCSESSION table.

Specified by:
getPvcsessionId in interface UserPVCDeviceAccessBeanData
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

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

The following is a description of this column:

Reference to the pervasive computing device which the user uses to log in. Foreign key to PVCSESSION_ID in PVCSESSION table.

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

getTransportId

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

This method provides access to the USERPVCDEV.TRANSPORT_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

Foreign key to the TRANSPORT table.

Specified by:
getTransportId in interface UserPVCDeviceAccessBeanData
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

getTransportIdInEJBType

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

This method provides access to the USERPVCDEV.TRANSPORT_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

Foreign key to the TRANSPORT table.

Returns:
java.lang.Integer
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

getUserId

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

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

The following is a description of this column:

Foreign key to the USERS table for the registered user who owns this PVC device.

Specified by:
getUserId in interface UserPVCDeviceAccessBeanData
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

getUserIdInEJBType

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

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

The following is a description of this column:

Foreign key to the USERS table for the registered user who owns this PVC device.

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

getUserPVCDeviceId

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

This method provides access to the USERPVCDEV.USERPVCDEV_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Primary key, internally generated.

Specified by:
getUserPVCDeviceId in interface UserPVCDeviceAccessBeanData
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

getUserPVCDeviceIdInEJBType

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

This method provides access to the USERPVCDEV.USERPVCDEV_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Primary key, internally generated.

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

setAddress1

public void setAddress1(java.lang.String aAddress1)

This method provides access to the USERPVCDEV.ADDRESS1 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The primary address of the user of the pervasive computing device.

Specified by:
setAddress1 in interface UserPVCDeviceAccessBeanData
Parameters:
aAddress1 - java.lang.String
Returns:
void

setAddress1Type

public void setAddress1Type(java.lang.String aAddress1Type)

This method provides access to the USERPVCDEV.ADDRESS1TYPE column of DB2 type CHAR(3) NULL.

The following is a description of this column:

The type of address for ADDRESS1. Valid values are E (e-mail) or P (phone).

Specified by:
setAddress1Type in interface UserPVCDeviceAccessBeanData
Parameters:
aAddress1Type - java.lang.String
Returns:
void

setAddress2

public void setAddress2(java.lang.String aAddress2)

This method provides access to the USERPVCDEV.ADDRESS2 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

A secondary address for the user of the pervasive computing device.

Specified by:
setAddress2 in interface UserPVCDeviceAccessBeanData
Parameters:
aAddress2 - java.lang.String
Returns:
void

setAddress2Type

public void setAddress2Type(java.lang.String aAddress2Type)

This method provides access to the USERPVCDEV.ADDRESS2TYPE column of DB2 type CHAR(3) NULL.

The following is a description of this column:

The type of address for ADDRESS2. Valid values are E (e-mail) or P (phone).

Specified by:
setAddress2Type in interface UserPVCDeviceAccessBeanData
Parameters:
aAddress2Type - java.lang.String
Returns:
void

setDeviceFormatId

public void setDeviceFormatId(java.lang.Integer aDeviceFormatId)

This method provides access to the USERPVCDEV.DEVICEFMT_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

Foreign key to the DEVICEFMT table.

Parameters:
aDeviceFormatId - java.lang.Integer
Returns:
void

setDeviceFormatId

public void setDeviceFormatId(java.lang.String aDeviceFormatId)

This method provides access to the USERPVCDEV.DEVICEFMT_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

Foreign key to the DEVICEFMT table.

Specified by:
setDeviceFormatId in interface UserPVCDeviceAccessBeanData
Parameters:
aDeviceFormatId - java.lang.String
Returns:
void

setDeviceIdentifier

public void setDeviceIdentifier(java.lang.String aDeviceIdentifier)

This method provides access to the USERPVCDEV.DEVICEIDENTIFIER column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The terminal identifier of the pervasive computing device. This column is deprecated and is provided for backward compatibility only.

Specified by:
setDeviceIdentifier in interface UserPVCDeviceAccessBeanData
Parameters:
aDeviceIdentifier - java.lang.String
Returns:
void

setInitKey_userPVCDeviceId

public void setInitKey_userPVCDeviceId(java.lang.Long aInitKey_userPVCDeviceId)

Set the primary key for this object

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

setPreferredTimeout

public void setPreferredTimeout(java.lang.Integer aPreferredTimeout)

This method provides access to the USERPVCDEV.PREFERREDTIMEOUT column of DB2 type INTEGER NULL.

The following is a description of this column:

Time that the session should expire.

Parameters:
aPreferredTimeout - java.lang.Integer
Returns:
void

setPreferredTimeout

public void setPreferredTimeout(java.lang.String aPreferredTimeout)

This method provides access to the USERPVCDEV.PREFERREDTIMEOUT column of DB2 type INTEGER NULL.

The following is a description of this column:

Time that the session should expire.

Specified by:
setPreferredTimeout in interface UserPVCDeviceAccessBeanData
Parameters:
aPreferredTimeout - java.lang.String
Returns:
void

setProtect

public void setProtect(java.lang.Integer aProtect)

This method provides access to the USERPVCDEV.PROTECT column of DB2 type INTEGER NULL.

The following is a description of this column:

Protect commands which are listed in URLREG table. Valid values are 1 (yes) or 0 (no). If not provided, 1 is used as the default.

Parameters:
aProtect - java.lang.Integer
Returns:
void

setProtect

public void setProtect(java.lang.String aProtect)

This method provides access to the USERPVCDEV.PROTECT column of DB2 type INTEGER NULL.

The following is a description of this column:

Protect commands which are listed in URLREG table. Valid values are 1 (yes) or 0 (no). If not provided, 1 is used as the default.

Specified by:
setProtect in interface UserPVCDeviceAccessBeanData
Parameters:
aProtect - java.lang.String
Returns:
void

setPvcsessionId

public void setPvcsessionId(java.lang.Long aPvcsessionId)

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

The following is a description of this column:

Reference to the pervasive computing device which the user uses to log in. Foreign key to PVCSESSION_ID in PVCSESSION table.

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

setPvcsessionId

public void setPvcsessionId(java.lang.String aPvcsessionId)

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

The following is a description of this column:

Reference to the pervasive computing device which the user uses to log in. Foreign key to PVCSESSION_ID in PVCSESSION table.

Specified by:
setPvcsessionId in interface UserPVCDeviceAccessBeanData
Parameters:
aPvcsessionId - java.lang.String
Returns:
void

setTransportId

public void setTransportId(java.lang.Integer aTransportId)

This method provides access to the USERPVCDEV.TRANSPORT_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

Foreign key to the TRANSPORT table.

Parameters:
aTransportId - java.lang.Integer
Returns:
void

setTransportId

public void setTransportId(java.lang.String aTransportId)

This method provides access to the USERPVCDEV.TRANSPORT_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

Foreign key to the TRANSPORT table.

Specified by:
setTransportId in interface UserPVCDeviceAccessBeanData
Parameters:
aTransportId - java.lang.String
Returns:
void

setUserId

public void setUserId(java.lang.Long aUserId)

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

The following is a description of this column:

Foreign key to the USERS table for the registered user who owns this PVC device.

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

setUserId

public void setUserId(java.lang.String aUserId)

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

The following is a description of this column:

Foreign key to the USERS table for the registered user who owns this PVC device.

Specified by:
setUserId in interface UserPVCDeviceAccessBeanData
Parameters:
aUserId - java.lang.String
Returns:
void

setUserPVCDeviceId

public void setUserPVCDeviceId(java.lang.Long aUserPVCDeviceId)

This method provides access to the USERPVCDEV.USERPVCDEV_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Primary key, internally generated.

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

setUserPVCDeviceId

public void setUserPVCDeviceId(java.lang.String aUserPVCDeviceId)

This method provides access to the USERPVCDEV.USERPVCDEV_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Primary key, internally generated.

Specified by:
setUserPVCDeviceId in interface UserPVCDeviceAccessBeanData
Parameters:
aUserPVCDeviceId - java.lang.String
Returns:
void