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 void
cancelTimers()
int
checkAuction()
void
closeBidding(long itemId)
List<AuctionItem>
getItems(int index, int count)
Bid
getWinningBid(long itemId)
void
initTimers(long delay)
void
initTimers(ScheduleExpression schedule)
void
removeBid(long bidId)
void
removeItem(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()
-
-