Subversion Repositories SmartDukaan

Rev

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

Rev 548 Rev 561
Line 85... Line 85...
85
*/
85
*/
86
	//all add and update methods - added by Ashish
86
	//all add and update methods - added by Ashish
87
	i64 addItem(1:Item item) throws (1:InventoryServiceException cex),
87
	i64 addItem(1:Item item) throws (1:InventoryServiceException cex),
88
	i64 updateItem(1:Item item) throws (1:InventoryServiceException cex),
88
	i64 updateItem(1:Item item) throws (1:InventoryServiceException cex),
89
	i64 addWarehouse(1:Warehouse warehouse) throws (1:InventoryServiceException cex),
89
	i64 addWarehouse(1:Warehouse warehouse) throws (1:InventoryServiceException cex),
-
 
90
	bool isActive(1:i64 item_id) throws (1:InventoryServiceException isex),
90
	// Commented by Rajveer:- replaced by new one below
91
	// Commented by Rajveer:- replaced by new one below
91
	//void updateInventory(1:i64 item_id, 2:i64 warehouse_id, 3: i64 quantity, 4:i64 timestamp) throws (1:InventoryServiceException cex),
92
	//void updateInventory(1:i64 item_id, 2:i64 warehouse_id, 3: i64 quantity, 4:i64 timestamp) throws (1:InventoryServiceException cex),
92
	void updateInventory(1:i64 warehouse_id, 2:string timestamp, 3:map<string, i64> availability) throws (1:InventoryServiceException cex),
93
	void updateInventory(1:i64 warehouse_id, 2:string timestamp, 3:map<string, i64> availability) throws (1:InventoryServiceException cex),
93
	// commented right now. write on based of requirement
94
	// commented right now. write on based of requirement
94
	// void updatePrice(1:i64 item_id, 2:i64 warehouse_id, 3:double price) throws (1:InventoryServiceException cex),
95
	// void updatePrice(1:i64 item_id, 2:i64 warehouse_id, 3:double price) throws (1:InventoryServiceException cex),