com.ibm.commerce.order.beans

Class OrderCommentDataBean

    • Field Detail

      • COPYRIGHT

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

      • OrderCommentDataBean

        public OrderCommentDataBean()
        OrderCommentDataBean constructor comment.
      • OrderCommentDataBean

        public OrderCommentDataBean(OrderCommentAccessBean argabOrderComment)
        Constructs an OrderCommentDataBean from an OrderCommentAccessBean by extracting the OrderComment EJB reference from the OrderCommentAccessBean. Note: Consider using OrderCommentDataBean(OrderCommentAccessBean argabOrderComment, CommandContext aCommandContext) if commandContext is available.
        Parameters:
        argabOrderComment - OrderCommentAccessBean
        Throws:
        java.lang.Exception
      • OrderCommentDataBean

        public OrderCommentDataBean(OrderCommentAccessBean argabOrderComment,
                                    CommandContext aCommandContext)
        Constructs an OrderCommentDataBean from an OrderCommentAccessBean by extracting the OrderComment EJB reference from the OrderCommentAccessBean and setting the commandContext
        Parameters:
        argabOrderComment - OrderCommentAccessBean
        aCommandContext - CommandContext
        Throws:
        java.lang.Exception
    • Method Detail

      • setOrderCommentId

        public void setOrderCommentId(java.lang.String argOrderCommentId)
        This method sets the order comment id.
        Specified by:
        setOrderCommentId in interface OrderCommentInputDataBean
        Parameters:
        argOrderCommentId - order comment id
      • getRequestProperties

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

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

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

        public void populate()
        This method is used to populate the OrderCommentDataBean. You must set OrderCommentId using the setOrderCommentId method before running the populate() method.
        Specified by:
        populate in interface SmartDataBean
        See Also:
        setOrderCommentId(String)
      • setCommandContext

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