Class CheckMailUnicity
java.lang.Object
org.nuxeo.ecm.platform.mail.listener.action.AbstractMailAction
org.nuxeo.ecm.platform.mail.listener.action.CheckMailUnicity
- All Implemented Interfaces:
MessageAction
This class checks whether a mail is a duplicate of a previously stored mail document. The mail is considered a
duplicate if the sender, sending_date, title, text and containing folder are the same. This should fit for most uses.
- Author:
- Christophe Capon, Laurent Doguin
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class org.nuxeo.ecm.platform.mail.listener.action.AbstractMailAction
getCoreSession, reset
-
Field Details
-
MAIL_SEARCH_QUERY
- See Also:
-
-
Constructor Details
-
CheckMailUnicity
public CheckMailUnicity()
-
-
Method Details
-
execute
Description copied from interface:MessageAction
Executes one action.If it returns false, the following actions from the pipe are not executed.
- Specified by:
execute
in interfaceMessageAction
- Overrides:
execute
in classAbstractMailAction
- See Also:
-