com.ibm.commerce.negotiation.operation

Class BidDeleteHelper

  • java.lang.Object
    • com.ibm.commerce.negotiation.operation.BidDeleteHelper
  • All Implemented Interfaces:
    com.ibm.commerce.negotiation.util.AuctionConstants, ECConstants
    Direct Known Subclasses:
    AutoBidDeleteHelper


    public class BidDeleteHelper
    extends java.lang.Object
    implements com.ibm.commerce.negotiation.util.AuctionConstants, ECConstants
    BidDeleteHelper Helper class for bid Deletes controller command.
    • Field Detail

      • COPYRIGHT

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

      • BidDeleteHelper

        public BidDeleteHelper()
        BidDeleteCmdImpl constructor comment.
    • Method Detail

      • getAuctionId

        public java.lang.String getAuctionId()
        Returns the auction identifier.
        Returns:
        java.lang.String
      • getBidCount

        public int getBidCount()
        getBidCount Returns the number of bids specified by the input.
        Returns:
        int
      • getBidIdArray

        public java.lang.String[] getBidIdArray()
        getBidIdArray Gets the array of bid IDs.
        Returns:
        java.lang.String[]
      • getCommandContext

        public CommandContext getCommandContext()
        Returns command context.
        Returns:
        com.ibm.commerce.command.CommandContext
      • getErrmsgParams

        public java.lang.Object[] getErrmsgParams()
        Gets error parameters of message.
        Returns:
        java.lang.Object[]
      • getErrorKey

        public java.lang.String getErrorKey()
        getErrorKey Returns the NLV key to the last error detected.
        Returns:
        String
      • getErrorTaskName

        public java.lang.String getErrorTaskName()
        Returns task name that handles the error.
        Returns:
        java.lang.String
      • getUrl

        public java.lang.String getUrl()
        getUrl Gets the URL that will be used if deleting bids are successful.
        Returns:
        java.lang.String
      • isAutoBid

        public boolean isAutoBid()
        Is autobid or not.
        Returns:
        boolean
      • isErrorStatus

        public boolean isErrorStatus()
        Is there error occuring .
        Returns:
        boolean
      • setAuctionId

        public void setAuctionId(java.lang.String newAuctionId)
        Sets the auction ID.
        Parameters:
        newAuctionId - java.lang.String
      • setBidIdArray

        public void setBidIdArray(java.lang.String[] newBidIdArray)
        setBidIdArray Sets the array of bid IDs.
        Parameters:
        newBidIdArray - java.lang.String[]
      • setBidIdArrayFromList

        public void setBidIdArrayFromList(java.lang.String list)
        setBidIdArrayFromList Parses a comma-delimited list of bid IDs into an array of strings.
        Parameters:
        list - java.lang.String
      • setCommandContext

        public void setCommandContext(CommandContext newCommandContext)
        Stores the incoming command context in a member variable.
        Parameters:
        newCommandContext - com.ibm.commerce.command.CommandContext
      • setErrorKey

        public void setErrorKey(java.lang.String newErrorKey)
        setErrorKey Saves the most recent NLV error message key.
        Parameters:
        newErrorKey - String
      • setErrorTaskName

        public void setErrorTaskName(java.lang.String newErrorTaskName)
        Sets the taskname that handles errors.
        Parameters:
        newErrorTaskName - java.lang.String
      • setUrl

        public void setUrl(java.lang.String newUrl)
        Sets URL that will be used if deleting bids are successful..
        Parameters:
        newUrl - java.lang.String
      • validateBidId

        public BidAccessBean validateBidId(java.lang.String bidId)
                                    throws ECSystemException
        validateBidId Determines whether a bid exists.
        Parameters:
        bidId - String
        Returns:
        com.ibm.commerce.negotiation.objects.BidAccessBean
        Throws:
        ECSystemException