public interface DbMailMessageHandler
boolean downloadPart(Connection c, long partId, OutputStream output) throws SQLException, IOException
SQLExceptionIOExceptionDbMailMessage[] getArchivedMessages(Connection c, long folderId) throws SQLException
SQLExceptionDbMailMessage[] getArchivedMessages(Connection c, long[] folderIds) throws SQLException
SQLExceptionDbMailFolder getFolder(Connection c, long id) throws SQLException
SQLExceptionDbMailFolder[] getFolders(Connection c) throws SQLException
SQLExceptionDbMailFolder[] getFolders(Connection c, long[] ids) throws SQLException
SQLExceptionDbMailFolder[] getFoldersForAutoRetrieval(Connection c, long accountId) throws SQLException
SQLExceptionDbMailFolder[] getFoldersForAutoRetrieval(Connection c, long[] accountIds) throws SQLException
SQLExceptionDbMailFolder[] getFolderChildren(Connection c, long parentFolderId) throws SQLException
SQLExceptionDbMailFolder getFolderOnRoot(Connection c, long accountId) throws SQLException
SQLExceptionDbMailMessage getMessage(Connection c, long id) throws SQLException
SQLExceptionDbMailMessage getMessageFromFolder(Connection c, long folderId, String hash, String mimeId) throws SQLException
SQLExceptionDbMailMessage getMessageFromFolder(Connection c, long folderId, long uid, long uidValidity) throws SQLException
SQLExceptionlong[] getMessageIdsFromFolder(Connection c, long folderId) throws SQLException
SQLExceptionDbMailMessage[] getMessages(Connection c, long[] ids) throws SQLException
SQLExceptionDbMailMessage[] getMessagesFromFolder(Connection c, long folderId) throws SQLException
SQLExceptionDbMailPart getPart(Connection c, long id) throws SQLException
SQLExceptionDbMailPart[] getParts(Connection c, long[] ids) throws SQLException
SQLExceptionDbMailPart[] getPartChildren(Connection c, long parentPartId) throws SQLException
SQLExceptionDbMailPart getPartOnRoot(Connection c, long messageId) throws SQLException
SQLExceptionDbMailFolder getSpecialFolder(Connection c, long accountId, DbMailFolder.SpecialType type) throws SQLException
SQLExceptionDbMailFolder[] getSpecialFolders(Connection c, long accountId) throws SQLException
SQLExceptionDbMailFolder[] getSpecialFolders(Connection c, long accountId, DbMailFolder.SpecialType[] types) throws SQLException
SQLExceptionMap<Long,Integer> getUnseenMessagesCount(Connection c) throws SQLException
SQLExceptionMap<Long,Integer> getUnseenMessagesCount(Connection c, long[] folderIds) throws SQLException
SQLExceptionint getUnseenMessagesCount(Connection c, long folderId) throws SQLException
SQLExceptionvoid loadAddresses(Connection c, DbMailMessage message) throws SQLException
SQLExceptionvoid loadAddresses(Connection c, DbMailMessage[] messages) throws SQLException
SQLExceptionvoid loadFolderChildren(Connection c, DbMailFolder folder, boolean recursive) throws SQLException
SQLExceptionvoid loadFolderParents(Connection c, DbMailFolder folder, boolean recursive) throws SQLException
SQLExceptionvoid loadPartChildren(Connection c, DbMailPart part, boolean recursive) throws SQLException
SQLExceptionvoid loadPartHeaders(Connection c, DbMailPart part) throws SQLException
SQLExceptionvoid loadPartHeaders(Connection c, DbMailPart part, boolean recursive) throws SQLException
SQLExceptionvoid loadPartHeaders(Connection c, DbMailPart[] parts) throws SQLException
SQLExceptionvoid removeFolder(Connection c, long id) throws SQLException
SQLExceptionvoid removeFolders(Connection c, long[] ids) throws SQLException
SQLExceptionvoid removeMessage(Connection c, long id) throws SQLException
SQLExceptionvoid removeMessages(Connection c, long[] ids) throws SQLException
SQLExceptionvoid removePart(Connection c, long id) throws SQLException
SQLExceptionvoid removeParts(Connection c, long[] ids) throws SQLException
SQLExceptionvoid saveFolder(Connection c, DbMailFolder folder) throws SQLException
SQLExceptionvoid saveMessage(Connection c, DbMailMessage message) throws SQLException
SQLExceptionvoid savePart(Connection c, DbMailPart part, boolean recursive) throws SQLException, IOException
SQLExceptionIOExceptionvoid setMessageAnswered(Connection c, long messageId, boolean answered) throws SQLException
SQLExceptionvoid setMessageArchived(Connection c, long messageId, boolean archived) throws SQLException
SQLExceptionvoid setMessageForwarded(Connection c, long messageId, boolean forwarded) throws SQLException
SQLExceptionvoid setMessageMdn(Connection c, long messageId, DbMailMessage.MdnStatus mdnStatus) throws SQLException
SQLExceptionvoid setMessageSeen(Connection c, long messageId, boolean seen) throws SQLException
SQLExceptionvoid setMessagesAnswered(Connection c, long[] messageIds, boolean answered) throws SQLException
SQLExceptionvoid setMessagesArchived(Connection c, long[] messageIds, boolean archived) throws SQLException
SQLExceptionvoid setMessagesForwarded(Connection c, long[] messageIds, boolean forwarded) throws SQLException
SQLExceptionvoid setMessagesMdn(Connection c, long[] messageIds, DbMailMessage.MdnStatus mdnStatus) throws SQLException
SQLExceptionvoid setMessagesSeen(Connection c, long[] messageIds, boolean seen) throws SQLException
SQLExceptionCopyright © 2015 OpenEstate. All rights reserved.