Class DocumentSuggestion
java.lang.Object
org.nuxeo.ecm.platform.suggestbox.service.Suggestion
org.nuxeo.ecm.platform.suggestbox.service.DocumentSuggestion
- All Implemented Interfaces:
Serializable
Suggest to navigate to a specific document.
- See Also:
-
Field Summary
Fields inherited from class org.nuxeo.ecm.platform.suggestbox.service.Suggestion
DATE_FORMAT_PATTERN, description, disabled, highlights, iconURL, id, label, thumbnailURL, type
-
Constructor Summary
ConstructorDescriptionDocumentSuggestion
(String id, DocumentLocation documentLocation, String label, String iconURL) -
Method Summary
Methods inherited from class org.nuxeo.ecm.platform.suggestbox.service.Suggestion
disable, getDescription, getHighlights, getIconURL, getId, getIsDisabled, getLabel, getThumbnailURL, getType, toString, withDescription, withHighlights, withThumbnailURL
-
Field Details
-
documentLocation
-
-
Constructor Details
-
DocumentSuggestion
public DocumentSuggestion(String id, DocumentLocation documentLocation, String label, String iconURL)
-
-
Method Details
-
fromDocumentModel
-
getDocumentLocation
-
getObjectUrl
- Specified by:
getObjectUrl
in classSuggestion
- Returns:
- the url to access to the object. It used by the navigation in the select2.
-