Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.webapp.note
Class NoteActions

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

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

Author:
Thomas Roger
See Also:
Serialized Form

Constructor Summary
NoteActions()
           
 
Method Summary
 java.lang.String translateImageLinks(java.lang.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 java.lang.String translateImageLinks(java.lang.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 Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.