public class DocumentSuggestion extends Suggestion
| Modifier and Type | Field and Description | 
|---|---|
protected DocumentLocation | 
documentLocation  | 
DATE_FORMAT_PATTERN, description, disabled, highlights, iconURL, id, label, thumbnailURL, type| Constructor and Description | 
|---|
DocumentSuggestion(String id,
                  DocumentLocation documentLocation,
                  String label,
                  String iconURL)  | 
| Modifier and Type | Method and Description | 
|---|---|
static Suggestion | 
fromDocumentModel(DocumentModel doc)  | 
DocumentLocation | 
getDocumentLocation()  | 
String | 
getObjectUrl()  | 
disable, getDescription, getHighlights, getIconURL, getId, getIsDisabled, getLabel, getThumbnailURL, getType, toString, withDescription, withHighlights, withThumbnailURLprotected final DocumentLocation documentLocation
public DocumentSuggestion(String id, DocumentLocation documentLocation, String label, String iconURL)
public static Suggestion fromDocumentModel(DocumentModel doc)
public DocumentLocation getDocumentLocation()
public String getObjectUrl()
getObjectUrl in class SuggestionCopyright © 2019 Nuxeo. All rights reserved.