public class ProcurementMessageViewDataBean
extends com.ibm.commerce.me.beansrc.ProcurementMessageViewDataBeanBase
implements com.ibm.commerce.me.beans.ProcurementMessageViewInputDataBean, com.ibm.commerce.me.beans.ProcurementMessageViewSmartDataBean
ProcurementMessageViewAccessBean
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM internal copyright field
|
emptyString
Constructor and Description |
---|
ProcurementMessageViewDataBean(java.lang.String aProtocolId,
java.lang.String aMessageName,
java.lang.String aOrganizationId)
Databean constructor.
|
Modifier and Type | Method and Description |
---|---|
CommandContext |
getCommandContext()
Gets the command context set within this bean.
|
java.lang.String |
getDataBeanKeyMessageName()
Gets the message view name
|
java.lang.String |
getDataBeanKeyOrganizationId()
Gets the organization id
|
java.lang.String |
getDataBeanKeyProtocolId()
Gets the protocol id
|
TypedProperty |
getRequestProperties()
Gets the request property set within this bean.
|
void |
populate()
Retrieves data from the database, this class calls the parent class
ProcurementMessageViewAccessBean to retrieve data. |
void |
setCommandContext(CommandContext aCommandContext)
Sets the command context within this bean.
|
void |
setDataBeanKeyMessageName(java.lang.String aMessageName)
Sets the message name
|
void |
setDataBeanKeyOrganizationId(java.lang.String aOrganizationId)
Sets the organization id
|
void |
setDataBeanKeyProtocolId(java.lang.String aProtocolId)
Sets the protocol id
|
void |
setRequestProperties(TypedProperty aRequestProperty)
Sets the request property within this bean.
|
getDelegate
getEntity, getErrorView, getMessageName, getOrganizationId, getOrganizationIdInEntityType, getProtocolId, getProtocolIdInEntityType, getViewName, instantiateEntity, setErrorView, setInitKey_messageName, setInitKey_organizationId, setInitKey_organizationId, setInitKey_protocolId, setInitKey_protocolId, setMessageName, setOrganizationId, setOrganizationId, setProtocolId, setProtocolId, setViewName
public static final java.lang.String COPYRIGHT
public ProcurementMessageViewDataBean(java.lang.String aProtocolId, java.lang.String aMessageName, java.lang.String aOrganizationId)
aProtocolId
- protocol idaMessageName
- message nameaOrganizationId
- organization idpublic TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
public void setRequestProperties(TypedProperty aRequestProperty)
TypedProperty
setRequestProperties
in interface InputDataBean
aTypedProperty
- request property containing input parameters for this
data bean
WCSProtocolId maps to the protocol id
WCSOrganizationId maps to the buyer organization id
WCSMessageName maps to the message namepublic java.lang.String getDataBeanKeyProtocolId()
getDataBeanKeyProtocolId
in interface com.ibm.commerce.me.beans.ProcurementMessageViewSmartDataBean
public java.lang.String getDataBeanKeyMessageName()
getDataBeanKeyMessageName
in interface com.ibm.commerce.me.beans.ProcurementMessageViewSmartDataBean
public java.lang.String getDataBeanKeyOrganizationId()
getDataBeanKeyOrganizationId
in interface com.ibm.commerce.me.beans.ProcurementMessageViewSmartDataBean
public CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
public void setCommandContext(CommandContext aCommandContext)
setCommandContext
in interface SmartDataBean
aCommandContext
- command context to be used by this classpublic void setDataBeanKeyProtocolId(java.lang.String aProtocolId)
setDataBeanKeyProtocolId
in interface com.ibm.commerce.me.beans.ProcurementMessageViewInputDataBean
aProtocolId
- protocol idpublic void setDataBeanKeyMessageName(java.lang.String aMessageName)
setDataBeanKeyMessageName
in interface com.ibm.commerce.me.beans.ProcurementMessageViewInputDataBean
aMessageName
- message view namepublic void setDataBeanKeyOrganizationId(java.lang.String aOrganizationId)
setDataBeanKeyOrganizationId
in interface com.ibm.commerce.me.beans.ProcurementMessageViewInputDataBean
aOrganizationId
- organization idpublic void populate()
ProcurementMessageViewAccessBean
to retrieve data.populate
in interface SmartDataBean
java.lang.Exception
- is caught when the access bean raised
any EJB exceptions.