com.ibm.commerce.negotiation.commands

Class CloseAuctionCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, CloseAuctionCmd, 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 CloseAuctionCmdImpl
    extends TaskCommandImpl
    implements CloseAuctionCmd
    Implementation of CloseAuctionCmd which set auction status into bidding close
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • CloseAuctionCmdImpl

        public CloseAuctionCmdImpl()
        CloseAuctionCmdImpl default constructor.
    • Method Detail

      • getAuctionAccessBean

        public AuctionAccessBean getAuctionAccessBean()
        Gets the auction access bean.
        Returns:
        com.ibm.commerce.negotiation.objects.AuctionAccessBean
      • getAuctionReferenceNumber

        public java.lang.Long getAuctionReferenceNumber()
        Returns the reference number of the auction.
        Returns:
        java.lang.String
      • getWinningBids

        public java.util.Vector getWinningBids()
        Gets the winning bids vector after set winners.
        Specified by:
        getWinningBids in interface CloseAuctionCmd
        Returns:
        java.util.Vector
      • reset

        public void reset()
        Reset method comment.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand
      • setAuctionAccessBean

        public void setAuctionAccessBean(AuctionAccessBean newAuctionAccessBean)
        Description copied from interface: CloseAuctionCmd
        Interface method to set auction access bean.
        Specified by:
        setAuctionAccessBean in interface CloseAuctionCmd
        Parameters:
        newAuctionAccessBean - com.ibm.commerce.negotiation.objects.AuctionAccessBean
        newAuctionAccessBean - The auction access bean.
      • setAuctionReferenceNumber

        public void setAuctionReferenceNumber(java.lang.Long s)
        Stores the incoming auction reference number.
        Specified by:
        setAuctionReferenceNumber in interface CloseAuctionCmd
        Parameters:
        s - The auction reference number.
      • setWinningBids

        public void setWinningBids(java.util.Vector v)
        Sets the winning bids.
        Parameters:
        v - The vector contains the winning bids in the form of BidAccessBean object.