public class LogEntryQuery extends Query
| Modifier and Type | Class and Description |
|---|---|
static class |
LogEntryQuery.Attribute
Log entry attribute supporting filter operations.
|
| Modifier and Type | Field and Description |
|---|---|
static LogEntryQuery.Attribute |
ACTIVITY_INSTANCE_OID |
static LogEntryQuery.Attribute |
CODE |
static LogEntryQuery.Attribute |
OID |
static LogEntryQuery.Attribute |
PROCESS_INSTANCE_OID |
static LogEntryQuery.Attribute |
STAMP |
static LogEntryQuery.Attribute |
SUBJECT |
static LogEntryQuery.Attribute |
TYPE |
| Constructor and Description |
|---|
LogEntryQuery() |
| Modifier and Type | Method and Description |
|---|---|
static LogEntryQuery |
findAll(boolean descending)
Creates a query for finding all log entries, ordering the result either by
descending or ascending timestamps.
|
static LogEntryQuery |
findAll(int startIndex,
int maxSize)
Creates a query for finding a subset of all log entries.
|
static LogEntryQuery |
findForActivity(String activityID) |
static LogEntryQuery |
findForActivityInstance(long activityInstanceOID)
Creates a query for finding log entries belonging to the activity instance
identified by the given OID.
|
static LogEntryQuery |
findForActivityInstance(long activityInstanceOID,
boolean descending)
Creates a query for finding log entries belonging to the activity instance
identified by the given OID, ordering the result either by descending or ascending
timestamps.
|
static LogEntryQuery |
findForProcessDefinition(String processDefinitionID) |
static LogEntryQuery |
findForProcessInstance(long processInstanceOID)
Creates a query for finding log entries belonging to the process instance identified
by the given OID.
|
static LogEntryQuery |
findForProcessInstance(long processInstanceOID,
boolean descending)
Creates a query for finding log entries belonging to the process instance identified
by the given OID, ordering the result either by descending or ascending timestamps.
|
public static final LogEntryQuery.Attribute OID
public static final LogEntryQuery.Attribute TYPE
public static final LogEntryQuery.Attribute CODE
public static final LogEntryQuery.Attribute SUBJECT
public static final LogEntryQuery.Attribute STAMP
public static final LogEntryQuery.Attribute PROCESS_INSTANCE_OID
public static final LogEntryQuery.Attribute ACTIVITY_INSTANCE_OID
public static LogEntryQuery findAll(boolean descending)
descending - Flag indicating if found log entries will be ordered by descending
or ascending timestamps.findForProcessInstance(long),
Query.orderBy(FilterableAttribute, boolean),
STAMPpublic static LogEntryQuery findAll(int startIndex, int maxSize)
startIndex - The number of log entries to be skipped.maxSize - The maximum number of log entries to be retrieved.Query.setPolicy(org.eclipse.stardust.engine.api.query.EvaluationPolicy),
SubsetPolicypublic static LogEntryQuery findForProcessDefinition(String processDefinitionID)
public static LogEntryQuery findForProcessInstance(long processInstanceOID)
processInstanceOID - The OID of the process instance to find log entries for.findForProcessInstance(long, boolean)public static LogEntryQuery findForProcessInstance(long processInstanceOID, boolean descending)
processInstanceOID - The OID of the process instance to find log entries for.descending - Flag indicating if found log entries will be ordered by descending
or ascending timestamps.findForProcessInstance(long)public static LogEntryQuery findForActivity(String activityID)
public static LogEntryQuery findForActivityInstance(long activityInstanceOID)
activityInstanceOID - The OID of the activity instance to find log entries for.findForActivityInstance(long, boolean)public static LogEntryQuery findForActivityInstance(long activityInstanceOID, boolean descending)
activityInstanceOID - The OID of the activity instance to find log entries for.descending - Flag indicating if found log entries will be ordered by descending
or ascending timestamps.findForActivityInstance(long)Copyright © 2016 Eclipse Stardust. All Rights Reserved.