com.ibm.commerce.negotiation.operation
Class AutoBidDeleteHelper

com.ibm.commerce.negotiation.operation.AutoBidDeleteHelper

public class AutoBidDeleteHelper

AutoBidDeleteHelper Helper class for auto-bid Delete controller command. Creation date: (7/21/00 8:46:06 AM)


Field Summary
static java.lang.String COPYRIGHT
           
 
Constructor Summary
AutoBidDeleteHelper()
          BidDeleteCmdImpl constructor comment.
 
Method Summary
protected  boolean checkAutoBidDeleteAuthorization(java.lang.String checkAutoBidId)
          checkAutoBidDeleteAuthorization Executes the CheckBidDeleteAuthorizationCmd task.
protected  void deleteLastBid(AutoBidAccessBean abab)
          deleteLastBid Deletes the last bid associated with an autobid.
 boolean isAutoBid()
          returns true for AutobidDeleteHelper
 void shopperDeleteAutoBids()
          Performs necessary validations and updates for a shopper-side bid-delete operation.
protected  AuctionAccessBean validateAutoBidAuctionId()
          validateAuctionId Determines whether the auction exists, is Open Cry, and has not closed.
protected  AutoBidAccessBean validateAutoBidId(int autoBidIndex)
          validateAutoBidId Determines whether an autobid id exists.
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Constructor Detail

AutoBidDeleteHelper

public AutoBidDeleteHelper()
BidDeleteCmdImpl constructor comment.
Method Detail

checkAutoBidDeleteAuthorization

protected boolean checkAutoBidDeleteAuthorization(java.lang.String checkAutoBidId)
                                           throws ECApplicationException,
                                                  ECSystemException
checkAutoBidDeleteAuthorization Executes the CheckBidDeleteAuthorizationCmd task.
Parameters:
bidrfn - java.lang.String
Returns:
boolean true if okay to delete the autobid.

deleteLastBid

protected void deleteLastBid(AutoBidAccessBean abab)
                      throws ECException
deleteLastBid Deletes the last bid associated with an autobid.
Parameters:
abab - com.ibm.commerce.negotiation.objects.AutoBidAccessBean
Throws:
ECException -  

isAutoBid

public boolean isAutoBid()
returns true for AutobidDeleteHelper
Returns:
true if the bid is an auto bid, false otherwise.

shopperDeleteAutoBids

public void shopperDeleteAutoBids()
                           throws ECException,
                                  ECApplicationException,
                                  ECSystemException
Performs necessary validations and updates for a shopper-side bid-delete operation.
Throws:
ECException -  

validateAutoBidAuctionId

protected AuctionAccessBean validateAutoBidAuctionId()
                                              throws ECApplicationException,
                                                     ECSystemException
validateAuctionId Determines whether the auction exists, is Open Cry, and has not closed.
Returns:
com.ibm.commerce.negotiation.objects.AuctionAccessBean
Throws:
ECException -  

validateAutoBidId

protected AutoBidAccessBean validateAutoBidId(int autoBidIndex)
                                       throws ECApplicationException,
                                              ECSystemException
validateAutoBidId Determines whether an autobid id exists.
Parameters:
autoBidIndex - int
Returns:
AutoBidAccessBean
Throws:
ECApplicationException -