public abstract class OutlookUser extends OutlookEmail
| Modifier and Type | Field and Description |
|---|---|
protected String |
localUser
The local user.
|
protected URI |
mailServerUrl
The mail server url.
|
displayName, email| Modifier | Constructor and Description |
|---|---|
protected |
OutlookUser(String email,
String displayName,
String localUser)
Instantiates a new outlook user.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLocalUser()
Gets the local user.
|
URI |
getMailServerUrl()
Gets the mail server url.
|
abstract org.exoplatform.social.core.identity.model.Identity |
getSocialIdentity()
Gets eXo Social identity object of this user.
|
abstract org.exoplatform.social.core.activity.model.ExoSocialActivity |
postActivity(OutlookMessage message)
Post activity.
|
abstract org.exoplatform.social.core.activity.model.ExoSocialActivity |
postActivity(String text)
Post activity.
|
abstract org.exoplatform.social.core.activity.model.ExoSocialActivity |
postActivity(String title,
String body)
Post activity.
|
protected void |
setMailServerUrl(URI mailServerUrl)
Sets the mail server url.
|
getDisplayName, getEmail, toStringprotected final String localUser
protected URI mailServerUrl
protected OutlookUser(String email, String displayName, String localUser) throws OutlookException
email - the email, can be nulldisplayName - the display name, can be nulllocalUser - the user name in eXo organizationOutlookException - if localUser is null or emptypublic String getLocalUser()
public URI getMailServerUrl()
protected void setMailServerUrl(URI mailServerUrl)
mailServerUrl - the new mail server urlpublic abstract org.exoplatform.social.core.activity.model.ExoSocialActivity postActivity(OutlookMessage message) throws OutlookException
message - the messageOutlookException - the outlook exceptionpublic abstract org.exoplatform.social.core.activity.model.ExoSocialActivity postActivity(String title, String body) throws Exception
title - the titlebody - the bodyException - the exceptionpublic abstract org.exoplatform.social.core.activity.model.ExoSocialActivity postActivity(String text) throws Exception
text - the textException - the exceptionCopyright © 2003–2020 eXo Platform SAS. All rights reserved.