|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.pvcdevices.objects.PVCDeviceModelAccessBean
This bean provides access to the PVCDEVMDL table.
The following is a description of this table:
This table stores device model information. Records will be looked up by value returned by the WebSphere Commerce pervasive computing (PvC) adapter. Each subclass of PVCAdapterImpl is responsible to get a device model name from the HTTP request.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
PVCDeviceModelAccessBean()
Default constructor. |
|
PVCDeviceModelAccessBean(javax.ejb.EJBObject ejbObject)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
PVCDeviceModelAccessBean(java.lang.String modelName,
java.lang.String sessionType)
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). |
PVCDeviceModelAccessBean |
findBySessionTypeAndDefaultModelName(java.lang.String sessionType)
Returns PVCDeviceModelAccessBean found on base of provided values for SessionType and DefaultModelName |
PVCDeviceModelAccessBean |
findBySessionTypeAndModelName(java.lang.String sessionType,
java.lang.String modelName)
Returns PVCDeviceModelAccessBean found based on provided SessionType and ModelName |
java.lang.String |
getDescription()
This method provides access to the PVCDEVMDL.DESCRIPTION column of DB2 type VARCHAR(128) NULL. |
java.lang.String |
getDeviceModelId()
This method provides access to the PVCDEVMDL.MODEL_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getDeviceModelIdInEJBType()
This method provides access to the PVCDEVMDL.MODEL_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getDevModelName()
This method provides access to the PVCDEVMDL.DEVMDLNAME column of DB2 type VARCHAR(128) NULL. |
java.lang.String |
getModelName()
This method provides access to the PVCDEVMDL.MODELNAME column of DB2 type VARCHAR(40) NULL. |
java.lang.String |
getSessionType()
This method provides access to the PVCDEVMDL.SESSIONTYPE column of DB2 type VARCHAR(32) NOT NULL. |
java.lang.String |
getVendorName()
This method provides access to the PVCDEVMDL.VENDOR column of DB2 type VARCHAR(80) NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setDescription(java.lang.String aDescription)
This method provides access to the PVCDEVMDL.DESCRIPTION column of DB2 type VARCHAR(128) NULL. |
void |
setDeviceModelId(java.lang.Integer aDeviceModelId)
This method provides access to the PVCDEVMDL.MODEL_ID column of DB2 type INTEGER NOT NULL. |
void |
setDeviceModelId(java.lang.String aDeviceModelId)
This method provides access to the PVCDEVMDL.MODEL_ID column of DB2 type INTEGER NOT NULL. |
void |
setDevModelName(java.lang.String aDevModelName)
This method provides access to the PVCDEVMDL.DEVMDLNAME column of DB2 type VARCHAR(128) NULL. |
void |
setInitKey_deviceModelId(java.lang.String aInitKey_deviceModelId)
Set the primary key for this object |
void |
setModelName(java.lang.String aModelName)
This method provides access to the PVCDEVMDL.MODELNAME column of DB2 type VARCHAR(40) NULL. |
void |
setSessionType(java.lang.String aSessionType)
This method provides access to the PVCDEVMDL.SESSIONTYPE column of DB2 type VARCHAR(32) NOT NULL. |
void |
setVendorName(java.lang.String aVendorName)
This method provides access to the PVCDEVMDL.VENDOR column of DB2 type VARCHAR(80) 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 |
public PVCDeviceModelAccessBean()
Default constructor. Maps to findByPrimaryKey.
public PVCDeviceModelAccessBean(javax.ejb.EJBObject ejbObject) throws java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
ejbObject
- javax.ejb.EJBObjectjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic PVCDeviceModelAccessBean(java.lang.String modelName, java.lang.String sessionType) 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 Model Name and Session Type
modelName
- java.lang.StringsessionType
- java.lang.Stringjavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic PVCDeviceModelAccessBean findBySessionTypeAndDefaultModelName(java.lang.String sessionType) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns PVCDeviceModelAccessBean found on base of provided values for SessionType and DefaultModelName
sessionType
- java.lang.Stringjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic PVCDeviceModelAccessBean findBySessionTypeAndModelName(java.lang.String sessionType, java.lang.String modelName) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns PVCDeviceModelAccessBean found based on provided SessionType and ModelName
sessionType
- java.lang.StringmodelName
- java.lang.Stringjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCDEVMDL.DESCRIPTION column of DB2 type VARCHAR(128) NULL.
The following is a description of this column:
Short description of the device model.
getDescription
in interface PVCDeviceModelAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getDeviceModelId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCDEVMDL.MODEL_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Reference number.
getDeviceModelId
in interface PVCDeviceModelAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getDeviceModelIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCDEVMDL.MODEL_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Reference number.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getDevModelName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCDEVMDL.DEVMDLNAME column of DB2 type VARCHAR(128) NULL.
The following is a description of this column:
The model name. A NULL value means default for devices which have the same SESSION_TYPE.
getDevModelName
in interface PVCDeviceModelAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getModelName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCDEVMDL.MODELNAME column of DB2 type VARCHAR(40) NULL.
The following is a description of this column:
Model name (Empty string means default for devices which have same SESSION_TYPE.) This column is deprecated and is provided for backward compatibility only.
getModelName
in interface PVCDeviceModelAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getSessionType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCDEVMDL.SESSIONTYPE column of DB2 type VARCHAR(32) NOT NULL.
The following is a description of this column:
Type of carrier. For example, iMode.
getSessionType
in interface PVCDeviceModelAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getVendorName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCDEVMDL.VENDOR column of DB2 type VARCHAR(80) NULL.
The following is a description of this column:
Vendor name of this model.
getVendorName
in interface PVCDeviceModelAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setDescription(java.lang.String aDescription)
This method provides access to the PVCDEVMDL.DESCRIPTION column of DB2 type VARCHAR(128) NULL.
The following is a description of this column:
Short description of the device model.
setDescription
in interface PVCDeviceModelAccessBeanData
aDescription
- java.lang.Stringpublic void setDeviceModelId(java.lang.Integer aDeviceModelId)
This method provides access to the PVCDEVMDL.MODEL_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Reference number.
aDeviceModelId
- java.lang.Integerpublic void setDeviceModelId(java.lang.String aDeviceModelId)
This method provides access to the PVCDEVMDL.MODEL_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Reference number.
setDeviceModelId
in interface PVCDeviceModelAccessBeanData
aDeviceModelId
- java.lang.Stringpublic void setDevModelName(java.lang.String aDevModelName)
This method provides access to the PVCDEVMDL.DEVMDLNAME column of DB2 type VARCHAR(128) NULL.
The following is a description of this column:
The model name. A NULL value means default for devices which have the same SESSION_TYPE.
setDevModelName
in interface PVCDeviceModelAccessBeanData
aDevModelName
- java.lang.Stringpublic void setInitKey_deviceModelId(java.lang.String aInitKey_deviceModelId)
Set the primary key for this object
aInitKey_deviceModelId
- java.lang.Stringpublic void setModelName(java.lang.String aModelName)
This method provides access to the PVCDEVMDL.MODELNAME column of DB2 type VARCHAR(40) NULL.
The following is a description of this column:
Model name (Empty string means default for devices which have same SESSION_TYPE.) This column is deprecated and is provided for backward compatibility only.
setModelName
in interface PVCDeviceModelAccessBeanData
aModelName
- java.lang.Stringpublic void setSessionType(java.lang.String aSessionType)
This method provides access to the PVCDEVMDL.SESSIONTYPE column of DB2 type VARCHAR(32) NOT NULL.
The following is a description of this column:
Type of carrier. For example, iMode.
setSessionType
in interface PVCDeviceModelAccessBeanData
aSessionType
- java.lang.Stringpublic void setVendorName(java.lang.String aVendorName)
This method provides access to the PVCDEVMDL.VENDOR column of DB2 type VARCHAR(80) NULL.
The following is a description of this column:
Vendor name of this model.
setVendorName
in interface PVCDeviceModelAccessBeanData
aVendorName
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |