com.ibm.commerce.order.commands

Class OrderProcessApprovalBaseCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • OrderProcessApprovalBaseCmdImpl

        public OrderProcessApprovalBaseCmdImpl()
    • Method Detail

      • getEntityId

        public java.lang.Long getEntityId()
        Get the Id of an object after the object is created by a command for the first time.
        Specified by:
        getEntityId in interface com.ibm.commerce.ubf.commands.BusinessFlowCmd
        Overrides:
        getEntityId in class com.ibm.commerce.ubf.commands.BusinessFlowCmdImpl
        Returns:
        The Id of an object.
      • getEntityObject

        public com.ibm.commerce.ubf.beans.BusinessFlowEntityBean getEntityObject()
        Get the entity object from command if this is a new process. This will improve performance of the system.
        Specified by:
        getEntityObject in interface com.ibm.commerce.ubf.commands.BusinessFlowCmd
        Overrides:
        getEntityObject in class com.ibm.commerce.ubf.commands.BusinessFlowCmdImpl
        Returns:
        The business flow entity bean object.
      • reset

        public void reset()
        Resets all instance variables.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class com.ibm.commerce.ubf.commands.BusinessFlowCmdImpl
      • setStateIdentifier

        public void setStateIdentifier(java.lang.Integer aStateIdentifier)
        UBF informs the command the state of the entity.
        Specified by:
        setStateIdentifier in interface com.ibm.commerce.ubf.commands.BusinessFlowCmd
        Overrides:
        setStateIdentifier in class com.ibm.commerce.ubf.commands.BusinessFlowCmdImpl
        Parameters:
        aStateIdentifier - The state identifier.