Package io.jmix.imap.impl
Class ImapOperations
java.lang.Object
io.jmix.imap.impl.ImapOperations
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ImapHelperprotected static final Stringstatic final Stringprotected Metadataprotected static final Stringprotected static final Stringprotected TimeSource - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected List<com.sun.mail.imap.IMAPMessage>fetch(com.sun.mail.imap.IMAPFolder folder, ImapMailBox mailBox, javax.mail.Message[] messages) protected List<com.sun.mail.imap.IMAPMessage>fetch(com.sun.mail.imap.IMAPFolder folder, javax.mail.FetchProfile fetchProfile, javax.mail.Message[] messages) fetchFolders(com.sun.mail.imap.IMAPStore store) protected StringgetRefId(com.sun.mail.imap.IMAPMessage message) protected StringgetSubject(com.sun.mail.imap.IMAPMessage message) protected LonggetThreadId(com.sun.mail.imap.IMAPMessage message, ImapMailBox mailBox) protected javax.mail.FetchProfileheaderProfile(ImapMailBox mailBox) protected ImapFolderDtomap(com.sun.mail.imap.IMAPFolder folder) map(ImapMessage jmixMessage, com.sun.mail.imap.IMAPMessage msg, ImapFolder jmixFolder) protected javax.mail.search.SearchTermnewer(int lastMessageNumber) List<com.sun.mail.imap.IMAPMessage>search(com.sun.mail.imap.IMAPFolder folder, Integer lastMessageNumber, ImapMailBox mailBox) List<com.sun.mail.imap.IMAPMessage>search(com.sun.mail.imap.IMAPFolder folder, javax.mail.search.SearchTerm searchTerm, ImapMailBox mailBox) List<com.sun.mail.imap.IMAPMessage>searchMessageIds(com.sun.mail.imap.IMAPFolder folder, javax.mail.search.SearchTerm searchTerm) booleansupportsCustomFlag(com.sun.mail.imap.IMAPStore store)  
- 
Field Details
- 
REFERENCES_HEADER
- See Also:
 
 - 
IN_REPLY_TO_HEADER
- See Also:
 
 - 
SUBJECT_HEADER
- See Also:
 
 - 
MESSAGE_ID_HEADER
- See Also:
 
 - 
imapHelper
 - 
metadata
 - 
timeSource
 
 - 
 - 
Constructor Details
- 
ImapOperations
public ImapOperations() 
 - 
 - 
Method Details
- 
fetchFolders
public List<ImapFolderDto> fetchFolders(com.sun.mail.imap.IMAPStore store) throws javax.mail.MessagingException - Throws:
 javax.mail.MessagingException
 - 
supportsCustomFlag
public boolean supportsCustomFlag(com.sun.mail.imap.IMAPStore store) throws javax.mail.MessagingException - Throws:
 javax.mail.MessagingException
 - 
map
protected ImapFolderDto map(com.sun.mail.imap.IMAPFolder folder) throws javax.mail.MessagingException - Throws:
 javax.mail.MessagingException
 - 
search
public List<com.sun.mail.imap.IMAPMessage> search(com.sun.mail.imap.IMAPFolder folder, javax.mail.search.SearchTerm searchTerm, ImapMailBox mailBox) throws javax.mail.MessagingException - Throws:
 javax.mail.MessagingException
 - 
search
public List<com.sun.mail.imap.IMAPMessage> search(com.sun.mail.imap.IMAPFolder folder, Integer lastMessageNumber, ImapMailBox mailBox) throws javax.mail.MessagingException - Throws:
 javax.mail.MessagingException
 - 
newer
protected javax.mail.search.SearchTerm newer(int lastMessageNumber)  - 
searchMessageIds
public List<com.sun.mail.imap.IMAPMessage> searchMessageIds(com.sun.mail.imap.IMAPFolder folder, javax.mail.search.SearchTerm searchTerm) throws javax.mail.MessagingException - Throws:
 javax.mail.MessagingException
 - 
map
public ImapMessage map(ImapMessage jmixMessage, com.sun.mail.imap.IMAPMessage msg, ImapFolder jmixFolder) throws javax.mail.MessagingException - Throws:
 javax.mail.MessagingException
 - 
getRefId
protected String getRefId(com.sun.mail.imap.IMAPMessage message) throws javax.mail.MessagingException - Throws:
 javax.mail.MessagingException
 - 
getThreadId
protected Long getThreadId(com.sun.mail.imap.IMAPMessage message, ImapMailBox mailBox) throws javax.mail.MessagingException - Throws:
 javax.mail.MessagingException
 - 
getSubject
protected String getSubject(com.sun.mail.imap.IMAPMessage message) throws javax.mail.MessagingException - Throws:
 javax.mail.MessagingException
 - 
fetch
protected List<com.sun.mail.imap.IMAPMessage> fetch(com.sun.mail.imap.IMAPFolder folder, ImapMailBox mailBox, javax.mail.Message[] messages) throws javax.mail.MessagingException - Throws:
 javax.mail.MessagingException
 - 
fetch
protected List<com.sun.mail.imap.IMAPMessage> fetch(com.sun.mail.imap.IMAPFolder folder, javax.mail.FetchProfile fetchProfile, javax.mail.Message[] messages) throws javax.mail.MessagingException - Throws:
 javax.mail.MessagingException
 - 
headerProfile
 - 
decode
 
 -