Package | Description |
---|---|
ejava.examples.asyncmarket | |
ejava.examples.asyncmarket.ejb |
Modifier and Type | Method and Description |
---|---|
long |
Buyer.bidProduct(long productId,
String userId,
double amount) |
int |
AuctionMgmt.checkAuction() |
void |
AuctionMgmt.closeBidding(long itemId) |
long |
UserMgmt.createUser(String userId,
String name) |
List<AuctionItem> |
Buyer.getAvailableItems(int index,
int count) |
AuctionItem |
Buyer.getItem(long itemId) |
AuctionItem |
Seller.getItem(long id) |
List<AuctionItem> |
AuctionMgmt.getItems(int index,
int count) |
Order |
Buyer.getOrder(long orderId) |
Person |
UserMgmt.getUser(long id) |
Person |
UserMgmt.getUserByUserId(String userId) |
List<Person> |
UserMgmt.getUsers(int index,
int count) |
Bid |
AuctionMgmt.getWinningBid(long itemId) |
long |
Buyer.placeOrder(long productId,
String userId,
double maxAmount) |
void |
AuctionMgmt.removeBid(long bidId) |
void |
AuctionMgmt.removeItem(long id) |
void |
UserMgmt.removeUser(String userId) |
long |
Seller.sellProduct(String sellerId,
AuctionItem item) |
Modifier and Type | Method and Description |
---|---|
long |
BuyerEJB.bidProduct(long itemId,
String userId,
double amount) |
int |
AuctionMgmtEJB.checkAuction() |
void |
AuctionMgmtEJB.closeBidding(long itemId) |
long |
UserMgmtEJB.createUser(String userId,
String name) |
void |
SellerEJB.endAuction(long itemId) |
List<AuctionItem> |
BuyerEJB.getAvailableItems(int index,
int count) |
AuctionItem |
SellerEJB.getItem(long id) |
AuctionItem |
BuyerEJB.getItem(long itemId) |
List<AuctionItem> |
AuctionMgmtEJB.getItems(int index,
int count) |
Order |
BuyerEJB.getOrder(long orderId) |
Person |
UserMgmtEJB.getUser(long id) |
Person |
UserMgmtEJB.getUserByUserId(String userId) |
List<Person> |
UserMgmtEJB.getUsers(int index,
int count) |
Bid |
AuctionMgmtEJB.getWinningBid(long itemId) |
long |
BuyerEJB.placeOrder(long productId,
String userId,
double maxAmount) |
void |
AuctionMgmtEJB.removeBid(long bidId) |
void |
AuctionMgmtEJB.removeItem(long id) |
void |
UserMgmtEJB.removeUser(String userId) |
long |
SellerEJB.sellProduct(String sellerId,
AuctionItem item) |
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.