Subversion Repositories SmartDukaan

Rev

Rev 3896 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3896 Rev 19686
Line 6... Line 6...
6
exception ContentServiceException{
6
exception ContentServiceException{
7
	1:i64 id,
7
	1:i64 id,
8
	2:string message
8
	2:string message
9
}
9
}
10
 
10
 
-
 
11
struct BulkContentUpload{
-
 
12
	1:i64 new_entity_id,
-
 
13
	2:i64 category_id,
-
 
14
	3:string compatibility,
-
 
15
	4:i32 battery_type,
-
 
16
	5:string battery_capacity,
-
 
17
	6:string summary,
-
 
18
	7:i64 existing_entity_id,
-
 
19
	8:string brand,
-
 
20
	9:string model_name,
-
 
21
	10:string model_number
-
 
22
}
-
 
23
 
-
 
24
struct BulkContentUploadResult{
-
 
25
	1:i64 entity_id,
-
 
26
	2:string message
-
 
27
}
-
 
28
 
11
service ContentService extends GenericService.GenericService {
29
service ContentService extends GenericService.GenericService {
12
	/**
30
	/**
13
	Push the content of the given entity to production
31
	Push the content of the given entity to production
14
	*/
32
	*/
15
	bool pushContentToProduction(1:i64 entityId) throws (1:ContentServiceException cse) 
33
	bool pushContentToProduction(1:i64 entityId) throws (1:ContentServiceException cse)
-
 
34
	
-
 
35
	list<BulkContentUploadResult> uploadContent(1:list<BulkContentUpload> bulkUploadContentList)
-
 
36
	
16
}
37
}
17
38