com.ibm.commerce.contract.beans
Class ContractDisplayDataBean
- java.lang.Object
-
- com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
-
- com.ibm.commerce.contract.objects.ContractDisplayAccessBean
-
- com.ibm.commerce.contract.beansrc.ContractDisplayDataBeanBase
-
- com.ibm.commerce.contract.beans.ContractDisplayDataBean
-
- All Implemented Interfaces:
- com.ibm.commerce.beans.DataBean, com.ibm.commerce.beans.InputDataBean, com.ibm.commerce.beans.SmartDataBean, ContractDisplayInputDataBean, ContractDisplaySmartDataBean, com.ibm.commerce.security.Delegator, java.io.Serializable
public class ContractDisplayDataBean extends ContractDisplayDataBeanBase implements ContractDisplayInputDataBean, ContractDisplaySmartDataBean
This data bean represents a contract display object. It displays information for a contract.
Prerequisite parameters: - WCSReferenceNumber: the contract display id
It is used when getting the contract display data from the database.
This data bean maps to the CNTRDISPLY database table.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
The IBM copyright notice field.
-
Constructor Summary
Constructors Constructor and Description ContractDisplayDataBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description com.ibm.commerce.command.CommandContext
getCommandContext()
Gets the command context set within this bean.java.lang.String
getDataBeanKeyReferenceNumber()
Gets the contract display ID.com.ibm.commerce.datatype.TypedProperty
getRequestProperties()
Gets the request property set within this bean.void
populate()
Loads data into the data bean when theDataBeanManager.activate()
runs.void
setCommandContext(com.ibm.commerce.command.CommandContext aCommandContext)
Sets the command context within this bean.void
setDataBeanKeyReferenceNumber(java.lang.String aReferenceNumber)
Sets the contract display ID.void
setRequestProperties(com.ibm.commerce.datatype.TypedProperty aRequestProperty)
Sets the request property within this bean.-
Methods inherited from class com.ibm.commerce.contract.beansrc.ContractDisplayDataBeanBase
getDelegate
-
Methods inherited from class com.ibm.commerce.contract.objects.ContractDisplayAccessBean
findByContract, findByContractDevicefmtAndUser, findByContractDevicefmtAndUser, getContractId, getContractIdInEntityType, getDevicefmtId, getDevicefmtIdInEntityType, getDisplayPageName, getEntity, getParticipantRoleId, getParticipantRoleIdInEntityType, getReferenceNumber, getReferenceNumberInEntityType, instantiateEntity, setDisplayPageName, setInitKey_referenceNumber, setInitKey_referenceNumber, setParticipantRoleId, setParticipantRoleId, setReferenceNumber, setReferenceNumber
-
-
-
-
Field Detail
-
COPYRIGHT
public static final java.lang.String COPYRIGHT
The IBM copyright notice field.- See Also:
- Constant Field Values
-
-
Method Detail
-
getCommandContext
public com.ibm.commerce.command.CommandContext getCommandContext()
Gets the command context set within this bean.- Specified by:
getCommandContext
in interfacecom.ibm.commerce.beans.SmartDataBean
- Returns:
- The command context set within this bean.
-
getDataBeanKeyReferenceNumber
public java.lang.String getDataBeanKeyReferenceNumber()
Gets the contract display ID.- Specified by:
getDataBeanKeyReferenceNumber
in interfaceContractDisplaySmartDataBean
- Returns:
- The contract display ID.
-
getRequestProperties
public com.ibm.commerce.datatype.TypedProperty getRequestProperties()
Gets the request property set within this bean.- Specified by:
getRequestProperties
in interfacecom.ibm.commerce.beans.InputDataBean
- Returns:
- The request property set within this bean.
-
populate
public void populate()
Loads data into the data bean when theDataBeanManager.activate()
runs.- Specified by:
populate
in interfacecom.ibm.commerce.beans.SmartDataBean
- Throws:
java.lang.Exception
- The java.lang.Exception exception.
-
setCommandContext
public void setCommandContext(com.ibm.commerce.command.CommandContext aCommandContext)
Sets the command context within this bean.- Specified by:
setCommandContext
in interfacecom.ibm.commerce.beans.SmartDataBean
- Parameters:
aCommandContext
- The command context set within this bean.
-
setDataBeanKeyReferenceNumber
public void setDataBeanKeyReferenceNumber(java.lang.String aReferenceNumber)
Sets the contract display ID.- Specified by:
setDataBeanKeyReferenceNumber
in interfaceContractDisplayInputDataBean
- Parameters:
aReferenceNumber
- The contract display ID.
-
setRequestProperties
public void setRequestProperties(com.ibm.commerce.datatype.TypedProperty aRequestProperty)
Sets the request property within this bean.- Specified by:
setRequestProperties
in interfacecom.ibm.commerce.beans.InputDataBean
- Parameters:
aRequestProperty
- The request property set within this bean.
-
-