Subversion Repositories SmartDukaan

Rev

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

Rev 5055 Rev 5864
Line 71... Line 71...
71
	3:i64 role
71
	3:i64 role
72
}
72
}
73
 
73
 
74
struct UserEmail{
74
struct UserEmail{
75
	1:i64 id,
75
	1:i64 id,
76
	2:string emailTo,
76
	2:list<string> emailTo,
77
	3:string emailFrom,
77
	3:string emailFrom,
78
	4:string subject,
78
	4:string subject,
79
	5:string body,
79
	5:string body,
80
	6:string source,
80
	6:string source,
81
	7:string emailType,
81
	7:string emailType,
82
	8:bool status,
82
	8:bool status,
83
	9:i64 timestamp
83
	9:i64 timestamp,
-
 
84
	10:list<string> cc,
-
 
85
	11:list<string> bcc
84
}
86
}
85
 
87
 
86
struct ReportUser{
88
struct ReportUser{
87
	1:string username,
89
	1:string username,
88
	2:i64 role
90
	2:i64 role
Line 102... Line 104...
102
 
104
 
103
service HelperService extends GenericService.GenericService{
105
service HelperService extends GenericService.GenericService{
104
	/**
106
	/**
105
	* Save email details, to be sent later; Also returns its identifier.
107
	* Save email details, to be sent later; Also returns its identifier.
106
	*/
108
	*/
107
	i64 saveUserEmailForSending(1:string emailTo, 2:string emailFrom, 3:string subject, 4:string body, 5:string source, 6:string emailType) throws (1:HelperServiceException se),
109
	i64 saveUserEmailForSending(1:list<string> emailTo, 2:string emailFrom, 3:string subject, 4:string body, 5:string source, 6:string emailType, 7:list<string> cc, 8:list<string> bcc,) throws (1:HelperServiceException se),
108
	
110
	
109
	/**
111
	/**
110
	* Retreives all the emails pending for dispatch
112
	* Retreives all the emails pending for dispatch
111
	*/
113
	*/
112
	list<UserEmail> getEmailsToBeSent() throws (1:HelperServiceException se),
114
	list<UserEmail> getEmailsToBeSent() throws (1:HelperServiceException se),