Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webapp.note
Class NoteActions

java.lang.Object
  extended by org.nuxeo.ecm.webapp.note.NoteActions
All Implemented Interfaces:
Serializable

@Scope(value=CONVERSATION)
@Name(value="noteActions")
public class NoteActions
extends Object
implements Serializable

Author:
Thomas Roger
See Also:
Serialized Form

Constructor Summary
NoteActions()
           
 
Method Summary
 String translateImageLinks(String note)
          Translate the image links referencing attached files to use the docId of the current proxy or version.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoteActions

public NoteActions()
Method Detail

translateImageLinks

public String translateImageLinks(String note)
                           throws ClientException
Translate the image links referencing attached files to use the docId of the current proxy or version. Do not translate anything if we are on a live document.

Parameters:
note - the note content
Returns:
the translated note content
Throws:
ClientException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.