com.ibm.commerce.order.beans

Class CurrentPendingOrderDataBean

  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, com.ibm.commerce.order.beans.CurrentPendingOrderInputDataBean, com.ibm.commerce.order.beans.CurrentPendingOrderSmartDataBean, Delegator, java.io.Serializable


    public class CurrentPendingOrderDataBean
    extends CurrentPendingOrderDataBeanBase
    implements com.ibm.commerce.order.beans.CurrentPendingOrderInputDataBean, com.ibm.commerce.order.beans.CurrentPendingOrderSmartDataBean
    This databean represents a CurrentPendingOrder object. It retrieves data by given member id and order id.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CurrentPendingOrderDataBean

        public CurrentPendingOrderDataBean()
        Databean constructor.
      • CurrentPendingOrderDataBean

        public CurrentPendingOrderDataBean(java.lang.String aOrderId,
                                           java.lang.String aMemberId)
        Databean constructor.
        Parameters:
        aOrderId - order id
        aMemberId - member id
    • Method Detail

      • getCommandContext

        public CommandContext getCommandContext()
        This method gets the command context set within this bean.
        Specified by:
        getCommandContext in interface SmartDataBean
        Returns:
        iCommandContext command context
      • getDataBeanKeyMemberId

        public java.lang.String getDataBeanKeyMemberId()
        This method sets the member id.
        Specified by:
        getDataBeanKeyMemberId in interface com.ibm.commerce.order.beans.CurrentPendingOrderSmartDataBean
        Returns:
        iDataBeanKeyMemberId member id
      • getDataBeanKeyOrderId

        public java.lang.String getDataBeanKeyOrderId()
        This method sets the order id.
        Specified by:
        getDataBeanKeyOrderId in interface com.ibm.commerce.order.beans.CurrentPendingOrderSmartDataBean
        Returns:
        iDataBeanKeyOrderId order id
      • getRequestProperties

        public TypedProperty getRequestProperties()
        This method gets the request property set within this bean.
        Specified by:
        getRequestProperties in interface InputDataBean
        Returns:
        iRequestProperties request property
      • populate

        public void populate()
        This method is used to populate the CurrentPendingOrderDataBean. You must set the following parameters before running the populate() method.
      • MemberId
      • OrderId
Specified by:
populate in interface SmartDataBean
Throws:
java.lang.Exception
See Also:
setDataBeanKeyMemberId(String), setDataBeanKeyOrderId(String)
  • setCommandContext

    public void setCommandContext(CommandContext aCommandContext)
    This method sets the command context within this bean.
    Specified by:
    setCommandContext in interface SmartDataBean
    Parameters:
    aCommandContext - command context
  • setDataBeanKeyMemberId

    public void setDataBeanKeyMemberId(java.lang.String aMemberId)
    This method sets member id.
    Specified by:
    setDataBeanKeyMemberId in interface com.ibm.commerce.order.beans.CurrentPendingOrderInputDataBean
    Parameters:
    aMemberId - member id
  • setDataBeanKeyOrderId

    public void setDataBeanKeyOrderId(java.lang.String aOrderId)
    This method sets order id.
    Specified by:
    setDataBeanKeyOrderId in interface com.ibm.commerce.order.beans.CurrentPendingOrderInputDataBean
    Parameters:
    aOrderId - order id
  • setRequestProperties

    public void setRequestProperties(TypedProperty aRequestProperty)
    This method sets the request property within this bean.
    Specified by:
    setRequestProperties in interface InputDataBean
    Parameters:
    aRequestProperty - request property