public class DocumentSuggestion extends Suggestion
Modifier and Type | Field and Description |
---|---|
protected DocumentLocation |
documentLocation |
DATE_FORMAT_PATTERN, description, disabled, iconURL, id, label, 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, getIconURL, getId, getIsDisabled, getLabel, getType, toString, withDescription
protected 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 Suggestion
Copyright © 2016 Nuxeo SA. All rights reserved.