com.ibm.commerce.me.beans

Class BuyerSupplierMappingDataBean

  • java.lang.Object
    • com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • com.ibm.commerce.me.objects.BuyerSupplierMappingAccessBean
        • com.ibm.commerce.me.beansrc.BuyerSupplierMappingDataBeanBase
          • com.ibm.commerce.me.beans.BuyerSupplierMappingDataBean
  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, com.ibm.commerce.me.beans.BuyerSupplierMappingInputDataBean, com.ibm.commerce.me.beans.BuyerSupplierMappingSmartDataBean, Delegator, java.io.Serializable


    public class BuyerSupplierMappingDataBean
    extends com.ibm.commerce.me.beansrc.BuyerSupplierMappingDataBeanBase
    implements com.ibm.commerce.me.beans.BuyerSupplierMappingInputDataBean, com.ibm.commerce.me.beans.BuyerSupplierMappingSmartDataBean
    This class provides access to the BUYSUPMAP table. It extends BuyerSuplierMappingAccessBean.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Internal Copyright field
    • Constructor Summary

      Constructors 
      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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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.
      • Methods inherited from class com.ibm.commerce.me.beansrc.BuyerSupplierMappingDataBeanBase

        getDelegate
      • Methods inherited from class com.ibm.commerce.me.objects.BuyerSupplierMappingAccessBean

        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
      • Methods inherited from class com.ibm.commerce.persistence.AbstractJpaEntityAccessBean

        createAccessBean, createAccessBean, createAccessBeanCollection, createAccessBeanCollection, createEntityCollection, detach, remove, setUseDataCache, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Internal Copyright field
        See Also:
        Constant Field Values
    • 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 - The protocol ID
        aISupplierOrganizationId - The supplier organization ID
        aIBuyerOrganizationId - The buyer organization ID
    • Method Detail

      • getRequestProperties

        public TypedProperty getRequestProperties()
        This method returns the request property set within this data bean.
        Specified by:
        getRequestProperties in interface InputDataBean
        Returns:
        the request property set for this data bean
      • setRequestProperties

        public void setRequestProperties(TypedProperty aRequestProperty)
        This method sets the request property for this bean. It retrieves the name-value pair for WCSProtocolId, WCSSupplierOrganizationId, and WCSBuyerOrganizationId from the TypedProperty
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        aTypedProperty - request property containing input parameters for this data bean.
        • WCSProtocolId maps to the protocol ID
        • WCSSupplierOrganizationId maps to the supplier organization ID
        • WCSBuyerOrganizationId maps to the buyer organization ID
      • getDataBeanKeyProtocolId

        public java.lang.String getDataBeanKeyProtocolId()
        This method returns the protocol ID.
        Specified by:
        getDataBeanKeyProtocolId in interface com.ibm.commerce.me.beans.BuyerSupplierMappingSmartDataBean
        Returns:
        protocol ID
      • getDataBeanKeyISupplierOrganizationId

        public java.lang.String getDataBeanKeyISupplierOrganizationId()
        This method returns the supplier organization ID.
        Specified by:
        getDataBeanKeyISupplierOrganizationId in interface com.ibm.commerce.me.beans.BuyerSupplierMappingSmartDataBean
        Returns:
        supplier organization ID
      • getDataBeanKeyIBuyerOrganizationId

        public java.lang.String getDataBeanKeyIBuyerOrganizationId()
        This method returns the buyer organization ID.
        Specified by:
        getDataBeanKeyIBuyerOrganizationId in interface com.ibm.commerce.me.beans.BuyerSupplierMappingSmartDataBean
        Returns:
        buyer organization ID
      • getCommandContext

        public CommandContext getCommandContext()
        This method gets the command context set within this bean.
        Specified by:
        getCommandContext in interface SmartDataBean
        Returns:
        command context for this bean
      • setCommandContext

        public void setCommandContext(CommandContext aCommandContext)
        This method sets the command context within this bean.
        Specified by:
        setCommandContext in interface SmartDataBean
        Parameters:
        aCommandContext - command context for this bean
      • setDataBeanKeyProtocolId

        public void setDataBeanKeyProtocolId(java.lang.String aProtocolId)
        This method sets the protocol ID to use during data population.
        Specified by:
        setDataBeanKeyProtocolId in interface com.ibm.commerce.me.beans.BuyerSupplierMappingInputDataBean
        Parameters:
        aProtocolId - protocol ID
      • setDataBeanKeyISupplierOrganizationId

        public void setDataBeanKeyISupplierOrganizationId(java.lang.String aISupplierOrganizationId)
        This method sets the supplier organization ID to use during data population.
        Specified by:
        setDataBeanKeyISupplierOrganizationId in interface com.ibm.commerce.me.beans.BuyerSupplierMappingInputDataBean
        Parameters:
        aISupplierOrganizationId - supplier organization ID
      • setDataBeanKeyIBuyerOrganizationId

        public void setDataBeanKeyIBuyerOrganizationId(java.lang.String aIBuyerOrganizationId)
        This method sets the buyer organization ID to use during data population.
        Specified by:
        setDataBeanKeyIBuyerOrganizationId in interface com.ibm.commerce.me.beans.BuyerSupplierMappingInputDataBean
        Parameters:
        aIBuyerOrganizationId - buyer organization
      • populate

        public void populate()
        This method calls the parent class BuyerSupplierMappingAccessBean to retrieve data.
        Specified by:
        populate in interface SmartDataBean
        Throws:
        java.lang.Exception - is caught when the access bean raises any EJB exceptions.