Package org.nuxeo.ecm.platform.query.api
Class PageProviderDefinitionBuilder.PageProviderDefinitionImpl
java.lang.Object
org.nuxeo.ecm.platform.query.api.PageProviderDefinitionBuilder.PageProviderDefinitionImpl
- All Implemented Interfaces:
PageProviderDefinition,Descriptor
- Enclosing class:
PageProviderDefinitionBuilder
protected static class PageProviderDefinitionBuilder.PageProviderDefinitionImpl
extends Object
implements PageProviderDefinition
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final List<AggregateDefinition> protected final booleanprotected final booleanprotected final Longprotected final Stringprotected final longprotected final Stringprotected final Stringprotected final String[]protected final List<QuickFilter> protected final booleanprotected final Stringprotected final booleanprotected final Stringprotected final booleanprotected final WhereClauseDefinitionFields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetName()longReturns the list of page size options to present to users.String[]booleanReturns the search document type used for wher clause, aggregates and named parameters.booleanbooleanbooleanvoidsetEnabled(boolean enabled) voidvoidsetPattern(String pattern) Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove, mergeMethods inherited from interface org.nuxeo.ecm.platform.query.api.PageProviderDefinition
builder, getId
-
Field Details
-
name
-
enabled
protected final boolean enabled -
properties
-
queryParameters
-
quotePatternParameters
protected final boolean quotePatternParameters -
escapePatternParameters
protected final boolean escapePatternParameters -
pattern
-
whereClause
-
searchDocumentType
-
sortable
protected final boolean sortable -
sortInfos
-
sortInfosBinding
-
pageSize
protected final long pageSize -
pageSizeBinding
-
maxPageSize
-
pageSizeOptions
-
aggregates
-
usageTrackingEnabled
protected final boolean usageTrackingEnabled -
quickFilters
-
-
Constructor Details
-
PageProviderDefinitionImpl
-
-
Method Details
-
getName
- Specified by:
getNamein interfacePageProviderDefinition
-
setName
- Specified by:
setNamein interfacePageProviderDefinition
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfacePageProviderDefinition
-
setEnabled
public void setEnabled(boolean enabled) - Specified by:
setEnabledin interfacePageProviderDefinition
-
getProperties
- Specified by:
getPropertiesin interfacePageProviderDefinition
-
getQueryParameters
- Specified by:
getQueryParametersin interfacePageProviderDefinition
-
getQuotePatternParameters
public boolean getQuotePatternParameters()- Specified by:
getQuotePatternParametersin interfacePageProviderDefinition
-
getEscapePatternParameters
public boolean getEscapePatternParameters()- Specified by:
getEscapePatternParametersin interfacePageProviderDefinition
-
setPattern
- Specified by:
setPatternin interfacePageProviderDefinition
-
getPattern
- Specified by:
getPatternin interfacePageProviderDefinition
-
getWhereClause
- Specified by:
getWhereClausein interfacePageProviderDefinition
-
getSearchDocumentType
Description copied from interface:PageProviderDefinitionReturns the search document type used for wher clause, aggregates and named parameters.- Specified by:
getSearchDocumentTypein interfacePageProviderDefinition
-
isSortable
public boolean isSortable()- Specified by:
isSortablein interfacePageProviderDefinition
-
getSortInfos
- Specified by:
getSortInfosin interfacePageProviderDefinition
-
getSortInfosBinding
- Specified by:
getSortInfosBindingin interfacePageProviderDefinition
-
getPageSize
public long getPageSize()- Specified by:
getPageSizein interfacePageProviderDefinition
-
getPageSizeBinding
- Specified by:
getPageSizeBindingin interfacePageProviderDefinition
-
getMaxPageSize
- Specified by:
getMaxPageSizein interfacePageProviderDefinition
-
getPageSizeOptions
Description copied from interface:PageProviderDefinitionReturns the list of page size options to present to users.Uses an hardcoded list of values, and adds up the page provider initial page size to it.
- Specified by:
getPageSizeOptionsin interfacePageProviderDefinition
-
clone
- Specified by:
clonein interfacePageProviderDefinition- Overrides:
clonein classObject
-
getAggregates
- Specified by:
getAggregatesin interfacePageProviderDefinition
-
isUsageTrackingEnabled
public boolean isUsageTrackingEnabled()- Specified by:
isUsageTrackingEnabledin interfacePageProviderDefinition
-
getQuickFilters
- Specified by:
getQuickFiltersin interfacePageProviderDefinition
-