public interface IMailFolderStorageEnhanced extends IMailFolderStorage
EMPTY_PATH| Modifier and Type | Method and Description |
|---|---|
void |
expungeFolder(java.lang.String fullName)
Expunge all messages marked as \Deleted and moves them to trash folder.
|
void |
expungeFolder(java.lang.String fullName,
boolean hardDelete)
Expunge all messages marked as \Deleted.
|
int |
getNewCounter(java.lang.String fullName)
Gets the number of new mails for specified folder (since last access to folder).
|
int |
getTotalCounter(java.lang.String fullName)
Gets the total number of mails for specified folder.
|
int |
getUnreadCounter(java.lang.String fullName)
Gets the number of unread mails for specified folder.
|
checkDefaultFolders, clearFolder, clearFolder, createFolder, deleteFolder, deleteFolder, exists, getConfirmedHamFolder, getConfirmedSpamFolder, getDefaultFolderPrefix, getDraftsFolder, getFolder, getMessageQuota, getPath2DefaultFolder, getQuotas, getRootFolder, getSentFolder, getSpamFolder, getStorageQuota, getSubfolders, getTrashFolder, moveFolder, releaseResources, renameFolder, updateFoldervoid expungeFolder(java.lang.String fullName)
throws com.openexchange.exception.OXException
fullName - The folder full namecom.openexchange.exception.OXException - If expunge operation failsvoid expungeFolder(java.lang.String fullName,
boolean hardDelete)
throws com.openexchange.exception.OXException
fullName - The folder full namehardDelete - true to perform hard-delete; otherwise messages are moved to trash foldercom.openexchange.exception.OXException - If expunge operation failsint getUnreadCounter(java.lang.String fullName)
throws com.openexchange.exception.OXException
fullName - The folder's full namecom.openexchange.exception.OXException - If an error occursint getNewCounter(java.lang.String fullName)
throws com.openexchange.exception.OXException
fullName - The folder's full namecom.openexchange.exception.OXException - If an error occursint getTotalCounter(java.lang.String fullName)
throws com.openexchange.exception.OXException
fullName - The folder's full namecom.openexchange.exception.OXException - If an error occurs