com.ibm.commerce.inventory.facade.server.commands

Class ProcessInventoryRequirementCancelInventoryReservationActionCmdImpl

  • All Implemented Interfaces:
    AbstractProcessNounActionCmd, ProcessInventoryRequirementActionCmd, 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 ProcessInventoryRequirementCancelInventoryReservationActionCmdImpl
    extends AbstractProcessNounActionCmdImpl
    implements ProcessInventoryRequirementActionCmd
    The process command is the task command for process InvnetoryRequirement service with action code CancelInventoryReservation to cancel the inventory reservations from the out DOM inventory system. After the inventory has been reserved by out DOM inventory system, if the inventory reservation should be canceled, process InvnetoryRequirement service with action code CancelInventoryReservation should be invoked.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright notice field.
      • Fields inherited from class com.ibm.websphere.command.TargetableCommandImpl

        LOCAL
      • Fields inherited from interface com.ibm.websphere.command.Command

        serialVersionUID
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void performExecute()
      Performs the business logic of this class.
      void validate()
      This method to validate if the InventoryRequirementType passed from the caller command is a valid order.
      • Methods inherited from class com.ibm.websphere.command.CacheableCommandImpl

        execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
      • Methods inherited from class com.ibm.websphere.command.TargetableCommandImpl

        getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.ibm.websphere.command.Command

        execute, isReadyToCallExecute, reset
      • Methods inherited from interface com.ibm.websphere.command.TargetableCommand

        getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
    • Field Detail

      • COPYRIGHT

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

      • ProcessInventoryRequirementCancelInventoryReservationActionCmdImpl

        public ProcessInventoryRequirementCancelInventoryReservationActionCmdImpl()
    • Method Detail

      • performExecute

        public void performExecute()
                            throws java.lang.Exception
        Performs the business logic of this class. This method simply calls the outbound services to the DOM inventory system to cancel the inventory reservations. The return the result to the caller command.
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Specified by:
        performExecute in class com.ibm.websphere.command.TargetableCommandImpl
        Throws:
        java.lang.Exception