Subversion Repositories SmartDukaan

Rev

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

Rev 1397 Rev 1422
Line 43... Line 43...
43
	1:string username,
43
	1:string username,
44
	2:i64 providerId
44
	2:i64 providerId
45
}
45
}
46
 
46
 
47
struct UserEmail{
47
struct UserEmail{
-
 
48
	1:i64 id,
48
	1:string emailTo,
49
	2:string emailTo,
49
	2:string emailFrom,
50
	3:string emailFrom,
50
	3:string subject,
51
	4:string subject,
51
	4:string body,
52
	5:string body,
52
	5:string source,
53
	6:string source,
53
	6:string emailType,
54
	7:string emailType,
54
	7:bool status,
55
	8:bool status,
55
	8:i64 timestamp
56
	9:i64 timestamp
56
}
57
}
57
 
58
 
58
service HelperService{
59
service HelperService{
59
	/**
60
	/**
60
	* For closing the open session in sqlalchemy
61
	* For closing the open session in sqlalchemy
61
	*/
62
	*/
62
	void closeSession(),
63
	void closeSession(),
63
	
64
	
64
	void saveUserEmailForSending(1:string emailTo, 2:string emailFrom, 3:string subject, 4:string body, 5:string source, 6:string emailType) throws (1:HelperServiceException se),
65
	void saveUserEmailForSending(1:string emailTo, 2:string emailFrom, 3:string subject, 4:string body, 5:string source, 6:string emailType) throws (1:HelperServiceException se),
-
 
66
	list<UserEmail> getEmailsToBeSent(1:string emailType) throws (1:HelperServiceException se),
-
 
67
	void markEmailAsSent(1:i64 emailId) throws (1:HelperServiceException se),
65
	
68
	
66
	void sendMail(1:Mail mail) throws (1:HelperServiceException se),
69
	void sendMail(1:Mail mail) throws (1:HelperServiceException se),
67
	void sendText(1:TextMessage message) throws (1:HelperServiceException se),
70
	void sendText(1:TextMessage message) throws (1:HelperServiceException se),
68
	
71
	
69
	void addMessage(1:Message message) throws (1:HelperServiceException se),
72
	void addMessage(1:Message message) throws (1:HelperServiceException se),