Class FindUsersRequest
Object
PagedRequest
FindUsersRequest
- All Implemented Interfaces:
Serializable
The search criteria for users.
Only parameters that are specified in this request and have not null values are used for filtering. All
other parameters are ignored.
The returned users satisfy all constraints that are specified in this search criteria.
By default a result containing 1000 users is returned.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class PagedRequest
countLimit, limit, offset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FindUsersRequest.Builderbuilder()protected booleanbooleanThe ID of the group the searched users should belong to.getName()The name of the user.The user fields that will be searched for occurrences of thenameparameter.The IDs of the users.inthashCode()booleanWhether disabled users should be included in the search results.booleanWhether only currently logged in users should be returned.voidsetGroupId(UUID groupId) The ID of the group the searched users should belong to.voidsetIncludeDisabled(boolean includeDisabled) Whether disabled users should be included in the search results.voidThe name of the user.voidsetNameSearchFields(Set<NameSearchField> nameSearchFields) The user fields that will be searched for occurrences of thenameparameter.voidsetOnlyLoggedIn(boolean onlyLoggedIn) Whether only currently logged in users should be returned.voidsetSortField(NameSearchField sortField) voidsetSortOrder(SortOrder sortOrder) voidsetUserIds(List<String> userIds) The IDs of the users.toString()Methods inherited from class PagedRequest
getCountLimit, getLimit, getOffset, isPagingActive, setCountLimit, setLimit, setOffset
-
Constructor Details
-
FindUsersRequest
public FindUsersRequest()
-
-
Method Details
-
builder
-
getUserIds
The IDs of the users. -
getName
The name of the user. The search will take place in the fields specified by the 'nameSearchFields' parameter. -
getNameSearchFields
The user fields that will be searched for occurrences of thenameparameter.It defaults to
USERNAME,FIRSTNAME,LASTNAME,FIRSTNAME_LASTNAMEandLASTNAME_FIRSTNAME. -
getGroupId
The ID of the group the searched users should belong to. -
isOnlyLoggedIn
public boolean isOnlyLoggedIn()Whether only currently logged in users should be returned. -
isIncludeDisabled
public boolean isIncludeDisabled()Whether disabled users should be included in the search results. -
getSortOrder
-
getSortField
-
setUserIds
The IDs of the users. -
setName
The name of the user. The search will take place in the fields specified by the 'nameSearchFields' parameter. -
setNameSearchFields
The user fields that will be searched for occurrences of thenameparameter.It defaults to
USERNAME,FIRSTNAME,LASTNAME,FIRSTNAME_LASTNAMEandLASTNAME_FIRSTNAME. -
setGroupId
The ID of the group the searched users should belong to. -
setOnlyLoggedIn
public void setOnlyLoggedIn(boolean onlyLoggedIn) Whether only currently logged in users should be returned. -
setIncludeDisabled
public void setIncludeDisabled(boolean includeDisabled) Whether disabled users should be included in the search results. -
setSortOrder
-
setSortField
-
equals
- Overrides:
equalsin classPagedRequest
-
canEqual
- Overrides:
canEqualin classPagedRequest
-
hashCode
public int hashCode()- Overrides:
hashCodein classPagedRequest
-
toString
- Overrides:
toStringin classPagedRequest
-