Package org.apache.ofbiz.service.mail
Class ServiceMcaCondition
java.lang.Object
org.apache.ofbiz.service.mail.ServiceMcaCondition
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
eval
(LocalDispatcher dispatcher, MimeMessageWrapper messageWrapper, GenericValue userLogin) Eval boolean.protected String[]
getFieldValue
(javax.mail.internet.MimeMessage message, String fieldName) Get field value string [ ].
-
Field Details
-
CONDITION_FIELD
public static final int CONDITION_FIELD- See Also:
-
CONDITION_HEADER
public static final int CONDITION_HEADER- See Also:
-
CONDITION_SERVICE
public static final int CONDITION_SERVICE- See Also:
-
-
Constructor Details
-
ServiceMcaCondition
-
-
Method Details
-
eval
public boolean eval(LocalDispatcher dispatcher, MimeMessageWrapper messageWrapper, GenericValue userLogin) Eval boolean.- Parameters:
dispatcher
- the dispatchermessageWrapper
- the message wrapperuserLogin
- the user login- Returns:
- the boolean
-
getFieldValue
protected String[] getFieldValue(javax.mail.internet.MimeMessage message, String fieldName) throws javax.mail.MessagingException, IOException Get field value string [ ].- Parameters:
message
- the messagefieldName
- the field name- Returns:
- the string [ ]
- Throws:
javax.mail.MessagingException
- the messaging exceptionIOException
- the io exception
-