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) |
getClient
public 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 BaseMail
AccessDeniedException
RepositoryException
PathNotFoundException
DatabaseException
UnknowException
WebserviceException
public void deleteMail(String mailId) throws AutomationException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
deleteMail
in interface BaseMail
AutomationException
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void purgeMail(String mailId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
purgeMail
in interface BaseMail
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void renameMail(String mailId, String newName) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
renameMail
in interface BaseMail
PathNotFoundException
ItemExistsException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void moveMail(String mailId, String dstId) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
moveMail
in interface BaseMail
PathNotFoundException
ItemExistsException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public 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 BaseMail
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public boolean isValidMail(String mailId) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
isValidMail
in interface BaseMail
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public String getMailPath(String uuid) throws AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getMailPath
in interface BaseMail
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public 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 BaseMail
MessagingException
PathNotFoundException
ItemExistsException
VirusDetectedException
AccessDeniedException
RepositoryException
DatabaseException
UserQuotaExceededException
UnsupportedMimeTypeException
FileSizeExceededException
ExtensionException
AutomationException
IOException
UnknowException
WebserviceException
public 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 BaseMail
MessagingException
PathNotFoundException
ItemExistsException
VirusDetectedException
AccessDeniedException
RepositoryException
DatabaseException
UserQuotaExceededException
UnsupportedMimeTypeException
FileSizeExceededException
ExtensionException
AutomationException
IOException
UnknowException
WebserviceException
Copyright © 2020 Open Knowledge Management System S.L.. All Rights Reserved.