接口 EmailService
-
- 所有已知实现类:
EmailServiceImpl
public interface EmailService
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 Map<String,Object>addressRelevancy(String search)List<EmailContactDTO>contactPerson()voiddelete(String folderName, long[] uids)voiddeletePermanently(String folderName, long[] uids)EmailDetailDTOdetail(String folder, long uid)voidexportEml(String folderName, long uid, javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpServletRequest request)EmailDTOfindByFolderAndUid(String folderName, long uid)voidflag(String folderName, long[] uids, boolean flagged)EmailDTOforward(String folderName, long uid)intgetCountByFolder(String type, boolean unRead)Map<String,Object>getTodoCount(String personId)net.risesoft.pojo.Y9Page<EmailListDTO>listByFolder(String folderName, int page, int rows)voidmove(long[] uids, String originFolderName, String toFolderName)voidquickReply(String folderName, Long uid, String richText)voidread(String folderName, long[] uids, Boolean isRead)EmailDTOreply(String folderName, Long uid)EmailDTOreplyAll(String folderName, Long uid)Stringsave(EmailDTO email)net.risesoft.pojo.Y9Page<EmailListDTO>search(EmailSearchDTO searchDTO, int page, int size)voidsend(String messageId)inttodoCount(String folder)
-
-
-
方法详细资料
-
delete
void delete(String folderName, long[] uids) throws javax.mail.MessagingException
- 抛出:
javax.mail.MessagingException
-
deletePermanently
void deletePermanently(String folderName, long[] uids) throws javax.mail.MessagingException
- 抛出:
javax.mail.MessagingException
-
detail
EmailDetailDTO detail(String folder, long uid) throws Exception
- 抛出:
Exception
-
exportEml
void exportEml(String folderName, long uid, javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpServletRequest request) throws IOException, javax.mail.MessagingException
- 抛出:
IOExceptionjavax.mail.MessagingException
-
findByFolderAndUid
EmailDTO findByFolderAndUid(String folderName, long uid) throws Exception
- 抛出:
Exception
-
flag
void flag(String folderName, long[] uids, boolean flagged) throws javax.mail.MessagingException
- 抛出:
javax.mail.MessagingException
-
getCountByFolder
int getCountByFolder(String type, boolean unRead) throws javax.mail.MessagingException
- 抛出:
javax.mail.MessagingException
-
getTodoCount
Map<String,Object> getTodoCount(String personId) throws javax.mail.MessagingException
- 抛出:
javax.mail.MessagingException
-
listByFolder
net.risesoft.pojo.Y9Page<EmailListDTO> listByFolder(String folderName, int page, int rows) throws javax.mail.MessagingException, IOException
- 抛出:
javax.mail.MessagingExceptionIOException
-
move
void move(long[] uids, String originFolderName, String toFolderName) throws javax.mail.MessagingException- 抛出:
javax.mail.MessagingException
-
quickReply
void quickReply(String folderName, Long uid, String richText) throws Exception
- 抛出:
Exception
-
search
net.risesoft.pojo.Y9Page<EmailListDTO> search(EmailSearchDTO searchDTO, int page, int size) throws javax.mail.MessagingException, IOException
- 抛出:
javax.mail.MessagingExceptionIOException
-
todoCount
int todoCount(String folder)
-
send
void send(String messageId) throws javax.mail.MessagingException, IOException
- 抛出:
javax.mail.MessagingExceptionIOException
-
contactPerson
List<EmailContactDTO> contactPerson() throws javax.mail.MessagingException, IOException
- 抛出:
javax.mail.MessagingExceptionIOException
-
-