01: package org.claros.mini.controllers;
02:
03: import org.claros.commons.mail.models.Email;
04: import org.claros.mini.models.EmailDbItem;
05:
06: /**
07: * @author Umut Gokbayrak
08: */
09: public interface MailController {
10: public Email getEmailById(Long emailId) throws Exception;
11:
12: public void deleteEmail(Long emailId) throws Exception;
13:
14: public void deleteEmails(int msgs[]) throws Exception;
15:
16: public void moveEmail(Long msgId, String destFolder)
17: throws Exception;
18:
19: public void appendEmail(EmailDbItem item) throws Exception;
20:
21: public void markAsRead(Long msgId) throws Exception;
22: }
|