Subversion Repositories SmartDukaan

Rev

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

Rev 2642 Rev 2717
Line 210... Line 210...
210
}
210
}
211
 
211
 
212
struct UserNote{
212
struct UserNote{
213
	1:i64 user_id,
213
	1:i64 user_id,
214
	2:i64 entity_id,
214
	2:i64 entity_id,
215
	3:i64 slide_id,
215
	3:string slide,
216
	4:string note
216
	4:string note
217
}
217
}
218
 
218
 
219
//Various statuses for line items
219
//Various statuses for line items
220
enum LineStatus{
220
enum LineStatus{
Line 483... Line 483...
483
	If any of startDate or endDate is -1, then that filter is ignored. 
483
	If any of startDate or endDate is -1, then that filter is ignored. 
484
	If userType is null, then returns all the users, irrespective of anonymous flag
484
	If userType is null, then returns all the users, irrespective of anonymous flag
485
	
485
	
486
	*/
486
	*/
487
	list<User> getAllUsers(1:UserType userType, 2:i64 startDate, 3:i64 endDate),
487
	list<User> getAllUsers(1:UserType userType, 2:i64 startDate, 3:i64 endDate),
488
		
488
	
489
	/** Masking right now. May be used later.	
489
	/** Masking right now. May be used later.	
490
	void addWidget(1:Widget widget) throws (1:WidgetException scx),
490
	void addWidget(1:Widget widget) throws (1:WidgetException scx),
491
	void addItemToWidget(1:i64 widget_id, 2:list<i64> items) throws (1:WidgetException scx),
491
	void addItemToWidget(1:i64 widget_id, 2:list<i64> items) throws (1:WidgetException scx),
492
	void deleteItemFromWidget(1:i64 widget_id, 2:i64 item_id) throws (1:WidgetException scx),
492
	void deleteItemFromWidget(1:i64 widget_id, 2:i64 item_id) throws (1:WidgetException scx),
493
	void updateWidget(1:i64 widgetId, 2:bool enable) throws (1:WidgetException scx),
493
	void updateWidget(1:i64 widgetId, 2:bool enable) throws (1:WidgetException scx),
494
	void updateWidgetItem(1:i64 widgetId, 2:bool enable) throws (1:WidgetException scx),
494
	void updateWidgetItem(1:i64 widgetId, 2:bool enable) throws (1:WidgetException scx),
495
	Widget getWidget(1:WidgetType type, 2:i64 userId, 3:bool onlyEnabled) throws (1:WidgetException scx),
495
	Widget getWidget(1:WidgetType type, 2:i64 userId, 3:bool onlyEnabled) throws (1:WidgetException scx),
496
	*/
496
	*/
497
	
497
	
498
	void putUserNote(1:i64 user_id, 2:i64 entity_id, 3:i64 slide_id, 4:string note),
498
	void putUserNote(1:i64 user_id, 2:i64 entity_id, 3:string slide, 4:string note),
499
	list<UserNote> getUserNotes(1:i64 user_id, 2:i64 entity_id)
499
	list<UserNote> getUserNotes(1:i64 user_id, 2:i64 entity_id)
500
}
500
}
501
501