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
|
COPYRIGHT
public static final java.lang.String COPYRIGHT
AutoBidDeleteHelper
public AutoBidDeleteHelper()
- BidDeleteCmdImpl constructor comment.
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
-