com.ibm.commerce.pvcdevices.beans
Class UserPVCDeviceDataBean
- java.lang.Object
-
- com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
-
- com.ibm.commerce.pvcdevices.objects.UserPVCDeviceAccessBean
-
- com.ibm.commerce.pvcdevices.beansrc.UserPVCDeviceDataBeanBase
-
- com.ibm.commerce.pvcdevices.beans.UserPVCDeviceDataBean
-
- All Implemented Interfaces:
- DataBean, InputDataBean, SmartDataBean, com.ibm.commerce.pvcdevices.beans.UserPVCDeviceInputDataBean, com.ibm.commerce.pvcdevices.beans.UserPVCDeviceSmartDataBean, Delegator, java.io.Serializable
public class UserPVCDeviceDataBean extends com.ibm.commerce.pvcdevices.beansrc.UserPVCDeviceDataBeanBase implements com.ibm.commerce.pvcdevices.beans.UserPVCDeviceInputDataBean, com.ibm.commerce.pvcdevices.beans.UserPVCDeviceSmartDataBean
A databean representing a user's PvC device. This is the information stored in the USERPVCDEV table.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
IBM Copyright notice field.-
Fields inherited from interface com.ibm.commerce.beans.DataBean
emptyString
-
-
Constructor Summary
Constructors Constructor and Description UserPVCDeviceDataBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description CommandContext
getCommandContext()
Gets the command context set within this bean.java.lang.String
getDataBeanKeyUserPVCDeviceId()
Gets the user PvC device identifier.TypedProperty
getRequestProperties()
Gets the request property set within this bean.void
populate()
Retrieves the data from the USERPVCDEV table for the user and session identifier that is stored in the current session object of the request.void
setCommandContext(CommandContext aCommandContext)
Sets the command context within this bean.void
setDataBeanKeyUserPVCDeviceId(java.lang.String aUserPVCDeviceId)
Sets the user PvC device identifier.void
setRequestProperties(TypedProperty aRequestProperty)
Sets the request property within this bean.-
Methods inherited from class com.ibm.commerce.pvcdevices.beansrc.UserPVCDeviceDataBeanBase
getDelegate
-
Methods inherited from class com.ibm.commerce.pvcdevices.objects.UserPVCDeviceAccessBean
findByPVCSessionId, findByUserIdAndPVCSessionId, getAddress1, getAddress1Type, getAddress2, getAddress2Type, getDeviceFormatId, getDeviceFormatIdInEntityType, getDeviceIdentifier, getEntity, getPreferredTimeout, getPreferredTimeoutInEntityType, getProtect, getProtectInEntityType, getPvcsessionId, getPvcsessionIdInEntityType, getTransportId, getTransportIdInEntityType, getUserId, getUserIdInEntityType, getUserPVCDeviceId, getUserPVCDeviceIdInEntityType, instantiateEntity, setAddress1, setAddress1Type, setAddress2, setAddress2Type, setDeviceFormatId, setDeviceFormatId, setDeviceIdentifier, setInitKey_userPVCDeviceId, setPreferredTimeout, setPreferredTimeout, setProtect, setProtect, setPvcsessionId, setPvcsessionId, setTransportId, setTransportId, setUserId, setUserId, setUserPVCDeviceId, setUserPVCDeviceId
-
-
-
-
Field Detail
-
COPYRIGHT
public static final java.lang.String COPYRIGHT
IBM Copyright notice field.- See Also:
- Constant Field Values
-
-
Method Detail
-
getCommandContext
public CommandContext getCommandContext()
Gets the command context set within this bean.- Specified by:
getCommandContext
in interfaceSmartDataBean
- Returns:
- The command context.
-
getDataBeanKeyUserPVCDeviceId
public java.lang.String getDataBeanKeyUserPVCDeviceId()
Gets the user PvC device identifier.- Specified by:
getDataBeanKeyUserPVCDeviceId
in interfacecom.ibm.commerce.pvcdevices.beans.UserPVCDeviceSmartDataBean
- Returns:
- The user PvC device identifier.
-
getRequestProperties
public TypedProperty getRequestProperties()
Gets the request property set within this bean.- Specified by:
getRequestProperties
in interfaceInputDataBean
- Returns:
- The request properties of the databean.
-
populate
public void populate()
Retrieves the data from the USERPVCDEV table for the user and session identifier that is stored in the current session object of the request.- Specified by:
populate
in interfaceSmartDataBean
- Throws:
java.lang.Exception
- if there is a problem retrieving the data from the database.
-
setCommandContext
public void setCommandContext(CommandContext aCommandContext)
Sets the command context within this bean.- Specified by:
setCommandContext
in interfaceSmartDataBean
- Parameters:
aCommandContext
- the command context.
-
setDataBeanKeyUserPVCDeviceId
public void setDataBeanKeyUserPVCDeviceId(java.lang.String aUserPVCDeviceId)
Sets the user PvC device identifier.- Specified by:
setDataBeanKeyUserPVCDeviceId
in interfacecom.ibm.commerce.pvcdevices.beans.UserPVCDeviceInputDataBean
- Parameters:
aUserPVCDeviceId
- the user PvC device identifier.
-
setRequestProperties
public void setRequestProperties(TypedProperty aRequestProperty)
Sets the request property within this bean.- Specified by:
setRequestProperties
in interfaceInputDataBean
- Parameters:
aTypedProperty
- the request properties.
-
-