public interface AuctionItemDAO
Modifier and Type | Method and Description |
---|---|
Bid |
addBid(long itemId,
Bid bid) |
AuctionItem |
createItem(AuctionItem item) |
List<AuctionItem> |
getAvailableItems(int index,
int count) |
Bid |
getBid(long bidId) |
AuctionItem |
getItem(long itemId) |
List<AuctionItem> |
getItems(int index,
int count) |
List<AuctionItem> |
getItems(String queryString,
Map<String,Object> args,
int index,
int count) |
void |
removeBid(Bid bid) |
void |
removeItem(long id) |
AuctionItem |
updateItem(AuctionItem item) |
AuctionItem getItem(long itemId)
AuctionItem createItem(AuctionItem item)
AuctionItem updateItem(AuctionItem item)
Bid getBid(long bidId)
void removeBid(Bid bid)
void removeItem(long id)
List<AuctionItem> getItems(int index, int count)
List<AuctionItem> getAvailableItems(int index, int count)
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.