public class BuyerSupplierMappingDataBean
extends com.ibm.commerce.me.beansrc.BuyerSupplierMappingDataBeanBase
implements com.ibm.commerce.me.beans.BuyerSupplierMappingInputDataBean, com.ibm.commerce.me.beans.BuyerSupplierMappingSmartDataBean
BuyerSuplierMappingAccessBean
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Internal Copyright field
|
emptyString
Constructor and Description |
---|
BuyerSupplierMappingDataBean(java.lang.String aProtocolId,
java.lang.String aISupplierOrganizationId,
java.lang.String aIBuyerOrganizationId)
BuyerSupplierMappingDataBean constructor, it requires the protocol, supplier, and buyer to identify
a mapping in the table.
|
Modifier and Type | Method and Description |
---|---|
CommandContext |
getCommandContext()
This method gets the command context set within this bean.
|
java.lang.String |
getDataBeanKeyIBuyerOrganizationId()
This method returns the buyer organization ID.
|
java.lang.String |
getDataBeanKeyISupplierOrganizationId()
This method returns the supplier organization ID.
|
java.lang.String |
getDataBeanKeyProtocolId()
This method returns the protocol ID.
|
TypedProperty |
getRequestProperties()
This method returns the request property set within this data bean.
|
void |
populate()
This method calls the parent class
BuyerSupplierMappingAccessBean to retrieve data. |
void |
setCommandContext(CommandContext aCommandContext)
This method sets the command context within this bean.
|
void |
setDataBeanKeyIBuyerOrganizationId(java.lang.String aIBuyerOrganizationId)
This method sets the buyer organization ID to use during data population.
|
void |
setDataBeanKeyISupplierOrganizationId(java.lang.String aISupplierOrganizationId)
This method sets the supplier organization ID to use during data population.
|
void |
setDataBeanKeyProtocolId(java.lang.String aProtocolId)
This method sets the protocol ID to use during data population.
|
void |
setRequestProperties(TypedProperty aRequestProperty)
This method sets the request property for this bean.
|
getDelegate
findByBuyerId, findBySupplierId, getBuyerOrganizationId, getBuyerOrganizationIdInEntityType, getCatalogId, getCatalogIdInEntityType, getContractId, getContractIdInEntityType, getEntity, getField1, getField2, getField3, getMemberGroupId, getMemberGroupIdInEntityType, getProtocolId, getProtocolIdInEntityType, getSupplierOrganizationId, getSupplierOrganizationIdInEntityType, instantiateEntity, setBuyerOrganizationId, setBuyerOrganizationId, setCatalogId, setCatalogId, setContractId, setContractId, setField1, setField2, setField3, setInitKey_iBuyerOrganizationId, setInitKey_iBuyerOrganizationId, setInitKey_iSupplierOrganizationId, setInitKey_iSupplierOrganizationId, setInitKey_protocolId, setInitKey_protocolId, setMemberGroupId, setMemberGroupId, setProtocolId, setProtocolId, setSupplierOrganizationId, setSupplierOrganizationId
public static final java.lang.String COPYRIGHT
public BuyerSupplierMappingDataBean(java.lang.String aProtocolId, java.lang.String aISupplierOrganizationId, java.lang.String aIBuyerOrganizationId)
aProtocolId
- The protocol IDaISupplierOrganizationId
- The supplier organization IDaIBuyerOrganizationId
- The buyer 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.
public java.lang.String getDataBeanKeyProtocolId()
getDataBeanKeyProtocolId
in interface com.ibm.commerce.me.beans.BuyerSupplierMappingSmartDataBean
public java.lang.String getDataBeanKeyISupplierOrganizationId()
getDataBeanKeyISupplierOrganizationId
in interface com.ibm.commerce.me.beans.BuyerSupplierMappingSmartDataBean
public java.lang.String getDataBeanKeyIBuyerOrganizationId()
getDataBeanKeyIBuyerOrganizationId
in interface com.ibm.commerce.me.beans.BuyerSupplierMappingSmartDataBean
public CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
public void setCommandContext(CommandContext aCommandContext)
setCommandContext
in interface SmartDataBean
aCommandContext
- command context for this beanpublic void setDataBeanKeyProtocolId(java.lang.String aProtocolId)
setDataBeanKeyProtocolId
in interface com.ibm.commerce.me.beans.BuyerSupplierMappingInputDataBean
aProtocolId
- protocol IDpublic void setDataBeanKeyISupplierOrganizationId(java.lang.String aISupplierOrganizationId)
setDataBeanKeyISupplierOrganizationId
in interface com.ibm.commerce.me.beans.BuyerSupplierMappingInputDataBean
aISupplierOrganizationId
- supplier organization IDpublic void setDataBeanKeyIBuyerOrganizationId(java.lang.String aIBuyerOrganizationId)
setDataBeanKeyIBuyerOrganizationId
in interface com.ibm.commerce.me.beans.BuyerSupplierMappingInputDataBean
aIBuyerOrganizationId
- buyer organizationpublic void populate()
BuyerSupplierMappingAccessBean
to retrieve data.populate
in interface SmartDataBean
java.lang.Exception
- is caught when the access bean raises
any EJB exceptions.