Subversion Repositories SmartDukaan

Rev

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

Rev 3361 Rev 3374
Line 1... Line 1...
1
namespace java in.shop2020.model.v1.catalog
1
namespace java in.shop2020.model.v1.catalog
2
namespace py shop2020.thriftpy.model.v1.catalog
2
namespace py shop2020.thriftpy.model.v1.catalog
3
 
3
 
-
 
4
include "GenericService.thrift"
-
 
5
 
4
/**
6
/**
5
	Objects
7
	Objects
6
*/
8
*/
7
 
9
 
8
/**
10
/**
Line 140... Line 142...
140
exception InventoryServiceException{
142
exception InventoryServiceException{
141
	1:i64 id,
143
	1:i64 id,
142
	2:string message
144
	2:string message
143
}
145
}
144
 
146
 
145
service InventoryService{
147
service InventoryService extends GenericService.GenericService{
146
 
148
 
147
	/**
-
 
148
	* For closing the open session in sqlalchemy
-
 
149
	*/
-
 
150
	void closeSession(),
-
 
151
	
-
 
152
/**
149
/**
153
	Availability and inventory attributes	
150
	Availability and inventory attributes	
154
*/
151
*/
155
	//all add and update methods - added by Ashish
152
	//all add and update methods - added by Ashish
156
	i64 addItem(1:Item item) throws (1:InventoryServiceException cex),
153
	i64 addItem(1:Item item) throws (1:InventoryServiceException cex),