Class UsersByRoleSearchRequestImpl
java.lang.Object
io.camunda.client.impl.search.request.TypedSearchRequestPropertyProvider<RoleUserSearchQueryRequest>
io.camunda.client.impl.search.request.UsersByRoleSearchRequestImpl
- All Implemented Interfaces:
FinalCommandStep<SearchResponse<RoleUser>>,FinalSearchRequestStep<RoleUser>,TypedSearchRequest<RoleUserFilter,,RoleUserSort, UsersByRoleSearchRequest> UsersByRoleSearchRequest
public class UsersByRoleSearchRequestImpl
extends TypedSearchRequestPropertyProvider<RoleUserSearchQueryRequest>
implements UsersByRoleSearchRequest
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.client.api.search.request.TypedSearchRequest
TypedSearchRequest.SearchRequestFilter, TypedSearchRequest.SearchRequestSort<S extends TypedSearchRequest.SearchRequestSort<S>> -
Constructor Summary
ConstructorsConstructorDescriptionUsersByRoleSearchRequestImpl(HttpClient httpClient, JsonMapper jsonMapper, String roleId) -
Method Summary
Modifier and TypeMethodDescriptionfilter(RoleUserFilter value) Sets the filter to be included in the search request.filter(Consumer<RoleUserFilter> fn) Provides a fluent builder to create a filter to be included in the search request.protected RoleUserSearchQueryRequestpage(SearchRequestPage value) Support for pagination.Provides a fluent builder to support pagination.requestTimeout(Duration requestTimeout) Sets the request timeout for the command.send()Sends the command to the Camunda gateway.sort(RoleUserSort value) Sets the sorting the returned entities should be sorted by.sort(Consumer<RoleUserSort> fn) Provides a fluent builder to provide sorting options the returned entites should sorted byMethods inherited from class io.camunda.client.impl.search.request.TypedSearchRequestPropertyProvider
provideSearchRequestProperty
-
Constructor Details
-
UsersByRoleSearchRequestImpl
-
-
Method Details
-
requestTimeout
Description copied from interface:FinalCommandStepSets the request timeout for the command. The default request timeout can be configured usingCamundaClientBuilder.defaultRequestTimeout(Duration).- Specified by:
requestTimeoutin interfaceFinalCommandStep<SearchResponse<RoleUser>>- Specified by:
requestTimeoutin interfaceFinalSearchRequestStep<RoleUser>- Parameters:
requestTimeout- the request timeout- Returns:
- the configured command
-
send
Description copied from interface:FinalCommandStepSends the command to the Camunda gateway. This operation is asynchronous. In case of success, the future returns the event that was generated by the Camunda gateway in response to the command.Call
CamundaFuture.join()to wait until the response is available.Future<JobEventinvalid input: '>' future = command.send(); JobEvent event = future.join();- Specified by:
sendin interfaceFinalCommandStep<SearchResponse<RoleUser>>- Returns:
- a future tracking state of success/failure of the command.
-
filter
Description copied from interface:TypedSearchRequestSets the filter to be included in the search request.- Specified by:
filterin interfaceTypedSearchRequest<RoleUserFilter,RoleUserSort, UsersByRoleSearchRequest> - Parameters:
value- the filter- Returns:
- the builder for the search request
-
filter
Description copied from interface:TypedSearchRequestProvides a fluent builder to create a filter to be included in the search request.- Specified by:
filterin interfaceTypedSearchRequest<RoleUserFilter,RoleUserSort, UsersByRoleSearchRequest> - Parameters:
fn- consumer to create the filter- Returns:
- the builder for the search request
-
sort
Description copied from interface:TypedSearchRequestSets the sorting the returned entities should be sorted by.- Specified by:
sortin interfaceTypedSearchRequest<RoleUserFilter,RoleUserSort, UsersByRoleSearchRequest> - Parameters:
value- the sort options- Returns:
- the builder for the search request
-
sort
Description copied from interface:TypedSearchRequestProvides a fluent builder to provide sorting options the returned entites should sorted by- Specified by:
sortin interfaceTypedSearchRequest<RoleUserFilter,RoleUserSort, UsersByRoleSearchRequest> - Parameters:
fn- consumer to create the sort options- Returns:
- the builder for the search request
-
page
Description copied from interface:TypedSearchRequestSupport for pagination.- Specified by:
pagein interfaceTypedSearchRequest<RoleUserFilter,RoleUserSort, UsersByRoleSearchRequest> - Parameters:
value- the next page- Returns:
- the builder for the search request
-
page
Description copied from interface:TypedSearchRequestProvides a fluent builder to support pagination.- Specified by:
pagein interfaceTypedSearchRequest<RoleUserFilter,RoleUserSort, UsersByRoleSearchRequest> - Parameters:
fn- consumer to support pagination- Returns:
- the builder for the search request
-
getSearchRequestProperty
- Specified by:
getSearchRequestPropertyin classTypedSearchRequestPropertyProvider<RoleUserSearchQueryRequest>
-