public class MailImpl extends ClientImpl implements BaseMail
| Constructor and Description |
|---|
MailImpl(String host,
String user,
String password)
MailImpl
|
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, String newName) 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 Document createAttachment(String mailId, String docName, InputStream is) throws IOException, UnsupportedMimeTypeException, FileSizeExceededException, UserQuotaExceededException, VirusDetectedException, ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
createAttachment in interface BaseMailIOExceptionUnsupportedMimeTypeExceptionFileSizeExceededExceptionUserQuotaExceededExceptionVirusDetectedExceptionItemExistsExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionExtensionExceptionAutomationExceptionUnknowExceptionWebserviceExceptionpublic void deleteAttachment(String mailId, String docId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
deleteAttachment in interface BaseMailLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic List<Document> getAttachments(String mailId) throws RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
getAttachments in interface BaseMailRepositoryExceptionPathNotFoundExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void sendMailWithAttachments(List<String> to, List<String> cc, List<String> bcc, String subject, String body, List<String> docsId, String dstId) throws AccessDeniedException, PathNotFoundException, ItemExistsException, AutomationException, VirusDetectedException, UserQuotaExceededException, UnsupportedMimeTypeException, FileSizeExceededException, RepositoryException, DatabaseException, IOException, UnknowException, WebserviceException
sendMailWithAttachments in interface BaseMailAccessDeniedExceptionPathNotFoundExceptionItemExistsExceptionAutomationExceptionVirusDetectedExceptionUserQuotaExceededExceptionUnsupportedMimeTypeExceptionFileSizeExceededExceptionRepositoryExceptionDatabaseExceptionIOExceptionUnknowExceptionWebserviceExceptionpublic Mail importEml(String dstId, String title, 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, String title, InputStream is) throws MessagingException, PathNotFoundException, ItemExistsException, VirusDetectedException, AccessDeniedException, RepositoryException, DatabaseException, UserQuotaExceededException, UnsupportedMimeTypeException, FileSizeExceededException, ExtensionException, AutomationException, IOException, UnknowException, WebserviceException
importMsg in interface BaseMailMessagingExceptionPathNotFoundExceptionItemExistsExceptionVirusDetectedExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUserQuotaExceededExceptionUnsupportedMimeTypeExceptionFileSizeExceededExceptionExtensionExceptionAutomationExceptionIOExceptionUnknowExceptionWebserviceExceptionpublic void setMailTitle(String mailId, String title) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
setMailTitle in interface BaseMailVersionExceptionLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void sendMail(List<String> recipients, String subject, String body) throws AccessDeniedException, IOException, UnknowException, WebserviceException
sendMail in interface BaseMailAccessDeniedExceptionIOExceptionUnknowExceptionWebserviceExceptionCopyright © 2017 Open Knowledge Management System S.L.. All Rights Reserved.