public class Suggestion extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
DATE_FORMAT_PATTERN |
Constructor and Description |
---|
Suggestion(String type,
String label,
String iconURL) |
Modifier and Type | Method and Description |
---|---|
Suggestion |
disable() |
String |
getDescription() |
String |
getIconURL()
Relative URL path to download an icon (can represent the type of
suggestion or the specific instance such as the mimetype icon of a
document suggestion or the avatar icon of a user profile suggestion).
|
boolean |
getIsDisabled()
Disabled suggestions can be useful to display suggestions that might have
been relevant if the context was slightly different (e.g.
|
String |
getLabel()
The i18n label to display to the user for this suggestion.
|
String |
getType()
A string marker to give the type (i.e.
|
String |
toString() |
Suggestion |
withDescription(String description) |
public static final String DATE_FORMAT_PATTERN
public String getType()
public String getLabel()
public String getIconURL()
public String getDescription()
public Suggestion withDescription(String description)
public boolean getIsDisabled()
public Suggestion disable()
Copyright © 2011 Nuxeo SA. All Rights Reserved.