com.ibm.commerce.order.beans

Class RequisitionDataBean

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


    public class RequisitionDataBean
    extends RequisitionDataBeanBase
    implements com.ibm.commerce.order.beans.RequisitionInputDataBean, com.ibm.commerce.order.beans.RequisitionSmartDataBean
    This data bean represents a requisition 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

      • RequisitionDataBean

        public RequisitionDataBean()
        Databean constructor.
      • RequisitionDataBean

        public RequisitionDataBean(java.lang.String aOrderId)
        Databean constructor.
        Parameters:
        aOrderId - order id
    • Method Detail

      • getRequestProperties

        public TypedProperty getRequestProperties()
        This method gets the request property set within this bean.
        Specified by:
        getRequestProperties in interface InputDataBean
        Returns:
        iRequestProperties request property
      • 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
      • getDataBeanKeyOrderId

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

        public CommandContext getCommandContext()
        This method gets the command context set within this bean.
        Specified by:
        getCommandContext in interface SmartDataBean
        Returns:
        iCommandContext command context
      • 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
      • setDataBeanKeyOrderId

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

        public void populate()
        This method is used to populate the RequisitionDataBean. You must set OrderId using the setDataBeanKeyOrderId method before running the populate() method.
        Specified by:
        populate in interface SmartDataBean
        Throws:
        java.lang.Exception
        See Also:
        setDataBeanKeyOrderId(String)
      • getFormattedLastUpdate

        public java.lang.String getFormattedLastUpdate()
        This method formats the last-update date according to the current locale.
        Returns:
        String formatted last-update date
      • getUserRegistrationDataBean

        public UserRegistrationDataBean getUserRegistrationDataBean()
        This method retrieves the user registration for the owner of this requisition list.
        Returns:
        UserRegistrationDataBean requisition list owner.