Subversion Repositories SmartDukaan

Rev

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

Rev 6241 Rev 6511
Line 117... Line 117...
117
exception CatalogServiceException{
117
exception CatalogServiceException{
118
	1:i64 id,
118
	1:i64 id,
119
	2:string message
119
	2:string message
120
}
120
}
121
 
121
 
-
 
122
struct EntityTag {
-
 
123
    1:i64 entityId,
-
 
124
    2:string tag
-
 
125
}
-
 
126
 
122
service CatalogService extends GenericService.GenericService{
127
service CatalogService extends GenericService.GenericService{
123
 
128
 
124
/**
129
/**
125
	Availability and inventory attributes	
130
	Availability and inventory attributes	
126
*/
131
*/
Line 213... Line 218...
213
	Adds similar item.
218
	Adds similar item.
214
	*/
219
	*/
215
	Item addSimilarItem(1:i64 itemId, 2:i64 catalogItemId) throws (1:CatalogServiceException cex),
220
	Item addSimilarItem(1:i64 itemId, 2:i64 catalogItemId) throws (1:CatalogServiceException cex),
216
	
221
	
217
	/**
222
	/**
-
 
223
	Tag Related
-
 
224
	*/
-
 
225
	
-
 
226
	bool addTag(1:string displayName, 2:i64 itemId),
-
 
227
	bool deleteEntityTag(1:string displayName, 2:i64 itemId),
-
 
228
	bool deleteTag(1:string displayName),
-
 
229
	list<string> getAllTags(),
-
 
230
	list<i64> getAllEntitiesByTagName(1:string displayName)
-
 
231
	
-
 
232
	/**
218
	Delete similar item.
233
	Delete similar item.
219
	*/
234
	*/
220
	bool deleteSimilarItem(1:i64 itemId, 2:i64 catalogItemId) throws (1:CatalogServiceException cex),
235
	bool deleteSimilarItem(1:i64 itemId, 2:i64 catalogItemId) throws (1:CatalogServiceException cex),
221
	
236
	
222
	/**
237
	/**