Subversion Repositories SmartDukaan

Rev

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

Rev 2033 Rev 2642
Line 207... Line 207...
207
    5:string event,
207
    5:string event,
208
    6:string url,
208
    6:string url,
209
    7:string data
209
    7:string data
210
}
210
}
211
 
211
 
-
 
212
struct UserNote{
-
 
213
	1:i64 user_id,
-
 
214
	2:i64 entity_id,
-
 
215
	3:i64 slide_id,
-
 
216
	4:string note
-
 
217
}
-
 
218
 
212
//Various statuses for line items
219
//Various statuses for line items
213
enum LineStatus{
220
enum LineStatus{
214
	LINE_ACTIVE,			//line is active
221
	LINE_ACTIVE,			//line is active
215
	LINE_DELETED,			//line is deleted
222
	LINE_DELETED,			//line is deleted
216
	LINE_EXPIRED,			//line is expired, on laspse of fixed amount of time
223
	LINE_EXPIRED,			//line is expired, on laspse of fixed amount of time
Line 475... Line 482...
475
	Returns list of users of type userType who registered between startDate and endDate (both inclusive).
482
	Returns list of users of type userType who registered between startDate and endDate (both inclusive).
476
	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. 
477
	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
478
	
485
	
479
	*/
486
	*/
480
	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),
481
		
488
		
482
	/** Masking right now. May be used later.	
489
	/** Masking right now. May be used later.	
483
	void addWidget(1:Widget widget) throws (1:WidgetException scx),
490
	void addWidget(1:Widget widget) throws (1:WidgetException scx),
484
	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),
485
	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),
486
	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),
487
	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),
488
	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),
489
	*/
496
	*/
490
	
497
	
491
	
-
 
-
 
498
	void putUserNote(1:i64 user_id, 2:i64 entity_id, 3:i64 slide_id, 4:string note),
-
 
499
	list<UserNote> getUserNotes(1:i64 user_id, 2:i64 entity_id)
492
}
500
}
493
 
-
 
494
 
-
 
495
501