com.ibm.commerce.me.beans

Class ProcurementSystemDataBean

  • java.lang.Object
    • com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • com.ibm.commerce.me.objects.ProcurementSystemAccessBean
        • com.ibm.commerce.me.beansrc.ProcurementSystemDataBeanBase
          • com.ibm.commerce.me.beans.ProcurementSystemDataBean
  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, com.ibm.commerce.me.beans.ProcurementSystemInputDataBean, com.ibm.commerce.me.beans.ProcurementSystemSmartDataBean, Delegator, java.io.Serializable


    public class ProcurementSystemDataBean
    extends com.ibm.commerce.me.beansrc.ProcurementSystemDataBeanBase
    implements com.ibm.commerce.me.beans.ProcurementSystemInputDataBean, com.ibm.commerce.me.beans.ProcurementSystemSmartDataBean
    This class provides access to PROCSYS table. It extends ProcurementSystemAccessBean.
    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
      ProcurementSystemDataBean(java.lang.String aProcurementSystemName)
      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 getDataBeanKeyProcurementSystemName()
      Gets the procurement system name
      TypedProperty getRequestProperties()
      Gets the request property set within this bean.
      void populate()
      Retrieves data from the database, this class calls the parent class ProcurementSystemAccessBean to retrieve data.
      void setCommandContext(CommandContext aCommandContext)
      Sets the command context within this bean.
      void setDataBeanKeyProcurementSystemName(java.lang.String aProcurementSystemName)
      Sets the procurement system name which is used as a key to retrieve from the table
      void setRequestProperties(TypedProperty aRequestProperty)
      Sets the request property within this bean.
      • Methods inherited from class com.ibm.commerce.me.beansrc.ProcurementSystemDataBeanBase

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

        getEntity, getField1, getField2, getProcurementSystemName, instantiateEntity, setField1, setField2, setInitKey_procurementSystemName, setProcurementSystemName
      • 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

      • ProcurementSystemDataBean

        public ProcurementSystemDataBean(java.lang.String aProcurementSystemName)
        Databean constructor. It requires the procurement system name.
        Parameters:
        aProcurementSystemName - procurement system name
    • Method Detail

      • setRequestProperties

        public void setRequestProperties(TypedProperty aRequestProperty)
        Sets the request property within this bean. It retrieves the NVP for WCSProcurementSystemName from the TypedProperty
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        aTypedProperty - request property containing input parameters for this data bean WCSProcurementSystemName maps to the procurement system name
      • getDataBeanKeyProcurementSystemName

        public java.lang.String getDataBeanKeyProcurementSystemName()
        Gets the procurement system name
        Specified by:
        getDataBeanKeyProcurementSystemName in interface com.ibm.commerce.me.beans.ProcurementSystemSmartDataBean
        Returns:
        procurement system name
      • setCommandContext

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

        public void setDataBeanKeyProcurementSystemName(java.lang.String aProcurementSystemName)
        Sets the procurement system name which is used as a key to retrieve from the table
        Specified by:
        setDataBeanKeyProcurementSystemName in interface com.ibm.commerce.me.beans.ProcurementSystemInputDataBean
        Parameters:
        aProcurementSystemName - procurement system name
      • populate

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