Package org.nuxeo.ecm.platform.query.api
Class PageProviderDefinitionBuilder
java.lang.Object
org.nuxeo.ecm.platform.query.api.PageProviderDefinitionBuilder
- Since:
- 2025.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<AggregateDefinition> protected booleanprotected booleanprotected Longprotected Stringprotected longprotected Stringprotected Stringprotected String[]protected List<QuickFilter> protected booleanprotected Stringprotected booleanprotected Stringprotected booleanprotected WhereClauseDefinition -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPageProviderDefinitionBuilder(PageProviderDefinition pageProviderDefinition) -
Method Summary
Modifier and TypeMethodDescriptionbuild()quickFilters(List<QuickFilter> quickFilters) whereClause(UnaryOperator<WhereClauseDefinition> whereClauseOperator) Method that allows to edit the currentWhereClauseDefinition whereClauseby calling the given operator.whereClause(WhereClauseDefinition whereClause)
-
Field Details
-
name
-
enabled
protected boolean enabled -
properties
-
queryParameters
-
quotePatternParameters
protected boolean quotePatternParameters -
escapePatternParameters
protected boolean escapePatternParameters -
pattern
-
whereClause
-
searchDocumentType
-
sortable
protected boolean sortable -
sortInfos
-
sortInfosBinding
-
pageSize
protected long pageSize -
pageSizeBinding
-
maxPageSize
-
pageSizeOptions
-
aggregates
-
usageTrackingEnabled
protected boolean usageTrackingEnabled -
quickFilters
-
-
Constructor Details
-
PageProviderDefinitionBuilder
-
-
Method Details
-
whereClause
-
whereClause
public PageProviderDefinitionBuilder whereClause(UnaryOperator<WhereClauseDefinition> whereClauseOperator) Method that allows to edit the currentWhereClauseDefinition whereClauseby calling the given operator.The operator will receive the current
whereClauseand its returned value will be set to this builder.- Returns:
- this builder
-
sortInfos
-
quickFilters
-
build
-