com.ibm.commerce.edp.commands

Class CancelOrderVoidCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, AEDPPaymentTaskCmd, AEDPTaskCmd, CancelOrderCmd, 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 CancelOrderVoidCmdImpl
    extends AEDPPaymentTaskCmdImpl
    implements CancelOrderCmd
    This is the void implementation for CancelOrderCmd task command. This command does nothing. The void implementation of commands is used when anyone is intended to disable the command while keeping the single code base. Note that please use the void implementation of all commands once you decide to disable the command implementation.

    Behaviour:

    None.

    Output parameters:

    None.

    Task commands called:

    None.
    See Also:
    Serialized Form
    • Constructor Detail

      • CancelOrderVoidCmdImpl

        public CancelOrderVoidCmdImpl()
    • Method Detail

      • setForcedCancel

        public void setForcedCancel(java.lang.Boolean paramFlag)
        This method sets the forced flag indicating if the request will be forced or not. It is up to the caller to set the forceFlag whether they want to do the a forced request or not.
        Specified by:
        setForcedCancel in interface CancelOrderCmd
        Parameters:
        paramFlag - A Boolean that indicates if the request is forced or not.
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        This method is called by the Command Framework to check if all basic mandatory parameters have been set for this command. This is done before the Framework calls the performExecute method of the command.
        Specified by:
        isReadyToCallExecute in interface com.ibm.websphere.command.Command
        Overrides:
        isReadyToCallExecute in class AbstractECTargetableCommand
        Returns:
        A boolean that represents if the command is ready to execute.
      • reset

        public void reset()
        This method resets the command fields. After this method is invoked, and proper attributes are set, the command can be executed again.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AEDPPaymentTaskCmdImpl