public class HSqlDbMailMessageHandler extends DbMailMessageHandlerImpl
| Constructor and Description |
|---|
HSqlDbMailMessageHandler() |
getArchivedMessages, getFolder, getFolders, getFoldersForAutoRetrieval, getMessage, getPart, getSpecialFolder, getSpecialFolders, getUnseenMessagesCount, getUnseenMessagesCount, loadAddresses, loadFolderChildren, loadFolderParents, loadPartChildren, loadPartHeaders, loadPartHeaders, removeFolder, removeMessage, removePart, setMessageAnswered, setMessageArchived, setMessageForwarded, setMessageMdn, setMessageSeenpublic static final String PROC_REMOVE_ADDRESSES
public static final String PROC_REMOVE_FOLDERS
public static final String PROC_REMOVE_HEADERS
public static final String PROC_REMOVE_MESSAGES
public static final String PROC_REMOVE_PARTS
public static final String PROC_SAVE_ADDRESSES
public static final String PROC_SAVE_FOLDERS
public static final String PROC_SAVE_HEADERS
public static final String PROC_SAVE_MESSAGES
public static final String PROC_SAVE_PARTS
public static final String PROC_SET_MESSAGES_ANSWERED
public static final String PROC_SET_MESSAGES_ARCHIVED
public static final String PROC_SET_MESSAGES_FORWARDED
public static final String PROC_SET_MESSAGES_MDN
public static final String PROC_SET_MESSAGES_SEEN
public static final String VIEW_FOLDERS
public static final String VIEW_MESSAGES
public static final String VIEW_PARTS
public static final String VIEW_PARTS_CONTENT
public static final String VIEW_HEADERS
public static final String VIEW_ADDRESSES
public static final String TABLE_FOLDERS
public static final String FIELD_FOLDER_ID
public static final String FIELD_FOLDER_PARENT_ID
public static final String FIELD_FOLDER_NAME
public static final String FIELD_FOLDER_HOLDS_MESSAGES
public static final String FIELD_FOLDER_HOLDS_FOLDERS
public static final String FIELD_FOLDER_AUTO_RETRIEVAL
public static final String FIELD_FOLDER_SPECIAL_TYPE
public static final String TABLE_MESSAGES
public static final String FIELD_MESSAGE_ID
public static final String FIELD_MESSAGE_SUBJECT
public static final String FIELD_MESSAGE_FROM
public static final String FIELD_MESSAGE_TO
public static final String FIELD_MESSAGE_SIZE
public static final String FIELD_MESSAGE_UID
public static final String FIELD_MESSAGE_UID_VALIDITY
public static final String FIELD_MESSAGE_MIME_ID
public static final String FIELD_MESSAGE_HASH
public static final String FIELD_MESSAGE_IN_REPLY_TO
public static final String FIELD_MESSAGE_IS_ANSWERED
public static final String FIELD_MESSAGE_IS_ARCHIVED
public static final String FIELD_MESSAGE_IS_DOWNLOADED
public static final String FIELD_MESSAGE_IS_DRAFT
public static final String FIELD_MESSAGE_IS_FLAGGED
public static final String FIELD_MESSAGE_IS_FORWARDED
public static final String FIELD_MESSAGE_IS_SEEN
public static final String FIELD_MESSAGE_IS_RECEIVED
public static final String FIELD_MESSAGE_HAS_ATTACHMENTS
public static final String FIELD_MESSAGE_MDN_STATUS
public static final String FIELD_MESSAGE_RECEIVED_AT
public static final String FIELD_MESSAGE_SENT_AT
public static final String TABLE_PARTS
public static final String FIELD_PART_ID
public static final String FIELD_PART_PARENT_ID
public static final String FIELD_PART_TYPE
public static final String FIELD_PART_DESCRIPTION
public static final String FIELD_PART_DISPOSITION
public static final String FIELD_PART_TEXT
public static final String FIELD_PART_FILE_NAME
public static final String FIELD_PART_FILE_SIZE
public static final String FIELD_PART_FILE_CONTENT
public static final String TABLE_HEADERS
public static final String FIELD_HEADER_KEY
public static final String FIELD_HEADER_VALUE
public static final String TABLE_ADDRESSES
public static final String FIELD_ADDRESS_TYPE
public static final String FIELD_ADDRESS_VALUE
public static final String FIELD_ADDRESS_PERSON
public boolean downloadPart(Connection c, long partId, OutputStream output) throws SQLException, IOException
downloadPart in interface DbMailMessageHandlerdownloadPart in class DbMailMessageHandlerImplSQLExceptionIOExceptionpublic DbMailMessage[] getArchivedMessages(Connection c, long[] folderIds) throws SQLException
getArchivedMessages in interface DbMailMessageHandlergetArchivedMessages in class DbMailMessageHandlerImplSQLExceptionpublic DbMailFolder[] getFolders(Connection c, long[] ids) throws SQLException
getFolders in interface DbMailMessageHandlergetFolders in class DbMailMessageHandlerImplSQLExceptionpublic DbMailFolder[] getFoldersForAutoRetrieval(Connection c, long[] accountIds) throws SQLException
getFoldersForAutoRetrieval in interface DbMailMessageHandlergetFoldersForAutoRetrieval in class DbMailMessageHandlerImplSQLExceptionpublic DbMailFolder[] getFolderChildren(Connection c, long parentFolderId) throws SQLException
getFolderChildren in interface DbMailMessageHandlergetFolderChildren in class DbMailMessageHandlerImplSQLExceptionpublic DbMailFolder getFolderOnRoot(Connection c, long accountId) throws SQLException
getFolderOnRoot in interface DbMailMessageHandlergetFolderOnRoot in class DbMailMessageHandlerImplSQLExceptionpublic DbMailMessage getMessageFromFolder(Connection c, long folderId, String hash, String mimeId) throws SQLException
getMessageFromFolder in interface DbMailMessageHandlergetMessageFromFolder in class DbMailMessageHandlerImplSQLExceptionpublic DbMailMessage getMessageFromFolder(Connection c, long folderId, long uid, long uidValidity) throws SQLException
getMessageFromFolder in interface DbMailMessageHandlergetMessageFromFolder in class DbMailMessageHandlerImplSQLExceptionpublic DbMailMessage[] getMessages(Connection c, long[] ids) throws SQLException
getMessages in interface DbMailMessageHandlergetMessages in class DbMailMessageHandlerImplSQLExceptionpublic long[] getMessageIdsFromFolder(Connection c, long folderId) throws SQLException
getMessageIdsFromFolder in interface DbMailMessageHandlergetMessageIdsFromFolder in class DbMailMessageHandlerImplSQLExceptionpublic DbMailMessage[] getMessagesFromFolder(Connection c, long folderId) throws SQLException
getMessagesFromFolder in interface DbMailMessageHandlergetMessagesFromFolder in class DbMailMessageHandlerImplSQLExceptionpublic DbMailPart[] getParts(Connection c, long[] ids) throws SQLException
getParts in interface DbMailMessageHandlergetParts in class DbMailMessageHandlerImplSQLExceptionpublic DbMailPart[] getPartChildren(Connection c, long parentPartId) throws SQLException
getPartChildren in interface DbMailMessageHandlergetPartChildren in class DbMailMessageHandlerImplSQLExceptionpublic DbMailPart getPartOnRoot(Connection c, long messageId) throws SQLException
getPartOnRoot in interface DbMailMessageHandlergetPartOnRoot in class DbMailMessageHandlerImplSQLExceptionpublic DbMailFolder[] getSpecialFolders(Connection c, long accountId, DbMailFolder.SpecialType[] types) throws SQLException
getSpecialFolders in interface DbMailMessageHandlergetSpecialFolders in class DbMailMessageHandlerImplSQLExceptionpublic Map<Long,Integer> getUnseenMessagesCount(Connection c, long[] folderIds) throws SQLException
getUnseenMessagesCount in interface DbMailMessageHandlergetUnseenMessagesCount in class DbMailMessageHandlerImplSQLExceptionpublic void loadAddresses(Connection c, DbMailMessage[] messages) throws SQLException
loadAddresses in interface DbMailMessageHandlerloadAddresses in class DbMailMessageHandlerImplSQLExceptionpublic void loadPartHeaders(Connection c, DbMailPart[] parts) throws SQLException
loadPartHeaders in interface DbMailMessageHandlerloadPartHeaders in class DbMailMessageHandlerImplSQLExceptionpublic void removeFolders(Connection c, long[] ids) throws SQLException
removeFolders in interface DbMailMessageHandlerremoveFolders in class DbMailMessageHandlerImplSQLExceptionpublic void removeMessages(Connection c, long[] ids) throws SQLException
removeMessages in interface DbMailMessageHandlerremoveMessages in class DbMailMessageHandlerImplSQLExceptionpublic void removeParts(Connection c, long[] ids) throws SQLException
removeParts in interface DbMailMessageHandlerremoveParts in class DbMailMessageHandlerImplSQLExceptionpublic void saveFolder(Connection c, DbMailFolder folder) throws SQLException
saveFolder in interface DbMailMessageHandlersaveFolder in class DbMailMessageHandlerImplSQLExceptionpublic void saveMessage(Connection c, DbMailMessage message) throws SQLException
saveMessage in interface DbMailMessageHandlersaveMessage in class DbMailMessageHandlerImplSQLExceptionpublic void savePart(Connection c, DbMailPart part, boolean recursive) throws SQLException, IOException
savePart in interface DbMailMessageHandlersavePart in class DbMailMessageHandlerImplSQLExceptionIOExceptionpublic void setMessagesAnswered(Connection c, long[] messageIds, boolean answered) throws SQLException
setMessagesAnswered in interface DbMailMessageHandlersetMessagesAnswered in class DbMailMessageHandlerImplSQLExceptionpublic void setMessagesArchived(Connection c, long[] messageIds, boolean archived) throws SQLException
setMessagesArchived in interface DbMailMessageHandlersetMessagesArchived in class DbMailMessageHandlerImplSQLExceptionpublic void setMessagesForwarded(Connection c, long[] messageIds, boolean forwarded) throws SQLException
setMessagesForwarded in interface DbMailMessageHandlersetMessagesForwarded in class DbMailMessageHandlerImplSQLExceptionpublic void setMessagesMdn(Connection c, long[] messageIds, DbMailMessage.MdnStatus mdnStatus) throws SQLException
setMessagesMdn in interface DbMailMessageHandlersetMessagesMdn in class DbMailMessageHandlerImplSQLExceptionpublic void setMessagesSeen(Connection c, long[] messageIds, boolean seen) throws SQLException
setMessagesSeen in interface DbMailMessageHandlersetMessagesSeen in class DbMailMessageHandlerImplSQLExceptionCopyright © 2015 OpenEstate. All rights reserved.