| Line 49... |
Line 49... |
| 49 |
struct Item{
|
49 |
struct Item{
|
| 50 |
1:i64 id,
|
50 |
1:i64 id,
|
| 51 |
2:string manufacturerName,
|
51 |
2:string manufacturerName,
|
| 52 |
3:string modelNumber,
|
52 |
3:string modelNumber,
|
| 53 |
4:string modelName,
|
53 |
4:string modelName,
|
| 54 |
5:string category,
|
54 |
5:i64 category,
|
| 55 |
6:string comments,
|
55 |
6:string comments,
|
| 56 |
7:i64 catalogItemId,
|
56 |
7:i64 catalogItemId,
|
| 57 |
8:string vendorItemId
|
57 |
8:string vendorItemId
|
| 58 |
10:i64 featureId,
|
58 |
10:i64 featureId,
|
| 59 |
11:string featureDescription,
|
59 |
11:string featureDescription,
|
| Line 111... |
Line 111... |
| 111 |
list<Warehouse> getAllWarehousesForItem(1:i64 item_id) throws (1:InventoryServiceException cex),
|
111 |
list<Warehouse> getAllWarehousesForItem(1:i64 item_id) throws (1:InventoryServiceException cex),
|
| 112 |
list<Item> getAllItemsForWarehouse(1:i64 warehouse_id) throws (1:InventoryServiceException cex),
|
112 |
list<Item> getAllItemsForWarehouse(1:i64 warehouse_id) throws (1:InventoryServiceException cex),
|
| 113 |
|
113 |
|
| 114 |
// for home page .... best deals, best sellers and latest arrivals
|
114 |
// for home page .... best deals, best sellers and latest arrivals
|
| 115 |
list<Item> getBestSellers() throws (1:InventoryServiceException isex),
|
115 |
list<Item> getBestSellers() throws (1:InventoryServiceException isex),
|
| 116 |
list<i64> getBestSellersCatalogIds(1:i64 beginIndex, 2:i64 totalItems) throws (1:InventoryServiceException cex),
|
116 |
list<i64> getBestSellersCatalogIds(1:i64 beginIndex, 2:i64 totalItems, 3:i64 category) throws (1:InventoryServiceException cex),
|
| 117 |
i64 getBestSellersCount() throws (1:InventoryServiceException cex),
|
117 |
i64 getBestSellersCount() throws (1:InventoryServiceException cex),
|
| 118 |
|
118 |
|
| 119 |
list<Item> getBestDeals() throws (1:InventoryServiceException isex),
|
119 |
list<Item> getBestDeals() throws (1:InventoryServiceException isex),
|
| 120 |
list<i64> getBestDealsCatalogIds(1:i64 beginIndex, 2:i64 totalItems) throws (1:InventoryServiceException cex),
|
120 |
list<i64> getBestDealsCatalogIds(1:i64 beginIndex, 2:i64 totalItems, 3:i64 category) throws (1:InventoryServiceException cex),
|
| 121 |
i64 getBestDealsCount() throws (1:InventoryServiceException cex),
|
121 |
i64 getBestDealsCount() throws (1:InventoryServiceException cex),
|
| 122 |
|
122 |
|
| 123 |
list<Item> getLatestArrivals() throws (1:InventoryServiceException isex),
|
123 |
list<Item> getLatestArrivals() throws (1:InventoryServiceException isex),
|
| 124 |
list<i64> getLatestArrivalsCatalogIds(1:i64 beginIndex, 2:i64 totalItems) throws (1:InventoryServiceException cex),
|
124 |
list<i64> getLatestArrivalsCatalogIds(1:i64 beginIndex, 2:i64 totalItems, 3:i64 category) throws (1:InventoryServiceException cex),
|
| 125 |
i64 getLatestArrivalsCount() throws (1:InventoryServiceException cex)
|
125 |
i64 getLatestArrivalsCount() throws (1:InventoryServiceException cex)
|
| 126 |
}
|
126 |
}
|
| 127 |
|
127 |
|