com.ibm.commerce.me.beans

Class ProcurementBuyerProfileDataBean

  • java.lang.Object
    • com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • com.ibm.commerce.me.objects.ProcurementBuyerProfileAccessBean
        • com.ibm.commerce.me.beansrc.ProcurementBuyerProfileDataBeanBase
          • com.ibm.commerce.me.beans.ProcurementBuyerProfileDataBean
  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, com.ibm.commerce.me.beans.ProcurementBuyerProfileInputDataBean, com.ibm.commerce.me.beans.ProcurementBuyerProfileSmartDataBean, Delegator, java.io.Serializable


    public class ProcurementBuyerProfileDataBean
    extends com.ibm.commerce.me.beansrc.ProcurementBuyerProfileDataBeanBase
    implements com.ibm.commerce.me.beans.ProcurementBuyerProfileInputDataBean, com.ibm.commerce.me.beans.ProcurementBuyerProfileSmartDataBean
    This class provides access to PROCBUYPRF table. It extends ProcurementBuyerProfileAccessBean.
    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
      ProcurementBuyerProfileDataBean(java.lang.String aProtocolId, java.lang.String aOrganizationId)
      Databean constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      CommandContext getCommandContext()
      Gets the command context set within this bean.
      java.lang.String getDataBeanKeyOrganizationId()
      Returns the organization id
      java.lang.String getDataBeanKeyProtocolId()
      Returns 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 ProcurementBuyerProfileAccessBean to retrieve data.
      void setCommandContext(CommandContext aCommandContext)
      Sets the command context within this bean.
      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.
      • Methods inherited from class com.ibm.commerce.me.beansrc.ProcurementBuyerProfileDataBeanBase

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

        getContractParamName, getEntity, getField1, getField2, getField3, getOrganizationId, getOrganizationIdInEntityType, getOrganizationUnitParamName, getProtocolId, getProtocolIdInEntityType, getReqIdParamName, instantiateEntity, setContractParamName, setField1, setField2, setField3, setInitKey_organizationId, setInitKey_organizationId, setInitKey_protocolId, setInitKey_protocolId, setOrganizationId, setOrganizationId, setOrganizationUnitParamName, setProtocolId, setProtocolId, setReqIdParamName
      • 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

      • ProcurementBuyerProfileDataBean

        public ProcurementBuyerProfileDataBean(java.lang.String aProtocolId,
                                               java.lang.String aOrganizationId)
        Databean constructor. It requires the protocol id and the buyer organization id
        Parameters:
        aProtocolId - protocol id
        aOrganizationId - buyer organization id
    • Method Detail

      • setRequestProperties

        public void setRequestProperties(TypedProperty aRequestProperty)
        Sets the request property within this bean. It retrieves the NVP for WCSProtocolId, WCSOrganizationId 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 WCSOrganizationId maps to the buyer organization id
      • getDataBeanKeyProtocolId

        public java.lang.String getDataBeanKeyProtocolId()
        Returns the protocol id
        Specified by:
        getDataBeanKeyProtocolId in interface com.ibm.commerce.me.beans.ProcurementBuyerProfileSmartDataBean
        Returns:
        protocol id
      • getDataBeanKeyOrganizationId

        public java.lang.String getDataBeanKeyOrganizationId()
        Returns the organization id
        Specified by:
        getDataBeanKeyOrganizationId in interface com.ibm.commerce.me.beans.ProcurementBuyerProfileSmartDataBean
        Returns:
        buyer organization id
      • setCommandContext

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

        public void setDataBeanKeyProtocolId(java.lang.String aProtocolId)
        Sets the protocol id
        Specified by:
        setDataBeanKeyProtocolId in interface com.ibm.commerce.me.beans.ProcurementBuyerProfileInputDataBean
        Parameters:
        aProtocolId - protocol id
      • setDataBeanKeyOrganizationId

        public void setDataBeanKeyOrganizationId(java.lang.String aOrganizationId)
        Sets the organization id
        Specified by:
        setDataBeanKeyOrganizationId in interface com.ibm.commerce.me.beans.ProcurementBuyerProfileInputDataBean
        Parameters:
        aOrganizationId - buyer organization id
      • populate

        public void populate()
        Retrieves data from the database, this class calls the parent class ProcurementBuyerProfileAccessBean to retrieve data.
        Specified by:
        populate in interface SmartDataBean
        Throws:
        java.lang.Exception - is caught when the access bean raised any EJB exceptions.