com.ibm.commerce.me.beans

Class ProcurementMessageViewDataBean

  • java.lang.Object
    • com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • com.ibm.commerce.me.objects.ProcurementMessageViewAccessBean
        • com.ibm.commerce.me.beansrc.ProcurementMessageViewDataBeanBase
          • com.ibm.commerce.me.beans.ProcurementMessageViewDataBean
  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, com.ibm.commerce.me.beans.ProcurementMessageViewInputDataBean, com.ibm.commerce.me.beans.ProcurementMessageViewSmartDataBean, Delegator, java.io.Serializable


    public class ProcurementMessageViewDataBean
    extends com.ibm.commerce.me.beansrc.ProcurementMessageViewDataBeanBase
    implements com.ibm.commerce.me.beans.ProcurementMessageViewInputDataBean, com.ibm.commerce.me.beans.ProcurementMessageViewSmartDataBean
    This class provides access to PROCMSGVW table. It extends ProcurementMessageViewAccessBean.
    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
      ProcurementMessageViewDataBean(java.lang.String aProtocolId, java.lang.String aMessageName, 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 getDataBeanKeyMessageName()
      Gets the message view name
      java.lang.String getDataBeanKeyOrganizationId()
      Gets the organization id
      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 ProcurementMessageViewAccessBean to retrieve data.
      void setCommandContext(CommandContext aCommandContext)
      Sets the command context within this bean.
      void setDataBeanKeyMessageName(java.lang.String aMessageName)
      Sets the message name
      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.ProcurementMessageViewDataBeanBase

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

        getEntity, getErrorView, getMessageName, getOrganizationId, getOrganizationIdInEntityType, getProtocolId, getProtocolIdInEntityType, getViewName, instantiateEntity, setErrorView, setInitKey_messageName, setInitKey_organizationId, setInitKey_organizationId, setInitKey_protocolId, setInitKey_protocolId, setMessageName, setOrganizationId, setOrganizationId, setProtocolId, setProtocolId, setViewName
      • 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

      • ProcurementMessageViewDataBean

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

      • setRequestProperties

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

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

        public java.lang.String getDataBeanKeyMessageName()
        Gets the message view name
        Specified by:
        getDataBeanKeyMessageName in interface com.ibm.commerce.me.beans.ProcurementMessageViewSmartDataBean
        Returns:
        message view name
      • getDataBeanKeyOrganizationId

        public java.lang.String getDataBeanKeyOrganizationId()
        Gets the organization id
        Specified by:
        getDataBeanKeyOrganizationId in interface com.ibm.commerce.me.beans.ProcurementMessageViewSmartDataBean
        Returns:
        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 to be used by this class
      • setDataBeanKeyProtocolId

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

        public void setDataBeanKeyMessageName(java.lang.String aMessageName)
        Sets the message name
        Specified by:
        setDataBeanKeyMessageName in interface com.ibm.commerce.me.beans.ProcurementMessageViewInputDataBean
        Parameters:
        aMessageName - message view name
      • setDataBeanKeyOrganizationId

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

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