Class SuggestUserEntries
java.lang.Object
org.nuxeo.ecm.automation.core.operations.users.SuggestUserEntries
SuggestUser Operation.
- Since:
- 5.7.3
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected OperationContext
protected DirectoryService
protected boolean
protected String
protected String
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
static final String
protected String
static final String
protected String
protected SchemaManager
protected String
protected String
protected String
protected UserManager
protected Integer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getLang()
protected Locale
protected MultiExpression
getUserSearchPredicate
(String prefix) run()
protected DocumentModelList
searchUsers
(long limit) Performs a full name user search, e.g. typing "John Do" returns the user with first name "John" and last name "Doe".protected DocumentModelList
searchUsers
(MultiExpression multiExpression, long limit) Applies group restrictions, and returns Map objects.
-
Field Details
-
ID
- See Also:
-
POWERUSERS
- See Also:
-
ctx
-
schemaManager
-
prefix
-
searchType
-
groupRestriction
-
hideAdminGroups
protected boolean hideAdminGroups- Since:
- 7.10
-
hidePowerUsersGroup
protected boolean hidePowerUsersGroup- Since:
- 8.3
-
userSuggestionMaxSearchResults
-
firstLabelField
-
secondLabelField
-
thirdLabelField
-
hideFirstLabel
protected boolean hideFirstLabel -
hideSecondLabel
protected boolean hideSecondLabel -
hideThirdLabel
protected boolean hideThirdLabel -
displayEmailInSuggestion
protected boolean displayEmailInSuggestion -
hideIcon
protected boolean hideIcon -
userManager
-
directoryService
-
lang
-
allowSubGroupsRestriction
protected boolean allowSubGroupsRestriction
-
-
Constructor Details
-
SuggestUserEntries
public SuggestUserEntries()
-
-
Method Details
-
run
- Throws:
IOException
-
usersToMapWithGroupRestrictions
Applies group restrictions, and returns Map objects. -
searchUsers
Performs a full name user search, e.g. typing "John Do" returns the user with first name "John" and last name "Doe". Typing "John" returns the "John Doe" user and possibly other users such as "John Foo". Respectively, typing "Do" returns the "John Doe" user and possibly other users such as "Jack Donald". -
searchUsers
-
getUserSearchPredicate
-
getLang
-
getLocale
-