com.ibm.commerce.negotiation.commands

Class ModifyAuctionCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • ModifyAuctionCmdImpl

        public ModifyAuctionCmdImpl()
        CreateAuctionCmdImpl constructor comment.
    • Method Detail

      • getResources

        public AccessVector getResources()
                                  throws ECException
        Gets the access vector accessed by this command. The default implementation returns null indicating that no protectable resource is accessed by this command. It is the responsibilities of the command writer to return the protectable primary resource(s) and the corresponding actions accessed by this command.

        Specified by:
        getResources in interface ECCommand
        Overrides:
        getResources in class AbstractECTargetableCommand
        Returns:
        AccessVector - a vector of resource action pairs
        Throws:
        ECApplicationException - is raised with message ERR_BAD_PARMS.
        ECException
      • getThisAuction

        public AuctionAccessBean getThisAuction()
        Gets the incoming auction access bean.
        Returns:
        an auction access bean.
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        Overwrite-able method.
        Specified by:
        isReadyToCallExecute in interface com.ibm.websphere.command.Command
        Overrides:
        isReadyToCallExecute in class AuctionBaseCmdImpl
        Returns:
        isReadyToCallExecute
      • performExecute

        public void performExecute()
                            throws ECException
        Updates auction. Gets the input parameters from XMLObject, Creates ModifyAuctionTaskCmd and sets up all the parameters, call execute().
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AuctionBaseCmdImpl
        Throws:
        ECException
      • setThisAuction

        public void setThisAuction(AuctionAccessBean newThisAuction)
        Stores the incoming auction access bean in a member variable.
        Parameters:
        newThisAuction - com.ibm.commerce.negotiation.objects.AuctionAccessBean