| java.lang.Object auction.model.Book
getInitialPrice | public long getInitialPrice()(Code) | | |
getReservePrice | public long getReservePrice()(Code) | | |
getSuccessfulBid | public Bid getSuccessfulBid()(Code) | | |
getVersion | public int getVersion()(Code) | | |
hashCode | public int hashCode()(Code) | | |
isActive | public boolean isActive()(Code) | | |
placeBid | public Bid placeBid(User bidder, long bidAmount, Bid currentMaxBid) throws BusinessException(Code) | | Places a bid while checking business constraints.
This method may throw a BusinessException if one of the requirements
for the bid placement wasn't met, e.g. if the auction already ended.
Parameters: bidder - Parameters: bidAmount - Parameters: currentMaxBid - the most valuable bid for this item Parameters: currentMinBid - the least valuable bid for this item throws: BusinessException - |
removeBid | public boolean removeBid(Bid bid)(Code) | | |
setActive | public void setActive(boolean state)(Code) | | |
setDescription | public void setDescription(String description)(Code) | | |
setEndDate | public void setEndDate(Date endDate)(Code) | | |
setEndDateString | public void setEndDateString(String sd)(Code) | | |
setInitialPrice | public void setInitialPrice(long initialPrice)(Code) | | |
setInitialPrice | public void setInitialPrice(String initialPrice)(Code) | | |
setReservePrice | public void setReservePrice(long reservePrice)(Code) | | |
setReservePrice | public void setReservePrice(String reservePrice)(Code) | | |
setStartDate | public void setStartDate(Date startDate)(Code) | | |
setStartDateString | public void setStartDateString(String sd)(Code) | | |
setSuccessfulBid | public void setSuccessfulBid(Bid successfulBid)(Code) | | |
|
|