Class AuditPageProviderOperation
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.operations.services.AuditPageProviderOperation
-
public class AuditPageProviderOperation extends Object
Operation to execute a query or a named provider against Audit with support for Pagination- Since:
- 5.8
- Author:
- Tiry ([email protected])
-
-
Field Summary
Fields Modifier and Type Field Description static StringASCprotected OperationContextcontextstatic StringCURRENT_REPO_PATTERNstatic StringCURRENT_USERID_PATTERNprotected IntegercurrentPageIndexstatic StringDESCstatic StringIDprotected Stringlangprotected IntegermaxResultsDeprecated.since 6.0, not used in operation.protected PropertiesnamedQueryParamsprotected IntegerpageDeprecated.since 6.0 use currentPageIndex instead.protected IntegerpageSizeprotected PageProviderServiceppServiceprotected StringproviderNameprotected Stringqueryprotected CoreSessionsessionprotected StringsortByprotected StringListsortInfoAsStringListDeprecated.since 6.0 use insteadand @link #sortOrder.protected StringsortOrderprotected StringListstrParameters
-
Constructor Summary
Constructors Constructor Description AuditPageProviderOperation()
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
CURRENT_USERID_PATTERN
public static final String CURRENT_USERID_PATTERN
- See Also:
- Constant Field Values
-
CURRENT_REPO_PATTERN
public static final String CURRENT_REPO_PATTERN
- 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
-
context
protected OperationContext context
-
session
protected CoreSession session
-
ppService
protected PageProviderService ppService
-
providerName
protected String providerName
-
query
protected String query
-
lang
protected String lang
-
page
@Deprecated protected Integer page
Deprecated.since 6.0 use currentPageIndex instead.
-
currentPageIndex
protected Integer currentPageIndex
-
pageSize
protected Integer pageSize
-
sortInfoAsStringList
@Deprecated protected StringList sortInfoAsStringList
Deprecated.since 6.0 use insteadand @link #sortOrder.
-
strParameters
protected StringList strParameters
-
namedQueryParams
protected Properties namedQueryParams
-
maxResults
@Deprecated protected Integer maxResults
Deprecated.since 6.0, not used in operation.
-
sortBy
protected String sortBy
- Since:
- 6.0
-
sortOrder
protected String sortOrder
- Since:
- 6.0
-
-
Method Detail
-
run
public Paginable<LogEntry> run() throws IOException
- Throws:
IOException
-
-