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 boolean
protected boolean
protected Long
protected String
protected long
protected String
protected String
protected String[]
protected List
<QuickFilter> protected boolean
protected String
protected boolean
protected String
protected boolean
protected WhereClauseDefinition
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
PageProviderDefinitionBuilder
(PageProviderDefinition pageProviderDefinition) -
Method Summary
Modifier and TypeMethodDescriptionbuild()
quickFilters
(List<QuickFilter> quickFilters) whereClause
(UnaryOperator<WhereClauseDefinition> whereClauseOperator) Method that allows to edit the currentWhereClauseDefinition whereClause
by 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 whereClause
by calling the given operator.The operator will receive the current
whereClause
and its returned value will be set to this builder.- Returns:
- this builder
-
sortInfos
-
quickFilters
-
build
-