Subversion Repositories SmartDukaan

Rev

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

Rev 2443 Rev 2779
Line 30... Line 30...
30
    /**
30
    /**
31
     * For closing the open session in sqlalchemy
31
     * For closing the open session in sqlalchemy
32
     */
32
     */
33
    public void closeSession() throws TException;
33
    public void closeSession() throws TException;
34
 
34
 
-
 
35
    /**
-
 
36
     * Save email details, to be sent later
-
 
37
     * 
-
 
38
     * @param emailTo
-
 
39
     * @param emailFrom
-
 
40
     * @param subject
-
 
41
     * @param body
-
 
42
     * @param source
-
 
43
     * @param emailType
-
 
44
     */
35
    public void saveUserEmailForSending(String emailTo, String emailFrom, String subject, String body, String source, String emailType) throws HelperServiceException, TException;
45
    public void saveUserEmailForSending(String emailTo, String emailFrom, String subject, String body, String source, String emailType) throws HelperServiceException, TException;
36
 
46
 
-
 
47
    /**
-
 
48
     * Retreives all the emails pending for dispatch
-
 
49
     * 
-
 
50
     * @param emailType
-
 
51
     */
37
    public List<UserEmail> getEmailsToBeSent(String emailType) throws HelperServiceException, TException;
52
    public List<UserEmail> getEmailsToBeSent(String emailType) throws HelperServiceException, TException;
38
 
53
 
-
 
54
    /**
-
 
55
     * Marks email as sent after successful dispatch
-
 
56
     * 
-
 
57
     * @param emailId
-
 
58
     */
39
    public void markEmailAsSent(long emailId) throws HelperServiceException, TException;
59
    public void markEmailAsSent(long emailId) throws HelperServiceException, TException;
40
 
60
 
41
    public void sendMail(Mail mail) throws HelperServiceException, TException;
61
    public void sendMail(Mail mail) throws HelperServiceException, TException;
42
 
62
 
43
    public void sendText(TextMessage message) throws HelperServiceException, TException;
63
    public void sendText(TextMessage message) throws HelperServiceException, TException;