com.ibm.commerce.negotiation.commands

Class DeleteAuctionTaskCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • DeleteAuctionTaskCmdImpl

        public DeleteAuctionTaskCmdImpl()
        DeleteAuctionCmdImpl constructor comment.
    • Method Detail

      • getAuctionIdList

        public java.util.Vector getAuctionIdList()
        Returns the list of auction identifiers.
        Returns:
        The list of auction identifiers.
      • getErrorContent

        public java.util.Hashtable getErrorContent()
        Returns a hashtable of error codes.
        Specified by:
        getErrorContent in interface DeleteAuctionTaskCmd
        Returns:
        The hashtable of error codes.
      • getFulfillmentCenterId

        public java.lang.Integer getFulfillmentCenterId()
        Gets the fullfillment center identifier.
        Returns:
        The fullfillment center identifier.
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        Determines if the command can be executed.
        Specified by:
        isReadyToCallExecute in interface com.ibm.websphere.command.Command
        Overrides:
        isReadyToCallExecute in class AbstractECTargetableCommand
        Returns:
        true if the command can be executed, false otherwise.
      • performExecute

        public void performExecute()
                            throws ECException
        Implementation for DeleteAuctionCmd. It will update the product for auction and pay back money if necessary, then auction is retracted.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException - if any problems are encountered.
      • setAuctionIdList

        public void setAuctionIdList(java.util.Vector newAuctionIdList)
        Stores the incoming list of auction identifiers.
        Specified by:
        setAuctionIdList in interface DeleteAuctionTaskCmd
        Parameters:
        newAuctionIdList - The list of auction identifiers.
      • setErrorContent

        public void setErrorContent(java.util.Hashtable newErrorContent)
        Stores the incoming hashtable containing error codes.
        Parameters:
        newErrorContent - The hashtable containing error codes.