Class UserSuggestion
- java.lang.Object
-
- org.nuxeo.ecm.platform.suggestbox.service.Suggestion
-
- org.nuxeo.ecm.platform.suggestbox.service.UserSuggestion
-
- All Implemented Interfaces:
Serializable
public class UserSuggestion extends Suggestion
Suggest to navigate to a specific user profile.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
userId
-
Fields inherited from class org.nuxeo.ecm.platform.suggestbox.service.Suggestion
DATE_FORMAT_PATTERN, description, disabled, highlights, iconURL, id, label, thumbnailURL, type
-
-
Constructor Summary
Constructors Constructor Description UserSuggestion(String userId, String label, String iconURL)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getObjectUrl()
String
getUserId()
-
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 Detail
-
userId
protected final String userId
-
-
Method Detail
-
getUserId
public String getUserId()
-
getObjectUrl
public String getObjectUrl()
- Specified by:
getObjectUrl
in classSuggestion
- Returns:
- the url to access to the object. It used by the navigation in the select2.
-
-