Subversion Repositories SmartDukaan

Rev

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

Rev 4693 Rev 4806
Line 92... Line 92...
92
	1:i64 id,
92
	1:i64 id,
93
	2:string description,
93
	2:string description,
94
	3:string controller
94
	3:string controller
95
}
95
}
96
 
96
 
-
 
97
struct QuickLink	{
-
 
98
	1:string url,
-
 
99
	2:string text
-
 
100
}
-
 
101
 
97
service HelperService extends GenericService.GenericService{
102
service HelperService extends GenericService.GenericService{
98
	/**
103
	/**
99
	* Save email details, to be sent later; Also returns its identifier.
104
	* Save email details, to be sent later; Also returns its identifier.
100
	*/
105
	*/
101
	i64 saveUserEmailForSending(1:string emailTo, 2:string emailFrom, 3:string subject, 4:string body, 5:string source, 6:string emailType) throws (1:HelperServiceException se),
106
	i64 saveUserEmailForSending(1:string emailTo, 2:string emailFrom, 3:string subject, 4:string body, 5:string source, 6:string emailType) throws (1:HelperServiceException se),
Line 166... Line 171...
166
	Saves the list of entity Ids to be shared with an email address 
171
	Saves the list of entity Ids to be shared with an email address 
167
	*/
172
	*/
168
	void shareEntities(1:list<i64> entityIds, 2:string email) throws(1:HelperServiceException hse),
173
	void shareEntities(1:list<i64> entityIds, 2:string email) throws(1:HelperServiceException hse),
169
	
174
	
170
    // Methods to read agent information
175
    // Methods to read agent information
171
    list<Agent> getAgents();
176
    list<Agent> getAgents(),
172
    bool validateLogIn(1:string emailId, 2:string password);
177
    bool validateLogIn(1:string emailId, 2:string password),
173
    void updatePasswordForAgent(1:string agentEmailId, 2:string password);
178
    void updatePasswordForAgent(1:string agentEmailId, 2:string password),
174
 
179
 
175
    // Methods to read roles and permissions information
180
    // Methods to read roles and permissions information
176
    list<string> getRoleNamesForAgent(1:string agentEmailId);
181
    list<string> getRoleNamesForAgent(1:string agentEmailId),
177
    list<string> getPermissionsForRoleName(1:string roleName);	
182
    list<string> getPermissionsForRoleName(1:string roleName),	
-
 
183
    
-
 
184
    //Methods to save and read QuickLinks
-
 
185
    void saveQuickLink(1:string url, 2:string text) throws(1:HelperServiceException hse),
-
 
186
    list<QuickLink> getQuickLinks() throws(1:HelperServiceException hse)
178
}
187
}
179
188