public interface BaseMail
Modifier and Type | Method and Description |
---|---|
void |
addMailAccount(MailAccount mailAccount)
Add mail account.
|
Mail |
copyMail(String uuid,
String dstId,
String newName)
Copy mail mail.
|
Document |
createAttachment(String uuid,
String docName,
InputStream is)
Create attachment document.
|
void |
createMailFilter(long mailAccountId,
MailFilter mailFilter)
Create mail filter.
|
void |
createMailRule(long filterId,
MailFilterRule rule)
Create mail rule.
|
WizardNode |
createWizardMail(String uuid,
String title,
InputStream is,
String type)
Create wizard mail wizard node.
|
void |
deleteAttachment(String uuid,
String docId)
Delete attachment.
|
void |
deleteMail(String uuid)
Delete mail.
|
void |
deleteMailAccount(long mailAccountId)
Delete mail account.
|
void |
deleteMailFilter(long mailFilterId)
Delete mail filter.
|
void |
deleteMailRule(long ruleId)
Delete mail rule.
|
Mail |
extendedMailCopy(String uuid,
String dstId,
boolean categories,
boolean keywords,
boolean propertyGroups,
boolean notes,
boolean wiki,
boolean security,
String newName)
Extended mail copy mail.
|
Mail |
extendedMailCopy(String uuid,
String dstId,
boolean categories,
boolean keywords,
boolean propertyGroups,
boolean notes,
boolean security,
String newName)
Extended mail copy mail.
|
void |
forwardEmail(String uuid,
List<String> users,
List<String> roles,
List<String> mails,
String message)
Forward email.
|
List<Document> |
getAttachments(String uuid)
Gets attachments.
|
List<MailAccount> |
getMailAccounts()
Gets mail accounts.
|
List<Mail> |
getMailChildren(String uuid)
Gets mail children.
|
InputStream |
getMailContent(String uuid)
Gets mail content.
|
List<MailFilterRule> |
getMailFilterRules(long filterId)
Gets mail filter rules.
|
MailServerMessages |
getMailMessages(long accountId,
long start)
Gets mail messages.
|
String |
getMailPath(String uuid)
Gets mail path.
|
Mail |
getMailProperties(String uuid)
Gets mail properties.
|
NodeList |
getMailsPaginated(String context,
int offset,
int limit,
MailFilterQuery filter,
String orderColumn,
boolean orderAsc)
Gets mails paginated.
|
InputStream |
getMailThumbnail(String uuid,
ThumbnailType type)
Gets mail thumbnail.
|
InputStream |
getPdf(String uuid)
Gets pdf.
|
Mail |
importEml(String uuid,
String title,
InputStream is)
Import eml mail.
|
void |
importMailMessages(long mailAccountId,
List<Long> messageIds)
Import mail messages.
|
Mail |
importMsg(String uuid,
String title,
InputStream is)
Import msg mail.
|
boolean |
isValidMail(String uuid)
Is valid mail boolean.
|
void |
moveMail(String uuid,
String dstId)
Move mail.
|
void |
purgeMail(String uuid)
Purge mail.
|
void |
renameMail(String uuid,
String newName)
Rename mail.
|
Document |
saveMailAsPdf(String uuid,
String newName)
Save mail as pdf document.
|
void |
sendMail(List<String> recipients,
String subject,
String body)
Send mail.
|
Mail |
sendMailWithAttachments(List<String> to,
List<String> cc,
List<String> bcc,
List<String> replyTo,
String subject,
String body,
List<String> docsId,
String uuid)
Send mail with attachments mail.
|
void |
setMailDescription(String uuid,
String description)
Sets mail description.
|
void |
setMailDispositionStage(String uuid,
long stage)
Sets mail disposition stage.
|
void |
setMailNodeClass(String uuid,
long ncId)
Sets mail node class.
|
void |
setMailTitle(String uuid,
String title)
Sets mail title.
|
void |
testMailAccount(MailAccount mailAccount)
Test mail account.
|
void |
updateMailAccount(MailAccount mailAccount)
Update mail account.
|
void |
updateMailFilter(MailFilter mailFilter)
Update mail filter.
|
void |
updateMailRule(MailFilterRule rule)
Update mail rule.
|
Mail getMailProperties(String uuid) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid deleteMail(String uuid) throws AutomationException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException
uuid
- the uuidAutomationException
- the automation exceptionLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionPromotedAsRecordLockException
- the promoted as record lock exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid purgeMail(String uuid) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException
uuid
- the uuidLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionPromotedAsRecordLockException
- the promoted as record lock exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid renameMail(String uuid, String newName) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, UnknownException, WebserviceException
uuid
- the uuidnewName
- the new namePathNotFoundException
- the path not found exceptionItemExistsException
- the item exists exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid moveMail(String uuid, String dstId) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, FilePlanCatalogManagerException, AutomationException, VersionException, LockException, UnknownException, WebserviceException
uuid
- the uuiddstId
- the dst idPathNotFoundException
- the path not found exceptionItemExistsException
- the item exists exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionPromotedAsRecordLockException
- the promoted as record lock exceptionFilePlanCatalogManagerException
- the file plan catalog manager exceptionAutomationException
- the automation exceptionVersionException
- the version exceptionLockException
- the lock exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionMail copyMail(String uuid, String dstId, String newName) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, AutomationException, DatabaseException, UserQuotaExceededException, PromotedAsRecordLockException, UnknownException, WebserviceException
uuid
- the uuiddstId
- the dst idnewName
- the new namePathNotFoundException
- the path not found exceptionItemExistsException
- the item exists exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionAutomationException
- the automation exceptionDatabaseException
- the database exceptionUserQuotaExceededException
- the user quota exceeded exceptionPromotedAsRecordLockException
- the promoted as record lock exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionMail extendedMailCopy(String uuid, String dstId, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean security, String newName) throws ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UserQuotaExceededException, AutomationException, PromotedAsRecordLockException, UnknownException, WebserviceException
uuid
- the uuiddstId
- the dst idcategories
- the categorieskeywords
- the keywordspropertyGroups
- the property groupsnotes
- the notessecurity
- the securitynewName
- the new nameItemExistsException
- the item exists exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUserQuotaExceededException
- the user quota exceeded exceptionAutomationException
- the automation exceptionPromotedAsRecordLockException
- the promoted as record lock exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionMail extendedMailCopy(String uuid, String dstId, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean wiki, boolean security, String newName) throws ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UserQuotaExceededException, AutomationException, PromotedAsRecordLockException, UnknownException, WebserviceException
uuid
- the uuiddstId
- the dst idcategories
- the categorieskeywords
- the keywordspropertyGroups
- the property groupsnotes
- the noteswiki
- the wikisecurity
- the securitynewName
- the new nameItemExistsException
- the item exists exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUserQuotaExceededException
- the user quota exceeded exceptionAutomationException
- the automation exceptionPromotedAsRecordLockException
- the promoted as record lock exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionList<Mail> getMailChildren(String uuid) throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidAccessDeniedException
- the access denied exceptionPathNotFoundException
- the path not found exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionboolean isValidMail(String uuid) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionString getMailPath(String uuid) throws AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid setMailNodeClass(String uuid, long ncId) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException
uuid
- the uuidncId
- the nc idVersionException
- the version exceptionLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionPromotedAsRecordLockException
- the promoted as record lock exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionDocument createAttachment(String uuid, String docName, InputStream is) throws UnsupportedMimeTypeException, FileSizeExceededException, UserQuotaExceededException, VirusDetectedException, ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, PromotedAsRecordLockException, UnknownException, WebserviceException
uuid
- the uuiddocName
- the doc nameis
- the isUnsupportedMimeTypeException
- the unsupported mime type exceptionFileSizeExceededException
- the file size exceeded exceptionUserQuotaExceededException
- the user quota exceeded exceptionVirusDetectedException
- the virus detected exceptionItemExistsException
- the item exists exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionExtensionException
- the extension exceptionAutomationException
- the automation exceptionPromotedAsRecordLockException
- the promoted as record lock exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid deleteAttachment(String uuid, String docId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException
uuid
- the uuiddocId
- the doc idLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionPromotedAsRecordLockException
- the promoted as record lock exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionList<Document> getAttachments(String uuid) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionMail sendMailWithAttachments(List<String> to, List<String> cc, List<String> bcc, List<String> replyTo, String subject, String body, List<String> docsId, String uuid) throws AccessDeniedException, PathNotFoundException, ItemExistsException, AutomationException, VirusDetectedException, UserQuotaExceededException, UnsupportedMimeTypeException, FileSizeExceededException, RepositoryException, DatabaseException, UnknownException, WebserviceException, IOException
to
- the tocc
- the ccbcc
- the bccreplyTo
- the reply tosubject
- the subjectbody
- the bodydocsId
- the docs iduuid
- the uuidAccessDeniedException
- the access denied exceptionPathNotFoundException
- the path not found exceptionItemExistsException
- the item exists exceptionAutomationException
- the automation exceptionVirusDetectedException
- the virus detected exceptionUserQuotaExceededException
- the user quota exceeded exceptionUnsupportedMimeTypeException
- the unsupported mime type exceptionFileSizeExceededException
- the file size exceeded exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionIOException
- the io exceptionMail importEml(String uuid, String title, InputStream is) throws MessagingException, PathNotFoundException, ItemExistsException, VirusDetectedException, AccessDeniedException, RepositoryException, DatabaseException, UserQuotaExceededException, UnsupportedMimeTypeException, FileSizeExceededException, ExtensionException, AutomationException, UnknownException, WebserviceException, IOException
uuid
- the uuidtitle
- the titleis
- the isMessagingException
- the messaging exceptionPathNotFoundException
- the path not found exceptionItemExistsException
- the item exists exceptionVirusDetectedException
- the virus detected exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUserQuotaExceededException
- the user quota exceeded exceptionUnsupportedMimeTypeException
- the unsupported mime type exceptionFileSizeExceededException
- the file size exceeded exceptionExtensionException
- the extension exceptionAutomationException
- the automation exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionIOException
- the io exceptionMail importMsg(String uuid, String title, InputStream is) throws MessagingException, PathNotFoundException, ItemExistsException, VirusDetectedException, AccessDeniedException, RepositoryException, DatabaseException, UserQuotaExceededException, UnsupportedMimeTypeException, FileSizeExceededException, ExtensionException, AutomationException, UnknownException, WebserviceException, IOException
uuid
- the uuidtitle
- the titleis
- the isMessagingException
- the messaging exceptionPathNotFoundException
- the path not found exceptionItemExistsException
- the item exists exceptionVirusDetectedException
- the virus detected exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUserQuotaExceededException
- the user quota exceeded exceptionUnsupportedMimeTypeException
- the unsupported mime type exceptionFileSizeExceededException
- the file size exceeded exceptionExtensionException
- the extension exceptionAutomationException
- the automation exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionIOException
- the io exceptionvoid setMailTitle(String uuid, String title) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidtitle
- the titleVersionException
- the version exceptionLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid sendMail(List<String> recipients, String subject, String body) throws AccessDeniedException, UnknownException, WebserviceException, IOException
recipients
- the recipientssubject
- the subjectbody
- the bodyAccessDeniedException
- the access denied exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionIOException
- the io exceptionvoid setMailDispositionStage(String uuid, long stage) throws PathNotFoundException, AccessDeniedException, DatabaseException, WebserviceException, UnknownException
uuid
- the uuidstage
- the stagePathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionDatabaseException
- the database exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionvoid setMailDescription(String uuid, String description) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException
uuid
- the uuiddescription
- the descriptionVersionException
- the version exceptionLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionInputStream getMailContent(String uuid) throws RepositoryException, PathNotFoundException, AccessDeniedException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionWizardNode createWizardMail(String uuid, String title, InputStream is, String type) throws PathNotFoundException, ItemExistsException, VirusDetectedException, AccessDeniedException, RepositoryException, DatabaseException, UserQuotaExceededException, AutomationException, UnknownException, WebserviceException, MessagingException, UnsupportedMimeTypeException, FileSizeExceededException, ExtensionException, IOException
uuid
- the uuidtitle
- the titleis
- the istype
- the typePathNotFoundException
- the path not found exceptionItemExistsException
- the item exists exceptionVirusDetectedException
- the virus detected exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUserQuotaExceededException
- the user quota exceeded exceptionAutomationException
- the automation exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionMessagingException
- the messaging exceptionUnsupportedMimeTypeException
- the unsupported mime type exceptionFileSizeExceededException
- the file size exceeded exceptionExtensionException
- the extension exceptionIOException
- the io exceptionInputStream getMailThumbnail(String uuid, ThumbnailType type) throws PathNotFoundException, AccessDeniedException, ConversionException, AutomationException, RepositoryException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidtype
- the typePathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionConversionException
- the conversion exceptionAutomationException
- the automation exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionNodeList getMailsPaginated(String context, int offset, int limit, MailFilterQuery filter, String orderColumn, boolean orderAsc) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknownException, WebserviceException
context
- the contextoffset
- the offsetlimit
- the limitfilter
- the filterorderColumn
- the order columnorderAsc
- the order ascAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionList<MailAccount> getMailAccounts() throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknownException, WebserviceException
AccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionMailServerMessages getMailMessages(long accountId, long start) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknownException, WebserviceException
accountId
- the account idstart
- the startAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid addMailAccount(MailAccount mailAccount) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknownException, WebserviceException
mailAccount
- the mail accountAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionPathNotFoundException
- the path not found exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid updateMailAccount(MailAccount mailAccount) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknownException, WebserviceException
mailAccount
- the mail accountAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionPathNotFoundException
- the path not found exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid testMailAccount(MailAccount mailAccount) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknownException, WebserviceException
mailAccount
- the mail accountAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionPathNotFoundException
- the path not found exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid deleteMailAccount(long mailAccountId) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknownException, WebserviceException
mailAccountId
- the mail account idAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionPathNotFoundException
- the path not found exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid importMailMessages(long mailAccountId, List<Long> messageIds) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknownException, WebserviceException
mailAccountId
- the mail account idmessageIds
- the message idsAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionPathNotFoundException
- the path not found exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid createMailFilter(long mailAccountId, MailFilter mailFilter) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknownException, WebserviceException
mailAccountId
- the mail account idmailFilter
- the mail filterAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionPathNotFoundException
- the path not found exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid updateMailFilter(MailFilter mailFilter) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknownException, WebserviceException
mailFilter
- the mail filterAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionPathNotFoundException
- the path not found exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid deleteMailFilter(long mailFilterId) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknownException, WebserviceException
mailFilterId
- the mail filter idAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionPathNotFoundException
- the path not found exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid createMailRule(long filterId, MailFilterRule rule) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknownException, WebserviceException
filterId
- the filter idrule
- the ruleAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionPathNotFoundException
- the path not found exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid updateMailRule(MailFilterRule rule) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknownException, WebserviceException
rule
- the ruleAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionPathNotFoundException
- the path not found exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid deleteMailRule(long ruleId) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknownException, WebserviceException
ruleId
- the rule idAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionPathNotFoundException
- the path not found exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionList<MailFilterRule> getMailFilterRules(long filterId) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknownException, WebserviceException
filterId
- the filter idAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionPathNotFoundException
- the path not found exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid forwardEmail(String uuid, List<String> users, List<String> roles, List<String> mails, String message) throws WebserviceException, AccessDeniedException, RepositoryException, LockException, PathNotFoundException, DatabaseException, UnknownException, VersionException, PromotedAsRecordLockException
uuid
- the uuidusers
- the usersroles
- the rolesmails
- the mailsmessage
- the messageWebserviceException
- the webservice exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionVersionException
- the version exceptionPromotedAsRecordLockException
- the promoted as record lock exceptionInputStream getPdf(String uuid) throws PathNotFoundException, AccessDeniedException, ConversionException, AutomationException, RepositoryException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionConversionException
- the conversion exceptionAutomationException
- the automation exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionDocument saveMailAsPdf(String uuid, String newName) throws RepositoryException, AccessDeniedException, PathNotFoundException, DatabaseException, ConversionException, UnsupportedMimeTypeException, VirusDetectedException, ItemExistsException, AutomationException, PromotedAsRecordLockException, PrincipalAdapterException, UnknownException, WebserviceException
uuid
- the uuidnewName
- the new nameRepositoryException
- the repository exceptionAccessDeniedException
- the access denied exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionConversionException
- the conversion exceptionUnsupportedMimeTypeException
- the unsupported mime type exceptionVirusDetectedException
- the virus detected exceptionItemExistsException
- the item exists exceptionAutomationException
- the automation exceptionPromotedAsRecordLockException
- the promoted as record lock exceptionPrincipalAdapterException
- the principal adapter exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionCopyright © 2021 Open Knowledge Management System S.L.. All Rights Reserved.