Interface TypedSearchQueryRequest<F extends TypedSearchQueryRequest.SearchRequestFilter,S extends TypedSearchQueryRequest.SearchRequestSort<S>,SELF extends TypedSearchQueryRequest<F,S,SELF>>

All Known Subinterfaces:
DecisionDefinitionQuery, DecisionInstanceQuery, DecisionRequirementsQuery, FlownodeInstanceQuery, IncidentQuery, ProcessDefinitionQuery, ProcessInstanceQuery, UserTaskQuery, UserTaskVariableQuery, VariableQuery
All Known Implementing Classes:
DecisionDefinitionQueryImpl, DecisionInstanceQueryImpl, DecisionRequirementsQueryImpl, FlowNodeInstanceQueryImpl, IncidentQueryImpl, ProcessDefinitionQueryImpl, ProcessInstanceQueryImpl, UserTaskQueryImpl, UserTaskVariableQueryImpl, VariableQueryImpl

public interface TypedSearchQueryRequest<F extends TypedSearchQueryRequest.SearchRequestFilter,S extends TypedSearchQueryRequest.SearchRequestSort<S>,SELF extends TypedSearchQueryRequest<F,S,SELF>>
  • Method Details

    • filter

      SELF filter(F value)
      Sets the filter to be included in the search request.
      Parameters:
      value - the filter
      Returns:
      the builder for the search request
    • filter

      SELF filter(Consumer<F> fn)
      Provides a fluent builder to create a filter to be included in the search request.
      Parameters:
      value - consumer to create the filter
      Returns:
      the builder for the search request
    • sort

      SELF sort(S value)
      Sets the sorting the returned entities should be sorted by.
      Parameters:
      value - the sort options
      Returns:
      the builder for the search request
    • sort

      SELF sort(Consumer<S> fn)
      Provides a fluent builder to provide sorting options the returned entites should sorted by
      Parameters:
      value - consumer to create the sort options
      Returns:
      the builder for the search request
    • page

      SELF page(SearchRequestPage value)
      Support for pagination.
      Parameters:
      value - the next page
      Returns:
      the builder for the search request
    • page

      Provides a fluent builder to support pagination.
      Parameters:
      value - consumer to support pagination
      Returns:
      the builder for the search request