Subversion Repositories SmartDukaan

Rev

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

Rev 2023 Rev 2356
Line 48... Line 48...
48
	1:string username
48
	1:string username
49
}
49
}
50
 
50
 
51
struct CatalogDashboardUser{
51
struct CatalogDashboardUser{
52
	1:string username,
52
	1:string username,
53
	2:string password
53
	2:string password,
-
 
54
	3:i64 role
54
}
55
}
55
 
56
 
56
struct UserEmail{
57
struct UserEmail{
57
	1:i64 id,
58
	1:i64 id,
58
	2:string emailTo,
59
	2:string emailTo,
Line 127... Line 128...
127
	Returns list of reports which are configured for the given role. 
128
	Returns list of reports which are configured for the given role. 
128
	*/
129
	*/
129
	list<Report> getReports(1:i64 role),
130
	list<Report> getReports(1:i64 role),
130
	
131
	
131
	/**
132
	/**
132
	 Returns the CatalogDashboardUser struct associated with the given username and password if they match.
133
	 Returns the CatalogDashboardUser struct associated with the given username, password and role if they match.
133
	 Throws an exception otherwise.
134
	 Throws an exception otherwise.
134
	*/
135
	*/
135
	CatalogDashboardUser authenticateCatalogUser(1:string username, 2:string password) throws(1:HelperServiceException hse),
136
	CatalogDashboardUser authenticateCatalogUser(1:string username, 2:string password, 3:i64 role) throws(1:HelperServiceException hse),
136
}
137
}
137
138