Class DocumentPageProviderOperation
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.operations.services.DocumentPageProviderOperation
-
public class DocumentPageProviderOperation extends Object
Operation to execute a query or a named provider with support for Pagination.- Since:
- 5.4.2
- Author:
- Tiry ([email protected])
-
-
Field Summary
Fields Modifier and Type Field Description static StringASCprotected OperationContextcontextprotected IntegercurrentPageIndexstatic StringDESCprotected StringdocumentLinkBuilderprotected StringListhighlightsstatic StringIDprotected Stringlangprotected PropertiesnamedParametersprotected Integeroffsetprotected IntegerpageSizeprotected StringproviderNameprotected StringListquickFiltersprotected CoreSessionsessionprotected StringListsortByprotected StringListsortOrderprotected StringListstrParameters
-
Constructor Summary
Constructors Constructor Description DocumentPageProviderOperation()
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
ASC
public static final String ASC
- See Also:
- Constant Field Values
-
DESC
public static final String DESC
- See Also:
- Constant Field Values
-
context
protected OperationContext context
-
session
protected CoreSession session
-
providerName
protected String providerName
-
lang
protected String lang
-
currentPageIndex
protected Integer currentPageIndex
-
pageSize
protected Integer pageSize
-
offset
protected Integer offset
-
strParameters
protected StringList strParameters
-
documentLinkBuilder
protected String documentLinkBuilder
-
namedParameters
protected Properties namedParameters
- Since:
- 6.0
-
sortBy
protected StringList sortBy
- Since:
- 6.0
-
sortOrder
protected StringList sortOrder
- Since:
- 6.0
-
quickFilters
protected StringList quickFilters
- Since:
- 8.4
-
highlights
protected StringList highlights
- Since:
- 9.1
-
-
Method Detail
-
run
public PaginableDocumentModelListImpl run() throws OperationException
- Throws:
OperationException
-
-