public class MailBox extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
address |
String |
firstname |
String |
lastname |
| Constructor and Description |
|---|
MailBox(DocumentModel user,
boolean isStrict) |
MailBox(String info,
boolean isStrict) |
MailBox(String address,
String firstname,
String lastname) |
| Modifier and Type | Method and Description |
|---|---|
static List<MailBox> |
fetchPersonsFromList(List<String> values,
boolean isStrict)
Fetch for each string given the mailbox target associated see
|
static List<MailBox> |
fetchPersonsFromString(String value,
boolean isStrict)
Resolve value to find the mailbox associated. if strict is true and if value is prefixed by "user:" then find the
email address in his profile, otherwise the given string is considered as the email address. if strict is false,
and there is comma.
|
UserManager |
getUmgr() |
String |
toString()
returning the mailbox address as String.
|
public String firstname
public String lastname
public String address
public MailBox(String address, String firstname, String lastname) throws ClientException
ClientExceptionpublic MailBox(DocumentModel user, boolean isStrict) throws ClientException
ClientExceptionpublic MailBox(String info, boolean isStrict) throws ClientException
ClientExceptionpublic static List<MailBox> fetchPersonsFromList(List<String> values, boolean isStrict) throws ClientException
ClientExceptionpublic static List<MailBox> fetchPersonsFromString(String value, boolean isStrict) throws ClientException
ClientExceptionpublic UserManager getUmgr()
Copyright © 2019 Nuxeo SA. All rights reserved.