public abstract class DbMailMessageHandlerImpl extends Object implements DbMailMessageHandler
| Constructor and Description |
|---|
DbMailMessageHandlerImpl() |
public abstract boolean downloadPart(Connection c, long partId, OutputStream output) throws SQLException, IOException
downloadPart in interface DbMailMessageHandlerSQLExceptionIOExceptionpublic final DbMailMessage[] getArchivedMessages(Connection c, long folderId) throws SQLException
getArchivedMessages in interface DbMailMessageHandlerSQLExceptionpublic abstract DbMailMessage[] getArchivedMessages(Connection c, long[] folderIds) throws SQLException
getArchivedMessages in interface DbMailMessageHandlerSQLExceptionpublic final DbMailFolder getFolder(Connection c, long id) throws SQLException
getFolder in interface DbMailMessageHandlerSQLExceptionpublic final DbMailFolder[] getFolders(Connection c) throws SQLException
getFolders in interface DbMailMessageHandlerSQLExceptionpublic abstract DbMailFolder[] getFolders(Connection c, long[] ids) throws SQLException
getFolders in interface DbMailMessageHandlerSQLExceptionpublic final DbMailFolder[] getFoldersForAutoRetrieval(Connection c, long accountId) throws SQLException
getFoldersForAutoRetrieval in interface DbMailMessageHandlerSQLExceptionpublic abstract DbMailFolder[] getFoldersForAutoRetrieval(Connection c, long[] accountIds) throws SQLException
getFoldersForAutoRetrieval in interface DbMailMessageHandlerSQLExceptionpublic abstract DbMailFolder[] getFolderChildren(Connection c, long parentFolderId) throws SQLException
getFolderChildren in interface DbMailMessageHandlerSQLExceptionpublic abstract DbMailFolder getFolderOnRoot(Connection c, long accountId) throws SQLException
getFolderOnRoot in interface DbMailMessageHandlerSQLExceptionpublic final DbMailMessage getMessage(Connection c, long id) throws SQLException
getMessage in interface DbMailMessageHandlerSQLExceptionpublic abstract DbMailMessage getMessageFromFolder(Connection c, long folderId, String hash, String mimeId) throws SQLException
getMessageFromFolder in interface DbMailMessageHandlerSQLExceptionpublic abstract DbMailMessage getMessageFromFolder(Connection c, long folderId, long uid, long uidValidity) throws SQLException
getMessageFromFolder in interface DbMailMessageHandlerSQLExceptionpublic abstract long[] getMessageIdsFromFolder(Connection c, long folderId) throws SQLException
getMessageIdsFromFolder in interface DbMailMessageHandlerSQLExceptionpublic abstract DbMailMessage[] getMessages(Connection c, long[] ids) throws SQLException
getMessages in interface DbMailMessageHandlerSQLExceptionpublic abstract DbMailMessage[] getMessagesFromFolder(Connection c, long folderId) throws SQLException
getMessagesFromFolder in interface DbMailMessageHandlerSQLExceptionpublic final DbMailPart getPart(Connection c, long id) throws SQLException
getPart in interface DbMailMessageHandlerSQLExceptionpublic abstract DbMailPart[] getParts(Connection c, long[] ids) throws SQLException
getParts in interface DbMailMessageHandlerSQLExceptionpublic abstract DbMailPart[] getPartChildren(Connection c, long parentPartId) throws SQLException
getPartChildren in interface DbMailMessageHandlerSQLExceptionpublic abstract DbMailPart getPartOnRoot(Connection c, long messageId) throws SQLException
getPartOnRoot in interface DbMailMessageHandlerSQLExceptionpublic final DbMailFolder getSpecialFolder(Connection c, long accountId, DbMailFolder.SpecialType type) throws SQLException
getSpecialFolder in interface DbMailMessageHandlerSQLExceptionpublic final DbMailFolder[] getSpecialFolders(Connection c, long accountId) throws SQLException
getSpecialFolders in interface DbMailMessageHandlerSQLExceptionpublic abstract DbMailFolder[] getSpecialFolders(Connection c, long accountId, DbMailFolder.SpecialType[] types) throws SQLException
getSpecialFolders in interface DbMailMessageHandlerSQLExceptionpublic final Map<Long,Integer> getUnseenMessagesCount(Connection c) throws SQLException
getUnseenMessagesCount in interface DbMailMessageHandlerSQLExceptionpublic abstract Map<Long,Integer> getUnseenMessagesCount(Connection c, long[] folderIds) throws SQLException
getUnseenMessagesCount in interface DbMailMessageHandlerSQLExceptionpublic final int getUnseenMessagesCount(Connection c, long folderId) throws SQLException
getUnseenMessagesCount in interface DbMailMessageHandlerSQLExceptionpublic final void loadAddresses(Connection c, DbMailMessage message) throws SQLException
loadAddresses in interface DbMailMessageHandlerSQLExceptionpublic abstract void loadAddresses(Connection c, DbMailMessage[] messages) throws SQLException
loadAddresses in interface DbMailMessageHandlerSQLExceptionpublic void loadFolderChildren(Connection c, DbMailFolder folder, boolean recursive) throws SQLException
loadFolderChildren in interface DbMailMessageHandlerSQLExceptionpublic void loadFolderParents(Connection c, DbMailFolder folder, boolean recursive) throws SQLException
loadFolderParents in interface DbMailMessageHandlerSQLExceptionpublic void loadPartChildren(Connection c, DbMailPart part, boolean recursive) throws SQLException
loadPartChildren in interface DbMailMessageHandlerSQLExceptionpublic final void loadPartHeaders(Connection c, DbMailPart part) throws SQLException
loadPartHeaders in interface DbMailMessageHandlerSQLExceptionpublic final void loadPartHeaders(Connection c, DbMailPart part, boolean recursive) throws SQLException
loadPartHeaders in interface DbMailMessageHandlerSQLExceptionpublic abstract void loadPartHeaders(Connection c, DbMailPart[] parts) throws SQLException
loadPartHeaders in interface DbMailMessageHandlerSQLExceptionpublic final void removeFolder(Connection c, long id) throws SQLException
removeFolder in interface DbMailMessageHandlerSQLExceptionpublic abstract void removeFolders(Connection c, long[] ids) throws SQLException
removeFolders in interface DbMailMessageHandlerSQLExceptionpublic final void removeMessage(Connection c, long id) throws SQLException
removeMessage in interface DbMailMessageHandlerSQLExceptionpublic abstract void removeMessages(Connection c, long[] ids) throws SQLException
removeMessages in interface DbMailMessageHandlerSQLExceptionpublic final void removePart(Connection c, long id) throws SQLException
removePart in interface DbMailMessageHandlerSQLExceptionpublic abstract void removeParts(Connection c, long[] ids) throws SQLException
removeParts in interface DbMailMessageHandlerSQLExceptionpublic abstract void saveFolder(Connection c, DbMailFolder folder) throws SQLException
saveFolder in interface DbMailMessageHandlerSQLExceptionpublic abstract void saveMessage(Connection c, DbMailMessage message) throws SQLException
saveMessage in interface DbMailMessageHandlerSQLExceptionpublic abstract void savePart(Connection c, DbMailPart part, boolean recursive) throws SQLException, IOException
savePart in interface DbMailMessageHandlerSQLExceptionIOExceptionpublic final void setMessageAnswered(Connection c, long messageId, boolean answered) throws SQLException
setMessageAnswered in interface DbMailMessageHandlerSQLExceptionpublic final void setMessageArchived(Connection c, long messageId, boolean archived) throws SQLException
setMessageArchived in interface DbMailMessageHandlerSQLExceptionpublic final void setMessageForwarded(Connection c, long messageId, boolean forwarded) throws SQLException
setMessageForwarded in interface DbMailMessageHandlerSQLExceptionpublic final void setMessageMdn(Connection c, long messageId, DbMailMessage.MdnStatus mdnStatus) throws SQLException
setMessageMdn in interface DbMailMessageHandlerSQLExceptionpublic final void setMessageSeen(Connection c, long messageId, boolean seen) throws SQLException
setMessageSeen in interface DbMailMessageHandlerSQLExceptionpublic abstract void setMessagesAnswered(Connection c, long[] messageIds, boolean answered) throws SQLException
setMessagesAnswered in interface DbMailMessageHandlerSQLExceptionpublic abstract void setMessagesArchived(Connection c, long[] messageIds, boolean archived) throws SQLException
setMessagesArchived in interface DbMailMessageHandlerSQLExceptionpublic abstract void setMessagesForwarded(Connection c, long[] messageIds, boolean forwarded) throws SQLException
setMessagesForwarded in interface DbMailMessageHandlerSQLExceptionpublic abstract void setMessagesMdn(Connection c, long[] messageIds, DbMailMessage.MdnStatus mdnStatus) throws SQLException
setMessagesMdn in interface DbMailMessageHandlerSQLExceptionpublic abstract void setMessagesSeen(Connection c, long[] messageIds, boolean seen) throws SQLException
setMessagesSeen in interface DbMailMessageHandlerSQLExceptionCopyright © 2015 OpenEstate. All rights reserved.