类 EmailServiceImpl
- java.lang.Object
-
- net.risesoft.service.impl.MailHelper
-
- net.risesoft.service.impl.EmailServiceImpl
-
- 所有已实现的接口:
EmailService
@Service public class EmailServiceImpl extends MailHelper implements EmailService
-
-
字段概要
-
从类继承的字段 net.risesoft.service.impl.MailHelper
y9WebMailProperties
-
-
构造器概要
构造器 构造器 说明 EmailServiceImpl()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 Map<String,Object>addressRelevancy(String search)List<EmailContactDTO>contactPerson()voiddelete(String folderName, long[] uids)voiddeletePermanently(String folderName, long[] uids)EmailDetailDTOdetail(String folderName, 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 folderName, boolean unRead)Map<String,Object>getTodoCount(String personId)static booleanisHasAttachment(javax.mail.Message message)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)-
从类继承的方法 net.risesoft.service.impl.MailHelper
createReceiveMailSession, createSendMailSession, getEmailContactDTOList, getMessage, getPersonData, parseEmailAttachment, parseEmailAttachmentList
-
-
-
-
方法详细资料
-
delete
public void delete(String folderName, long[] uids) throws javax.mail.MessagingException
- 指定者:
delete在接口中EmailService- 抛出:
javax.mail.MessagingException
-
deletePermanently
public void deletePermanently(String folderName, long[] uids) throws javax.mail.MessagingException
- 指定者:
deletePermanently在接口中EmailService- 抛出:
javax.mail.MessagingException
-
detail
public EmailDetailDTO detail(String folderName, long uid) throws Exception
- 指定者:
detail在接口中EmailService- 抛出:
Exception
-
exportEml
public void exportEml(String folderName, long uid, javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpServletRequest request) throws IOException, javax.mail.MessagingException
- 指定者:
exportEml在接口中EmailService- 抛出:
IOExceptionjavax.mail.MessagingException
-
findByFolderAndUid
public EmailDTO findByFolderAndUid(String folderName, long uid) throws Exception
- 指定者:
findByFolderAndUid在接口中EmailService- 抛出:
Exception
-
flag
public void flag(String folderName, long[] uids, boolean flagged) throws javax.mail.MessagingException
- 指定者:
flag在接口中EmailService- 抛出:
javax.mail.MessagingException
-
forward
public EmailDTO forward(String folderName, long uid) throws Exception
- 指定者:
forward在接口中EmailService- 抛出:
Exception
-
getCountByFolder
public int getCountByFolder(String folderName, boolean unRead) throws javax.mail.MessagingException
- 指定者:
getCountByFolder在接口中EmailService- 抛出:
javax.mail.MessagingException
-
getTodoCount
public Map<String,Object> getTodoCount(String personId) throws javax.mail.MessagingException
- 指定者:
getTodoCount在接口中EmailService- 抛出:
javax.mail.MessagingException
-
listByFolder
public net.risesoft.pojo.Y9Page<EmailListDTO> listByFolder(String folderName, int page, int rows) throws javax.mail.MessagingException, IOException
- 指定者:
listByFolder在接口中EmailService- 抛出:
javax.mail.MessagingExceptionIOException
-
move
public void move(long[] uids, String originFolderName, String toFolderName) throws javax.mail.MessagingException- 指定者:
move在接口中EmailService- 抛出:
javax.mail.MessagingException
-
quickReply
public void quickReply(String folderName, Long uid, String richText) throws Exception
- 指定者:
quickReply在接口中EmailService- 抛出:
Exception
-
read
public void read(String folderName, long[] uids, Boolean isRead) throws Exception
- 指定者:
read在接口中EmailService- 抛出:
Exception
-
reply
public EmailDTO reply(String folderName, Long uid) throws Exception
- 指定者:
reply在接口中EmailService- 抛出:
Exception
-
replyAll
public EmailDTO replyAll(String folderName, Long uid) throws Exception
- 指定者:
replyAll在接口中EmailService- 抛出:
Exception
-
search
public net.risesoft.pojo.Y9Page<EmailListDTO> search(EmailSearchDTO searchDTO, int page, int size) throws javax.mail.MessagingException, IOException
- 指定者:
search在接口中EmailService- 抛出:
javax.mail.MessagingExceptionIOException
-
todoCount
public int todoCount(String folder)
- 指定者:
todoCount在接口中EmailService
-
send
public void send(String messageId) throws javax.mail.MessagingException, IOException
- 指定者:
send在接口中EmailService- 抛出:
javax.mail.MessagingExceptionIOException
-
contactPerson
public List<EmailContactDTO> contactPerson() throws javax.mail.MessagingException, IOException
- 指定者:
contactPerson在接口中EmailService- 抛出:
javax.mail.MessagingExceptionIOException
-
isHasAttachment
public static boolean isHasAttachment(javax.mail.Message message) throws IOException, javax.mail.MessagingException- 抛出:
IOExceptionjavax.mail.MessagingException
-
addressRelevancy
public Map<String,Object> addressRelevancy(String search)
- 指定者:
addressRelevancy在接口中EmailService
-
-