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 String
ASC
protected OperationContext
context
static String
CURRENT_REPO_PATTERN
static String
CURRENT_USERID_PATTERN
protected Integer
currentPageIndex
static String
DESC
static String
ID
protected String
lang
protected Integer
maxResults
Deprecated.since 6.0, not used in operation.protected Properties
namedQueryParams
protected Integer
page
Deprecated.since 6.0 use currentPageIndex instead.protected Integer
pageSize
protected PageProviderService
ppService
protected String
providerName
protected String
query
protected CoreSession
session
protected String
sortBy
protected StringList
sortInfoAsStringList
Deprecated.since 6.0 use insteadand @link #sortOrder
.protected String
sortOrder
protected StringList
strParameters
-
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
-
-