Package ejava.examples.asyncmarket
Interface AuctionMgmt
-
- All Known Subinterfaces:
AuctionMgmtLocal,AuctionMgmtRemote
- All Known Implementing Classes:
AuctionMgmtEJB
public interface AuctionMgmt
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancelTimers()intcheckAuction()voidcloseBidding(long itemId)List<AuctionItem>getItems(int index, int count)BidgetWinningBid(long itemId)voidinitTimers(long delay)voidinitTimers(ScheduleExpression schedule)voidremoveBid(long bidId)voidremoveItem(long itemId)
-
-
-
Method Detail
-
closeBidding
void closeBidding(long itemId) throws ResourceNotFoundException- Throws:
ResourceNotFoundException
-
getWinningBid
Bid getWinningBid(long itemId) throws ResourceNotFoundException
- Throws:
ResourceNotFoundException
-
checkAuction
int checkAuction()
-
removeBid
void removeBid(long bidId) throws ResourceNotFoundException- Throws:
ResourceNotFoundException
-
removeItem
void removeItem(long itemId) throws ResourceNotFoundException- Throws:
ResourceNotFoundException
-
getItems
List<AuctionItem> getItems(int index, int count)
-
initTimers
void initTimers(long delay)
-
initTimers
void initTimers(ScheduleExpression schedule)
-
cancelTimers
void cancelTimers()
-
-