com.ibm.commerce.order.beans

Class OrderTemplateDataBean

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


    public class OrderTemplateDataBean
    extends OrderTemplateDataBeanBase
    implements com.ibm.commerce.order.beans.OrderTemplateInputDataBean, com.ibm.commerce.order.beans.OrderTemplateSmartDataBean
    This databean represents an OrderTemplate object.
    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

      • OrderTemplateDataBean

        public OrderTemplateDataBean()
    • Method Detail

      • getRequestProperties

        public TypedProperty getRequestProperties()
        This method returns the request property set within this bean.
        Specified by:
        getRequestProperties in interface InputDataBean
        Returns:
        com.ibm.commerce.datatype.TypedProperty
      • setRequestProperties

        public void setRequestProperties(TypedProperty aRequestProperty)
        Sets the request property within this bean.
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        aRequestProperty - TypedProperty
      • getDataBeanKeyOrderId

        public java.lang.String getDataBeanKeyOrderId()
        This method returns order id.
        Specified by:
        getDataBeanKeyOrderId in interface com.ibm.commerce.order.beans.OrderTemplateSmartDataBean
        Returns:
        java.lang.String
      • getDataBeanKeyMemberId

        public java.lang.String getDataBeanKeyMemberId()
        This method returns member id.
        Specified by:
        getDataBeanKeyMemberId in interface com.ibm.commerce.order.beans.OrderTemplateSmartDataBean
        Returns:
        java.lang.String
      • getCommandContext

        public CommandContext getCommandContext()
        This method returns the command context set within this bean.
        Specified by:
        getCommandContext in interface SmartDataBean
        Returns:
        com.ibm.commerce.command.CommandContext
      • setCommandContext

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

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

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

        public void populate()
        This method is used to populate the OrderTemplateDataBean. 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)