public interface BaseMail
| Modifier and Type | Method and Description |
|---|---|
void |
copyMail(String mailId,
String dstId,
String newName) |
Document |
createAttachment(String mailId,
String docName,
InputStream is) |
Mail |
createMail(Mail mail) |
void |
deleteAttachment(String mailId,
String docId) |
void |
deleteMail(String mailId) |
void |
extendedMailCopy(String mailId,
String dstId,
boolean categories,
boolean keywords,
boolean propertyGroups,
boolean notes,
boolean wiki) |
List<Document> |
getAttachments(String mailId) |
List<Mail> |
getMailChildren(String fldId) |
String |
getMailPath(String uuid) |
Mail |
getMailProperties(String mailId) |
boolean |
isValidMail(String mailId) |
void |
moveMail(String mailId,
String dstId) |
void |
purgeMail(String mailId) |
void |
renameMail(String mailId,
String newName) |
void |
sendMailWithAttachments(List<String> recipients,
String subject,
String body,
List<String> docsId,
String dstId) |
Mail createMail(Mail mail) throws PathNotFoundException, ItemExistsException, VirusDetectedException, AccessDeniedException, RepositoryException, DatabaseException, UserQuotaExceededException, AutomationException, UnknowException, WebserviceException
Mail getMailProperties(String mailId) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
void deleteMail(String mailId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
void purgeMail(String mailId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
void renameMail(String mailId, String newName) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
void moveMail(String mailId, String dstId) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
void copyMail(String mailId, String dstId, String newName) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, IOException, AutomationException, DatabaseException, UserQuotaExceededException, UnknowException, WebserviceException
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
List<Mail> getMailChildren(String fldId) throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
boolean isValidMail(String mailId) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
String getMailPath(String uuid) throws AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
Document createAttachment(String mailId, String docName, InputStream is) throws IOException, UnsupportedMimeTypeException, FileSizeExceededException, UserQuotaExceededException, VirusDetectedException, ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
IOExceptionUnsupportedMimeTypeExceptionFileSizeExceededExceptionUserQuotaExceededExceptionVirusDetectedExceptionItemExistsExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionExtensionExceptionAutomationExceptionUnknowExceptionWebserviceExceptionvoid deleteAttachment(String mailId, String docId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
List<Document> getAttachments(String mailId) throws RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
void sendMailWithAttachments(List<String> recipients, String subject, String body, List<String> docsId, String dstId) throws AccessDeniedException, PathNotFoundException, ItemExistsException, AutomationException, VirusDetectedException, UserQuotaExceededException, UnsupportedMimeTypeException, FileSizeExceededException, RepositoryException, DatabaseException, IOException, UnknowException, WebserviceException
Copyright © 2015 Open Knowledge Management System S.L.. All rights reserved.