public interface OutlookService
| Modifier and Type | Field and Description |
|---|---|
static String |
GROUP_DRIVE_PARRTEN
The group drive parrten.
|
static String |
MESSAGE_NODETYPE
The message nodetype.
|
static String |
PERSONAL_DRIVE_PARRTEN
The personal drive parrten.
|
| Modifier and Type | Method and Description |
|---|---|
OutlookMessage |
buildMessage(String messageId,
OutlookUser user,
OutlookEmail from,
List<OutlookEmail> to,
Calendar created,
Calendar modified,
String title,
String subject,
String body)
Build Outlook message object.
|
OutlookEmail |
getAddress(String email,
String displayName)
Build Outlook Email address object.
|
Folder |
getFolder(Folder parent,
String path)
Gets the folder.
|
Folder |
getFolder(String path)
Gets the folder.
|
OutlookMessage |
getMessage(OutlookUser user,
String messageId,
String messageToken)
Read Outlook message from server.
|
OutlookSpace |
getSpace(String groupId)
Return Office space handler.
|
OutlookUser |
getUser(String email,
String userName,
String ewsUrl)
Build Outlook user object and associate it with current user in eXo portal.
|
UserDocuments |
getUserDocuments()
Gets the user documents.
|
List<OutlookSpace> |
getUserSpaces()
Gets the user spaces.
|
List<File> |
saveAttachment(Folder destFolder,
OutlookUser user,
String comment,
String messageId,
String attachmentToken,
String... attachmentIds)
Save attachment.
|
List<File> |
saveAttachment(OutlookSpace space,
Folder folder,
OutlookUser user,
String comment,
String messageId,
String attachmentToken,
String... attachmentIds)
Save attachment.
|
static final String PERSONAL_DRIVE_PARRTEN
static final String GROUP_DRIVE_PARRTEN
static final String MESSAGE_NODETYPE
OutlookUser getUser(String email, String userName, String ewsUrl) throws OutlookException, javax.jcr.RepositoryException
email - emailuserName - user nameewsUrl - Exchange web-service URLOutlookUser object to access Outlook Mail APIOutlookException - Outlook exceptionjavax.jcr.RepositoryException - storage exceptionOutlookEmail getAddress(String email, String displayName) throws OutlookException
email - emaildisplayName - user display nameOutlookException - when errorOutlookMessage buildMessage(String messageId, OutlookUser user, OutlookEmail from, List<OutlookEmail> to, Calendar created, Calendar modified, String title, String subject, String body) throws OutlookException
messageId - String email message IDuser - OutlookUserfrom - OutlookEmailto - OutlookEmailcreated - Calendarmodified - Calendartitle - the titlesubject - String message subjectbody - String message bodyOutlookMessageOutlookException - when errorOutlookMessage getMessage(OutlookUser user, String messageId, String messageToken) throws OutlookException
user - OutlookUsermessageId - String email message IDmessageToken - String secure token to access message on Exchange serverOutlookMessageOutlookException - when errorFolder getFolder(String path) throws OutlookException, javax.jcr.RepositoryException
path - the pathOutlookException - the outlook exceptionjavax.jcr.RepositoryException - the repository exceptionFolder getFolder(Folder parent, String path) throws OutlookException, javax.jcr.RepositoryException
parent - the parentpath - the pathOutlookException - the outlook exceptionjavax.jcr.RepositoryException - the repository exceptionList<File> saveAttachment(OutlookSpace space, Folder folder, OutlookUser user, String comment, String messageId, String attachmentToken, String... attachmentIds) throws OutlookSpaceException, OutlookException, javax.jcr.RepositoryException
space - the spacefolder - the folderuser - the usercomment - the commentmessageId - the message idattachmentToken - the attachment tokenattachmentIds - the attachment idsOutlookSpaceException - the outlook space exceptionOutlookException - the outlook exceptionjavax.jcr.RepositoryException - the repository exceptionList<File> saveAttachment(Folder destFolder, OutlookUser user, String comment, String messageId, String attachmentToken, String... attachmentIds) throws OutlookException, javax.jcr.RepositoryException
destFolder - the dest folderuser - the usercomment - the commentmessageId - the message idattachmentToken - the attachment tokenattachmentIds - the attachment idsOutlookException - the outlook exceptionjavax.jcr.RepositoryException - the repository exceptionOutlookSpace getSpace(String groupId) throws OutlookSpaceException, javax.jcr.RepositoryException, OutlookException
groupId - String email message IDOutlookSpaceOutlookSpaceException - when space access error happenjavax.jcr.RepositoryException - when storage errorOutlookException - when errorList<OutlookSpace> getUserSpaces() throws OutlookSpaceException, javax.jcr.RepositoryException, OutlookException
OutlookSpaceException - the outlook space exceptionjavax.jcr.RepositoryException - the repository exceptionOutlookException - the outlook exceptionUserDocuments getUserDocuments() throws javax.jcr.RepositoryException, OutlookException
javax.jcr.RepositoryException - the repository exceptionOutlookException - the outlook exceptionCopyright © 2003–2016 eXo Platform SAS. All rights reserved.