public interface OutlookService
| Modifier and Type | Field and Description |
|---|---|
static String |
GROUP_DRIVE_PARRTEN |
static String |
MESSAGE_NODETYPE |
static String |
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 subject,
String body)
Build Outlook message object.
|
OutlookEmail |
getAddress(String email,
String displayName)
Build Outlook Email address object.
|
Folder |
getFolder(Folder parent,
String path) |
Folder |
getFolder(String path) |
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() |
List<OutlookSpace> |
getUserSpaces() |
List<File> |
saveAttachment(Folder destFolder,
OutlookUser user,
String comment,
String messageId,
String attachmentToken,
String... attachmentIds) |
List<File> |
saveAttachment(OutlookSpace space,
Folder folder,
OutlookUser user,
String comment,
String messageId,
String attachmentToken,
String... attachmentIds) |
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 subject, String body) throws OutlookException
messageId - String email message IDuser - OutlookUserfrom - OutlookEmailto - OutlookEmailcreated - Calendarmodified - Calendarsubject - String message subjectbody - String message bodyOutlookMessageOutlookException - when errorOutlookMessage getMessage(OutlookUser user, String messageId, String messageToken) throws OutlookException
messageId - String email message IDuser - OutlookUsermessageToken - String secure token to access message on Exchange serverOutlookMessageOutlookException - when errorFolder getFolder(String path) throws OutlookException, javax.jcr.RepositoryException
OutlookExceptionjavax.jcr.RepositoryExceptionFolder getFolder(Folder parent, String path) throws OutlookException, javax.jcr.RepositoryException
OutlookExceptionjavax.jcr.RepositoryExceptionList<File> saveAttachment(OutlookSpace space, Folder folder, OutlookUser user, String comment, String messageId, String attachmentToken, String... attachmentIds) throws OutlookSpaceException, OutlookException, javax.jcr.RepositoryException
OutlookSpaceExceptionOutlookExceptionjavax.jcr.RepositoryExceptionList<File> saveAttachment(Folder destFolder, OutlookUser user, String comment, String messageId, String attachmentToken, String... attachmentIds) throws OutlookException, javax.jcr.RepositoryException
OutlookExceptionjavax.jcr.RepositoryExceptionOutlookSpace getSpace(String groupId) throws OutlookSpaceException, javax.jcr.RepositoryException, OutlookException
groupId - String email message IDOutlookSpaceOutlookSpaceException - when space access error happenOutlookException - when errorjavax.jcr.RepositoryException - when storage errorList<OutlookSpace> getUserSpaces() throws OutlookSpaceException, javax.jcr.RepositoryException, OutlookException
OutlookSpaceExceptionjavax.jcr.RepositoryExceptionOutlookExceptionUserDocuments getUserDocuments() throws javax.jcr.RepositoryException, OutlookException
javax.jcr.RepositoryExceptionOutlookExceptionCopyright © 2003–2016 eXo Platform SAS. All rights reserved.