Class ResultSetPageProviderOperation
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.operations.services.ResultSetPageProviderOperation
-
public class ResultSetPageProviderOperation extends Object
Operation to execute a query or a named provider with support for Pagination- Since:
- 5.7
- Author:
- Tiry ([email protected])
-
-
Field Summary
Fields Modifier and Type Field Description static StringASCstatic StringCMISprotected OperationContextcontextstatic StringDESCstatic StringIDprotected Stringlangprotected StringmaxResultsprotected PropertiesnamedParametersprotected Integerpageprotected IntegerpageSizeprotected StringproviderNameprotected CoreSessionsessionprotected StringListsortByprotected StringListsortOrderprotected StringListstrParameters
-
Constructor Summary
Constructors Constructor Description ResultSetPageProviderOperation()
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
DESC
public static final String DESC
- See Also:
- Constant Field Values
-
ASC
public static final String ASC
- See Also:
- Constant Field Values
-
CMIS
public static final String CMIS
- See Also:
- Constant Field Values
-
context
protected OperationContext context
-
session
protected CoreSession session
-
providerName
protected String providerName
-
lang
protected String lang
-
page
protected Integer page
-
pageSize
protected Integer pageSize
-
strParameters
protected StringList strParameters
-
maxResults
protected String maxResults
- Since:
- 5.7
-
namedParameters
protected Properties namedParameters
- Since:
- 6.0
-
sortBy
protected StringList sortBy
- Since:
- 6.0
-
sortOrder
protected StringList sortOrder
- Since:
- 6.0
-
-
Method Detail
-
run
public RecordSet run() throws OperationException
- Throws:
OperationException
-
-