Subversion Repositories SmartDukaan

Rev

Rev 763 | Rev 956 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 763 Rev 862
Line 134... Line 134...
134
	list<Warehouse> getAllWarehouses(1:bool isActive) throws (1:InventoryServiceException cex),
134
	list<Warehouse> getAllWarehouses(1:bool isActive) throws (1:InventoryServiceException cex),
135
	Warehouse getWarehouse(1:i64 warehouse_id) throws (1:InventoryServiceException cex),
135
	Warehouse getWarehouse(1:i64 warehouse_id) throws (1:InventoryServiceException cex),
136
	list<Warehouse> getAllWarehousesForItem(1:i64 item_id) throws (1:InventoryServiceException cex),
136
	list<Warehouse> getAllWarehousesForItem(1:i64 item_id) throws (1:InventoryServiceException cex),
137
	list<Item> getAllItemsForWarehouse(1:i64 warehouse_id) throws (1:InventoryServiceException cex),
137
	list<Item> getAllItemsForWarehouse(1:i64 warehouse_id) throws (1:InventoryServiceException cex),
138
	
138
	
-
 
139
	/**
-
 
140
	 Increases the reservation count for an item in a warehouse. Should always succeed normally.
-
 
141
	*/
-
 
142
	bool reserveItemInWarehouse(1:i64 itemId, 2:i64 warehouseId, 3:double quantity) throws (1:InventoryServiceException cex),
-
 
143
	
-
 
144
	/**
-
 
145
	 Decreases the reservation count for an item in a warehouse. Should always succeed normally.
-
 
146
	*/
-
 
147
	bool reduceReservationCount(1:i64 itemId, 2:i64 warehouseId, 3:double quantity) throws (1:InventoryServiceException cex),
-
 
148
	
139
	// for home page .... best deals, best sellers and latest arrivals
149
	// for home page .... best deals, best sellers and latest arrivals
140
	list<Item> getBestSellers() throws (1:InventoryServiceException isex),
150
	list<Item> getBestSellers() throws (1:InventoryServiceException isex),
141
	list<i64> getBestSellersCatalogIds(1:i64 beginIndex, 2:i64 totalItems, 3:i64 category) throws (1:InventoryServiceException cex),
151
	list<i64> getBestSellersCatalogIds(1:i64 beginIndex, 2:i64 totalItems, 3:i64 category) throws (1:InventoryServiceException cex),
142
	i64 getBestSellersCount() throws (1:InventoryServiceException cex),
152
	i64 getBestSellersCount() throws (1:InventoryServiceException cex),
143
	
153