com.ibm.commerce.me.beans
Class BuyerSupplierMappingDataBean

java.lang.Object
  |
  +--com.ibm.commerce.me.beansrc.BuyerSupplierMappingDataBeanBase
        |
        +--com.ibm.commerce.me.beans.BuyerSupplierMappingDataBean

public class BuyerSupplierMappingDataBean
extends com.ibm.commerce.me.beansrc.BuyerSupplierMappingDataBeanBase

This class provides access to BUYSUPMAP table. It extends BuyerSuplierMappingAccessBean.

See Also:
Serialized Form

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
IBM Internal Copyright field
See Also:
Constant Field Values

iCommandContext

protected CommandContext iCommandContext

iRequestProperties

protected TypedProperty iRequestProperties

iDataBeanKeyProtocolId

protected java.lang.String iDataBeanKeyProtocolId

iDataBeanKeyISupplierOrganizationId

protected java.lang.String iDataBeanKeyISupplierOrganizationId

iDataBeanKeyIBuyerOrganizationId

protected java.lang.String iDataBeanKeyIBuyerOrganizationId
Constructor Detail

BuyerSupplierMappingDataBean

public 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.
Parameters:
aProtocolId - protocol id
aISupplierOrganizationId - supplier organization id
aIBuyerOrganizationId - buyer organization id
Method Detail

getRequestProperties

public TypedProperty getRequestProperties()
Gets the request property set within this bean.
Returns:
the request property set for this data bean

setRequestProperties

public void setRequestProperties(TypedProperty aRequestProperty)
                          throws javax.ejb.CreateException,
                                 java.rmi.RemoteException,
                                 javax.naming.NamingException,
                                 javax.ejb.FinderException
Sets the request property for this bean. It retrievies the NVP for WCSProtocolId, WCSSupplierOrganizationId, WCSBuyerOrganizationId from the TypedProperty
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
javax.ejb.FinderException

getDataBeanKeyProtocolId

public java.lang.String getDataBeanKeyProtocolId()
Retruns the protocol id
Returns:
protocol id

getDataBeanKeyISupplierOrganizationId

public java.lang.String getDataBeanKeyISupplierOrganizationId()
Returns the supplier organization id
Returns:
supplier organization id

getDataBeanKeyIBuyerOrganizationId

public java.lang.String getDataBeanKeyIBuyerOrganizationId()
Returns the buyer organization id
Returns:
buyer organization id

getCommandContext

public CommandContext getCommandContext()
Gets the command context set within this bean.
Returns:
command context for this bean

setCommandContext

public void setCommandContext(CommandContext aCommandContext)
Sets the command context within this bean.
Parameters:
aCommandContext - command context for this bean

setDataBeanKeyProtocolId

public void setDataBeanKeyProtocolId(java.lang.String aProtocolId)
Sets the protocol id to be used during data population
Parameters:
aProtocolId - protocol id

setDataBeanKeyISupplierOrganizationId

public void setDataBeanKeyISupplierOrganizationId(java.lang.String aISupplierOrganizationId)
Sets the supplier organization id to be used during data population
Parameters:
aISupplierOrganizationId - supplier organization id

setDataBeanKeyIBuyerOrganizationId

public void setDataBeanKeyIBuyerOrganizationId(java.lang.String aIBuyerOrganizationId)
Sets the buyer organization id to be used during data population
Parameters:
aIBuyerOrganizationId - buyer organization

populate

public void populate()
              throws java.lang.Exception
Retrieves data from the database, this class calls the parent class BuyerSupplierMappingAccessBean to retrieve data.
Throws:
java.lang.Exception - is caught when the access bean raised any ejb exceptions.