Class RolesByTenantSearchRequestImpl
java.lang.Object
io.camunda.client.impl.search.request.TypedSearchRequestPropertyProvider<RoleSearchQueryRequest>
io.camunda.client.impl.search.request.RolesByTenantSearchRequestImpl
- All Implemented Interfaces:
FinalCommandStep<SearchResponse<Role>>,FinalSearchRequestStep<Role>,RolesByTenantSearchRequest,TypedSearchRequest<RoleFilter,RoleSort, RolesByTenantSearchRequest>
public class RolesByTenantSearchRequestImpl
extends TypedSearchRequestPropertyProvider<RoleSearchQueryRequest>
implements RolesByTenantSearchRequest
-
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
ConstructorsConstructorDescriptionRolesByTenantSearchRequestImpl(HttpClient httpClient, JsonMapper jsonMapper, String tenantId) -
Method Summary
Modifier and TypeMethodDescriptionfilter(RoleFilter value) Sets the filter to be included in the search request.filter(Consumer<RoleFilter> fn) Provides a fluent builder to create a filter to be included in the search request.protected RoleSearchQueryRequestpage(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.Sets the sorting the returned entities should be sorted by.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
-
RolesByTenantSearchRequestImpl
public RolesByTenantSearchRequestImpl(HttpClient httpClient, JsonMapper jsonMapper, String tenantId)
-
-
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<Role>>- Specified by:
requestTimeoutin interfaceFinalSearchRequestStep<Role>- 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<Role>>- 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<RoleFilter,RoleSort, RolesByTenantSearchRequest> - 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<RoleFilter,RoleSort, RolesByTenantSearchRequest> - 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<RoleFilter,RoleSort, RolesByTenantSearchRequest> - 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<RoleFilter,RoleSort, RolesByTenantSearchRequest> - 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<RoleFilter,RoleSort, RolesByTenantSearchRequest> - 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<RoleFilter,RoleSort, RolesByTenantSearchRequest> - Parameters:
fn- consumer to support pagination- Returns:
- the builder for the search request
-
getSearchRequestProperty
- Specified by:
getSearchRequestPropertyin classTypedSearchRequestPropertyProvider<RoleSearchQueryRequest>
-