Nuxeo ECM Projects 5.6-RC1

org.nuxeo.ecm.platform.suggestbox.service
Class DocumentSuggestion

java.lang.Object
  extended by org.nuxeo.ecm.platform.suggestbox.service.Suggestion
      extended by org.nuxeo.ecm.platform.suggestbox.service.DocumentSuggestion
All Implemented Interfaces:
Serializable

public class DocumentSuggestion
extends Suggestion

Suggest to navigate to a specific document.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.nuxeo.ecm.platform.suggestbox.service.Suggestion
DATE_FORMAT_PATTERN
 
Constructor Summary
DocumentSuggestion(DocumentLocation documentLocation, String label, String iconURL)
           
 
Method Summary
static Suggestion fromDocumentModel(DocumentModel doc)
           
 DocumentLocation getDocumentLocation()
           
 
Methods inherited from class org.nuxeo.ecm.platform.suggestbox.service.Suggestion
disable, getDescription, getIconURL, getIsDisabled, getLabel, getType, toString, withDescription
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocumentSuggestion

public DocumentSuggestion(DocumentLocation documentLocation,
                          String label,
                          String iconURL)
Method Detail

fromDocumentModel

public static Suggestion fromDocumentModel(DocumentModel doc)
                                    throws ClientException
Throws:
ClientException

getDocumentLocation

public DocumentLocation getDocumentLocation()

Nuxeo ECM Projects 5.6-RC1

Copyright © 2012 Nuxeo SA. All Rights Reserved.