Methods
Modifier and Type |
Method and Description |
static boolean |
addGoodsListener(Listener<DigitalGoodsStore.Goods> listener,
DigitalGoodsStore.Event eventType) |
static boolean |
addPurchaseListener(Listener<DigitalGoodsStore.Purchase> listener,
DigitalGoodsStore.Event eventType) |
static DbIterator<DigitalGoodsStore.Goods> |
getAllGoods(int from,
int to) |
static DbIterator<DigitalGoodsStore.Purchase> |
getAllPurchases(int from,
int to) |
static DbIterator<DigitalGoodsStore.Purchase> |
getBuyerPurchases(long buyerId,
int from,
int to) |
static DigitalGoodsStore.Goods |
getGoods(long goodsId) |
static DbIterator<DigitalGoodsStore.Goods> |
getGoodsInStock(int from,
int to) |
static DbIterator<DigitalGoodsStore.Purchase> |
getPendingSellerPurchases(long sellerId,
int from,
int to) |
static DigitalGoodsStore.Purchase |
getPurchase(long purchaseId) |
static DbIterator<DigitalGoodsStore.Purchase> |
getSellerBuyerPurchases(long sellerId,
long buyerId,
int from,
int to) |
static DbIterator<DigitalGoodsStore.Goods> |
getSellerGoods(long sellerId,
boolean inStockOnly,
int from,
int to) |
static DbIterator<DigitalGoodsStore.Purchase> |
getSellerPurchases(long sellerId,
int from,
int to) |
static boolean |
removeGoodsListener(Listener<DigitalGoodsStore.Goods> listener,
DigitalGoodsStore.Event eventType) |
static boolean |
removePurchaseListener(Listener<DigitalGoodsStore.Purchase> listener,
DigitalGoodsStore.Event eventType) |