public class SuggestUserEntries extends Object
Modifier and Type | Field and Description |
---|---|
protected OperationContext |
ctx |
protected DirectoryService |
directoryService |
protected boolean |
displayEmailInSuggestion |
protected String |
firstLabelField |
protected String |
groupRestriction |
protected boolean |
hideAdminGroups |
protected boolean |
hideFirstLabel |
protected boolean |
hideIcon |
protected boolean |
hidePowerUsersGroup |
protected boolean |
hideSecondLabel |
protected boolean |
hideThirdLabel |
static String |
ID |
protected String |
lang |
static String |
POWERUSERS |
protected String |
prefix |
protected SchemaManager |
schemaManager |
protected String |
searchType |
protected String |
secondLabelField |
protected String |
thirdLabelField |
protected UserManager |
userManager |
protected Integer |
userSuggestionMaxSearchResults |
Constructor and Description |
---|
SuggestUserEntries() |
Modifier and Type | Method and Description |
---|---|
protected String |
getLang() |
protected Locale |
getLocale() |
protected MultiExpression |
getUserSearchPredicate(String prefix) |
Blob |
run() |
protected DocumentModelList |
searchUsers(long limit)
Performs a full name user search, e.g.
|
protected DocumentModelList |
searchUsers(MultiExpression multiExpression,
long limit) |
protected List<Map<String,Object>> |
usersToMapWithGroupRestrictions(DocumentModelList userList)
Applies group restrictions, and returns Map objects.
|
public static final String ID
public static final String POWERUSERS
protected OperationContext ctx
protected SchemaManager schemaManager
protected String searchType
protected String groupRestriction
protected boolean hideAdminGroups
protected boolean hidePowerUsersGroup
protected Integer userSuggestionMaxSearchResults
protected String firstLabelField
protected String secondLabelField
protected String thirdLabelField
protected boolean hideFirstLabel
protected boolean hideSecondLabel
protected boolean hideThirdLabel
protected boolean displayEmailInSuggestion
protected boolean hideIcon
protected UserManager userManager
protected DirectoryService directoryService
public SuggestUserEntries()
public Blob run() throws IOException
IOException
protected List<Map<String,Object>> usersToMapWithGroupRestrictions(DocumentModelList userList)
protected DocumentModelList searchUsers(long limit)
protected DocumentModelList searchUsers(MultiExpression multiExpression, long limit)
protected MultiExpression getUserSearchPredicate(String prefix)
Copyright © 2019 Nuxeo. All rights reserved.