public class MailImpl extends ClientImpl implements BaseMail
| Constructor and Description |
|---|
MailImpl(String host,
String user,
String password)
MailImpl
|
| Modifier and Type | Method and Description |
|---|---|
void |
copyMail(String mailId,
String dstId,
String newName) |
Mail |
createMail(Mail mail) |
void |
deleteMail(String mailId) |
void |
extendedMailCopy(String mailId,
String dstId,
boolean categories,
boolean keywords,
boolean propertyGroups,
boolean notes,
boolean wiki) |
List<Mail> |
getMailChildren(String fldId) |
String |
getMailPath(String uuid) |
Mail |
getMailProperties(String mailId) |
Mail |
importEml(String dstId,
InputStream is) |
Mail |
importMsg(String dstId,
InputStream is) |
boolean |
isValidMail(String mailId) |
void |
moveMail(String mailId,
String dstId) |
void |
purgeMail(String mailId) |
void |
renameMail(String mailId,
String newName) |
getClientpublic Mail createMail(Mail mail) throws PathNotFoundException, ItemExistsException, VirusDetectedException, AccessDeniedException, RepositoryException, DatabaseException, UserQuotaExceededException, AutomationException, UnknowException, WebserviceException
public Mail getMailProperties(String mailId) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
getMailProperties in interface BaseMailAccessDeniedExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void deleteMail(String mailId) throws AutomationException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
deleteMail in interface BaseMailAutomationExceptionLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void purgeMail(String mailId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
purgeMail in interface BaseMailLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void renameMail(String mailId, String newName) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
renameMail in interface BaseMailPathNotFoundExceptionItemExistsExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void moveMail(String mailId, String dstId) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
moveMail in interface BaseMailPathNotFoundExceptionItemExistsExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void copyMail(String mailId, String dstId, String newName) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, IOException, AutomationException, DatabaseException, UserQuotaExceededException, UnknowException, WebserviceException
public void extendedMailCopy(String mailId, String dstId, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean wiki) throws ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, IOException, DatabaseException, UserQuotaExceededException, AutomationException, UnknowException, WebserviceException
public List<Mail> getMailChildren(String fldId) throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getMailChildren in interface BaseMailPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic boolean isValidMail(String mailId) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
isValidMail in interface BaseMailPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic String getMailPath(String uuid) throws AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getMailPath in interface BaseMailAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Mail importEml(String dstId, InputStream is) throws MessagingException, PathNotFoundException, ItemExistsException, VirusDetectedException, AccessDeniedException, RepositoryException, DatabaseException, UserQuotaExceededException, UnsupportedMimeTypeException, FileSizeExceededException, ExtensionException, AutomationException, IOException, UnknowException, WebserviceException
importEml in interface BaseMailMessagingExceptionPathNotFoundExceptionItemExistsExceptionVirusDetectedExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUserQuotaExceededExceptionUnsupportedMimeTypeExceptionFileSizeExceededExceptionExtensionExceptionAutomationExceptionIOExceptionUnknowExceptionWebserviceExceptionpublic Mail importMsg(String dstId, InputStream is) throws MessagingException, PathNotFoundException, ItemExistsException, VirusDetectedException, AccessDeniedException, RepositoryException, DatabaseException, UserQuotaExceededException, UnsupportedMimeTypeException, FileSizeExceededException, ExtensionException, AutomationException, IOException, UnknowException, WebserviceException
importMsg in interface BaseMailMessagingExceptionPathNotFoundExceptionItemExistsExceptionVirusDetectedExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUserQuotaExceededExceptionUnsupportedMimeTypeExceptionFileSizeExceededExceptionExtensionExceptionAutomationExceptionIOExceptionUnknowExceptionWebserviceExceptionCopyright © 2021 Open Knowledge Management System S.L.. All Rights Reserved.