com.ibm.commerce.returns.commands

Class ResolveReturnFulfillmentCenterCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, ResolveReturnFulfillmentCenterCmd, 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 ResolveReturnFulfillmentCenterCmdImpl
    extends TaskCommandImpl
    implements ResolveReturnFulfillmentCenterCmd
    Default implementation of the ResolveReturnFulfillmentCenterCmd interface. Command used to determine where customer should return merchandise. This implementation uses the default return fulfillment center for the store (STORE.RTNFFMCTR_ID).

    Utilizes these access beans

    See Also:
    Serialized Form
    • Constructor Detail

      • ResolveReturnFulfillmentCenterCmdImpl

        public ResolveReturnFulfillmentCenterCmdImpl()
        ResolveReturnFulfillmentCenterCmdImpl constructor.
    • Method Detail

      • performExecute

        public void performExecute()
                            throws ECException
        Execute the command.

        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        com.ibm.commerce.exception.ECSystemExceptionn - If there is no ReturnFulfillmentCenter, throws com.ibm.commerce.exception.ECSystemException with ECMessage._ERR_CANNOT_DETERMINE_RETURN_FFMCENTER
        ECException
      • reset

        public void reset()
        Description copied from class: AbstractECTargetableCommand
        This method is called after a command has been executed. It is used to reset its states variables. After the call to reset, the command should be able to be executed again.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand
      • setRMAItemABVector

        public void setRMAItemABVector(java.util.Vector vRMAItemAB)
        Set the RMA items to be evaluated.
        Specified by:
        setRMAItemABVector in interface ResolveReturnFulfillmentCenterCmd
        Parameters:
        vRMAItemAB - vector of RMA item access beans.