com.ibm.commerce.me.beans

Class ProcurementProtocolDataBean

  • java.lang.Object
    • com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • com.ibm.commerce.me.objects.ProcurementProtocolAccessBean
        • com.ibm.commerce.me.beansrc.ProcurementProtocolDataBeanBase
          • com.ibm.commerce.me.beans.ProcurementProtocolDataBean
  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, com.ibm.commerce.me.beans.ProcurementProtocolInputDataBean, com.ibm.commerce.me.beans.ProcurementProtocolSmartDataBean, Delegator, java.io.Serializable


    public class ProcurementProtocolDataBean
    extends com.ibm.commerce.me.beansrc.ProcurementProtocolDataBeanBase
    implements com.ibm.commerce.me.beans.ProcurementProtocolInputDataBean, com.ibm.commerce.me.beans.ProcurementProtocolSmartDataBean
    This class provides access to PROCPROTCL table. It extends ProcurementProtocolAccessBean.
    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
      ProcurementProtocolDataBean(java.lang.String aProtocolId)
      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 getDataBeanKeyProtocolId()
      Gets 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 ProcurementProtocolAccessBean to retrieve data.
      void setCommandContext(CommandContext aCommandContext)
      Sets the command context within this bean.
      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.ProcurementProtocolDataBeanBase

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

        findByProtocolNameAndVersion, getAuthenticationType, getAuthenticationTypeInEntityType, getClassificationDomain, getEntity, getField1, getField2, getField3, getProcurementProtocolComment, getProcurementSystemName, getProtocolId, getProtocolIdInEntityType, getProtocolName, getTwoStepMode, getUomStandard, getVersion, instantiateEntity, setAuthenticationType, setAuthenticationType, setClassificationDomain, setField1, setField2, setField3, setInitKey_protocolId, setInitKey_protocolId, setProcurementProtocolComment, setProcurementSystemName, setProtocolId, setProtocolId, setProtocolName, setTwoStepMode, setUomStandard, setVersion
      • 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

      • ProcurementProtocolDataBean

        public ProcurementProtocolDataBean(java.lang.String aProtocolId)
        Databean constructor. It requires the protocol id.
        Parameters:
        aProtocolId - protocol id
    • Method Detail

      • setRequestProperties

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

        public java.lang.String getDataBeanKeyProtocolId()
        Gets the protocol id
        Specified by:
        getDataBeanKeyProtocolId in interface com.ibm.commerce.me.beans.ProcurementProtocolSmartDataBean
        Returns:
        protocol id
      • 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 bean
      • setDataBeanKeyProtocolId

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

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