java.lang.Object | +--com.ibm.commerce.me.beansrc.BuyerSupplierMappingDataBeanBase | +--com.ibm.commerce.me.beans.BuyerSupplierMappingDataBean
This class provides access to BUYSUPMAP table. It extends
BuyerSuplierMappingAccessBean
.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM Internal Copyright field |
protected
CommandContext |
iCommandContext |
protected
java.lang.String |
iDataBeanKeyIBuyerOrganizationId |
protected
java.lang.String |
iDataBeanKeyISupplierOrganizationId |
protected
java.lang.String |
iDataBeanKeyProtocolId |
protected
TypedProperty |
iRequestProperties |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
CommandContext |
getCommandContext() Gets the command context set within this bean. |
java.lang.String |
getDataBeanKeyIBuyerOrganizationId() Returns the buyer organization id |
java.lang.String |
getDataBeanKeyISupplierOrganizationId() Returns the supplier organization id |
java.lang.String |
getDataBeanKeyProtocolId() Retruns 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 BuyerSupplierMappingAccessBean to retrieve data. |
void |
setCommandContext(
CommandContext aCommandContext) Sets the command context within this bean. |
void |
setDataBeanKeyIBuyerOrganizationId(java.lang.String aIBuyerOrganizationId) Sets the buyer organization id to be used during data population |
void |
setDataBeanKeyISupplierOrganizationId(java.lang.String aISupplierOrganizationId) Sets the supplier organization id to be used during data population |
void |
setDataBeanKeyProtocolId(java.lang.String aProtocolId) Sets the protocol id to be used during data population |
void |
setRequestProperties(
TypedProperty aRequestProperty) Sets the request property for this bean. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
protected CommandContext iCommandContext
protected TypedProperty iRequestProperties
protected java.lang.String iDataBeanKeyProtocolId
protected java.lang.String iDataBeanKeyISupplierOrganizationId
protected java.lang.String iDataBeanKeyIBuyerOrganizationId
Constructor Detail |
---|
public BuyerSupplierMappingDataBean(java.lang.String aProtocolId, java.lang.String aISupplierOrganizationId, java.lang.String aIBuyerOrganizationId)
aProtocolId
- protocol idaISupplierOrganizationId
- supplier organization idaIBuyerOrganizationId
- buyer organization idMethod Detail |
---|
public TypedProperty getRequestProperties()
public void setRequestProperties(TypedProperty aRequestProperty) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException
TypedProperty
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
javax.ejb.FinderException
public java.lang.String getDataBeanKeyProtocolId()
public java.lang.String getDataBeanKeyISupplierOrganizationId()
public java.lang.String getDataBeanKeyIBuyerOrganizationId()
public CommandContext getCommandContext()
public void setCommandContext(CommandContext aCommandContext)
aCommandContext
- command context for this
beanpublic void setDataBeanKeyProtocolId(java.lang.String aProtocolId)
aProtocolId
- protocol idpublic void setDataBeanKeyISupplierOrganizationId(java.lang.String aISupplierOrganizationId)
aISupplierOrganizationId
- supplier organization
idpublic void setDataBeanKeyIBuyerOrganizationId(java.lang.String aIBuyerOrganizationId)
aIBuyerOrganizationId
- buyer organizationpublic void populate() throws java.lang.Exception
BuyerSupplierMappingAccessBean
to retrieve data.
java.lang.Exception
- is caught when the access bean raised
any ejb exceptions.