com.ibm.commerce.ordermanagement.commands

Class NotifyBlockCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, NotifyBlockCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class NotifyBlockCmdImpl
    extends TaskCommandImpl
    implements NotifyBlockCmd
    This is the default implementation of the task command BlockNotifyCmd.

    Behaviour:

    • Call the OBM (Order Block Manager) to perform a block or unblock operation, for a specified order ID and block reason code ID. Optionally comments may be passed.

    Task commands called:

    None.
    See Also:
    OrderBlockManagerInterface, Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • NotifyBlockCmdImpl

        public NotifyBlockCmdImpl()
        Default constructor
    • Method Detail

      • setOrderId

        public void setOrderId(java.lang.String anOrderId)
        This method sets the order ID to perform the blocking on
        Specified by:
        setOrderId in interface NotifyBlockCmd
        Parameters:
        anOrderId -
      • setBlockNotify

        public void setBlockNotify(java.lang.String aBlockNotify)
        Sting value which indicates if to block (true) or unblock (false)
        Specified by:
        setBlockNotify in interface NotifyBlockCmd
        Parameters:
        aBlockNotify -
      • setBlockReasonCodeId

        public void setBlockReasonCodeId(java.lang.String aBlockRsnCodeId)
        The block reason code ID for the block or unblock operation
        Specified by:
        setBlockReasonCodeId in interface NotifyBlockCmd
        Parameters:
        aBlockRsnCodeId -
      • setComments

        public void setComments(java.lang.String someComment)
        The block reason code ID for the block or unblock operation
        Specified by:
        setComments in interface NotifyBlockCmd
        Parameters:
        someComment -
      • getTicklerId

        public java.lang.Long getTicklerId()
        This method returns the ticker id.
        Specified by:
        getTicklerId in interface NotifyBlockCmd
        Returns:
        Long the ticker id