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 String
ASC
protected OperationContext
context
protected Integer
currentPageIndex
static String
DESC
protected String
documentLinkBuilder
protected StringList
highlights
static String
ID
protected String
lang
protected Properties
namedParameters
protected Integer
offset
protected Integer
pageSize
protected String
providerName
protected StringList
quickFilters
protected CoreSession
session
protected StringList
sortBy
protected StringList
sortOrder
protected StringList
strParameters
-
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
-
-