Class MailBox
java.lang.Object
org.nuxeo.ecm.automation.core.operations.notification.MailBox
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfetchPersonsFromList
(List<String> values, boolean isStrict) Fetch for each string given the mailbox target associated seefetchPersonsFromString
(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.getUmgr()
toString()
returning the mailbox address as String.
-
Field Details
-
firstname
-
lastname
-
address
-
-
Constructor Details
-
MailBox
-
MailBox
-
MailBox
-
-
Method Details
-
fetchPersonsFromList
Fetch for each string given the mailbox target associated see -
fetchPersonsFromString
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
-
toString
returning the mailbox address as String. If firstname and lastname is set add it into the returned string.
-