Class SuggestUserEntries
java.lang.Object
org.nuxeo.ecm.automation.core.operations.users.SuggestUserEntries
SuggestUser Operation.
- Since:
- 5.7.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected OperationContextprotected DirectoryServiceprotected booleanprotected Stringprotected Stringprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanstatic final Stringprotected Stringstatic final Stringprotected Stringprotected SchemaManagerprotected Stringprotected Stringprotected Stringprotected UserManagerprotected Integer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetLang()protected Localeprotected MultiExpressiongetUserSearchPredicate(String prefix) run()protected DocumentModelListsearchUsers(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 DocumentModelListsearchUsers(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
-