Class DocumentURLAction
java.lang.Object
org.nuxeo.ecm.platform.mail.action.DocumentURLAction
- All Implemented Interfaces:
MessageAction
Computes the URL of a document.
It expects the document to be in the context under the key "document" and the baseUrl at baseUrl. It puts the URL at key "url".
- Author:
- Alexandre Russel
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
execute
(ExecutionContext context) Executes one action.void
reset
(ExecutionContext context)
-
Field Details
-
documentViewCodecManager
-
baseUrl
-
-
Constructor Details
-
DocumentURLAction
-
-
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
- See Also:
-
reset
- Specified by:
reset
in interfaceMessageAction
-