com.ibm.commerce.me.beans

Class BuyerSupplierSecurityDataBean

  • java.lang.Object
    • com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • com.ibm.commerce.me.objects.BuyerSupplierSecurityAccessBean
        • com.ibm.commerce.me.beansrc.BuyerSupplierSecurityDataBeanBase
          • com.ibm.commerce.me.beans.BuyerSupplierSecurityDataBean
  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, com.ibm.commerce.me.beans.BuyerSupplierSecurityInputDataBean, com.ibm.commerce.me.beans.BuyerSupplierSecuritySmartDataBean, Delegator, java.io.Serializable


    public class BuyerSupplierSecurityDataBean
    extends com.ibm.commerce.me.beansrc.BuyerSupplierSecurityDataBeanBase
    implements com.ibm.commerce.me.beans.BuyerSupplierSecurityInputDataBean, com.ibm.commerce.me.beans.BuyerSupplierSecuritySmartDataBean
    This class provides access to BUYSUPSEC table. It extends BuyerSuplierSecurityAccessBean.
    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
      BuyerSupplierSecurityDataBean(java.lang.String aISupplierOrganizationId, java.lang.String aIBuyerOrganizationId)
      BuyerSupplierSecurityDatabean 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 getDataBeanKeyIBuyerOrganizationId()
      Returns the buyer organization id
      java.lang.String getDataBeanKeyISupplierOrganizationId()
      Returns the supplier organization id
      TypedProperty getRequestProperties()
      Gets the request property set within this bean.
      void populate()
      Retrieves data from the database, this class calls the parent class BuyerSupplierSecurityAccessBean 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 setRequestProperties(TypedProperty aRequestProperty)
      Sets the request property within this bean.
      • Methods inherited from class com.ibm.commerce.me.beansrc.BuyerSupplierSecurityDataBeanBase

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

        findByBuyerId, findBySupplierId, getAuthenticationLevel, getAuthenticationLevelInEntityType, getBuyerLogonId, getBuyerLogonPassword, getBuyerLogonPasswordInEntityType, getBuyerOrganizationId, getBuyerOrganizationIdInEntityType, getEntity, getExpiryDate, getExpiryDateInEntityType, getField1, getField2, getField3, getStatus, getStatusInEntityType, getSupplierLogonId, getSupplierLogonIdType, getSupplierLogonPassword, getSupplierLogonPasswordInEntityType, getSupplierOrganizationId, getSupplierOrganizationIdInEntityType, instantiateEntity, setAuthenticationLevel, setAuthenticationLevel, setBuyerLogonId, setBuyerLogonPassword, setBuyerLogonPassword, setBuyerOrganizationId, setBuyerOrganizationId, setExpiryDate, setExpiryDate, setField1, setField2, setField3, setInitKey_iBuyerOrganizationId, setInitKey_iBuyerOrganizationId, setInitKey_iSupplierOrganizationId, setInitKey_iSupplierOrganizationId, setStatus, setStatus, setSupplierLogonId, setSupplierLogonIdType, setSupplierLogonPassword, setSupplierLogonPassword, 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

      • BuyerSupplierSecurityDataBean

        public BuyerSupplierSecurityDataBean(java.lang.String aISupplierOrganizationId,
                                             java.lang.String aIBuyerOrganizationId)
        BuyerSupplierSecurityDatabean constructor. It uses the buyer and supplier organization id to identify an entry in the database.
        Parameters:
        aISupplierOrganizationId - supplier organization id
        aIBuyerOrganizationId - buyer organization id
    • Method Detail

      • setRequestProperties

        public void setRequestProperties(TypedProperty aRequestProperty)
        Sets the request property within this bean. It retrieves the NVP for WCSSupplierOrganizationId, WCSBuyerOrganizationId from the TypedProperty
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        aTypedProperty - request property containing input parameters for this data bean WCSSupplierOrganizationId maps to the supplier organization id WCSBuyerOrganizationId maps to the buyer organization id
      • getDataBeanKeyISupplierOrganizationId

        public java.lang.String getDataBeanKeyISupplierOrganizationId()
        Returns the supplier organization id
        Specified by:
        getDataBeanKeyISupplierOrganizationId in interface com.ibm.commerce.me.beans.BuyerSupplierSecuritySmartDataBean
        Returns:
        supplier organization id
      • getDataBeanKeyIBuyerOrganizationId

        public java.lang.String getDataBeanKeyIBuyerOrganizationId()
        Returns the buyer organization id
        Specified by:
        getDataBeanKeyIBuyerOrganizationId in interface com.ibm.commerce.me.beans.BuyerSupplierSecuritySmartDataBean
        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 for this bean
      • setDataBeanKeyISupplierOrganizationId

        public void setDataBeanKeyISupplierOrganizationId(java.lang.String aISupplierOrganizationId)
        Sets the supplier organization id to be used during data population
        Specified by:
        setDataBeanKeyISupplierOrganizationId in interface com.ibm.commerce.me.beans.BuyerSupplierSecurityInputDataBean
        Parameters:
        aISupplierOrganizationId - supplier organization id
      • setDataBeanKeyIBuyerOrganizationId

        public void setDataBeanKeyIBuyerOrganizationId(java.lang.String aIBuyerOrganizationId)
        Sets the buyer organization id to be used during data population
        Specified by:
        setDataBeanKeyIBuyerOrganizationId in interface com.ibm.commerce.me.beans.BuyerSupplierSecurityInputDataBean
        Parameters:
        aIBuyerOrganizationId - buyer organization
      • populate

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