Class DocumentURLAction

java.lang.Object
org.nuxeo.ecm.platform.mail.action.DocumentURLAction
All Implemented Interfaces:
MessageAction

public class DocumentURLAction extends Object implements 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