Class MailBox
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.operations.notification.MailBox
-
public class MailBox extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<MailBox>
fetchPersonsFromList(List<String> values, boolean isStrict)
Fetch for each string given the mailbox target associated seestatic List<MailBox>
fetchPersonsFromString(String value, boolean isStrict)
Resolve value to find the mailbox associated.UserManager
getUmgr()
String
toString()
returning the mailbox address as String.
-
-
-
Constructor Detail
-
MailBox
public MailBox(DocumentModel user, boolean isStrict)
-
MailBox
public MailBox(String info, boolean isStrict)
-
-
Method Detail
-
fetchPersonsFromList
public static List<MailBox> fetchPersonsFromList(List<String> values, boolean isStrict)
Fetch for each string given the mailbox target associated see
-
fetchPersonsFromString
public 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. The value is considered as a list. For each substring the resolution is as explained below : if the substring startswith by "user:" then try to resolve the user email, otherwise try to fetch the user without prefix if not found considered the string as an email address.
-
getUmgr
public UserManager getUmgr()
-
-