public class EventSubscriptionQueryImpl extends AbstractQuery<EventSubscriptionQuery,EventSubscription> implements Serializable, EventSubscriptionQuery
Modifier and Type | Field and Description |
---|---|
protected String |
activityId |
protected String |
eventName |
protected String |
eventSubscriptionId |
protected String |
eventType |
protected String |
executionId |
protected String |
processInstanceId |
commandExecutor, expressions, orderingProperties, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
databaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, parameter
authDefaultPerm, authGroupIds, authUserId, isAuthorizationCheckEnabled, permissionChecks
Constructor and Description |
---|
EventSubscriptionQueryImpl() |
EventSubscriptionQueryImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
EventSubscriptionQueryImpl |
activityId(String activityId)
Only select subscriptions that belong to an activity with the given id.
|
EventSubscriptionQuery |
eventName(String eventName)
Only select subscriptions for events with the given name.
|
EventSubscriptionQuery |
eventSubscriptionId(String id)
Only select subscriptions with the given id.
|
EventSubscriptionQueryImpl |
eventType(String eventType)
Only select subscriptions for events with the given type.
|
long |
executeCount(CommandContext commandContext) |
List<EventSubscription> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
EventSubscriptionQueryImpl |
executionId(String executionId)
Only select subscriptions that belong to an execution with the given id.
|
String |
getActivityId() |
String |
getEventName() |
String |
getEventSubscriptionId() |
String |
getEventType() |
String |
getExecutionId() |
String |
getProcessInstanceId() |
EventSubscriptionQuery |
orderByCreated()
Order by event subscription creation date (needs to be followed by
Query.asc() or Query.desc() ). |
EventSubscriptionQuery |
processInstanceId(String processInstanceId)
Only select subscriptions that belong to a process instance with the given id.
|
addExpression, addValidator, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteList, execute, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, getOrderingProperties, hasExcludingConditions, list, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, setOrderingProperties, singleResult, validate, validate
getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter
addAtomicPermissionCheck, getAuthDefaultPerm, getAuthGroupIds, getAuthUserId, getPermissionChecks, isAuthorizationCheckEnabled, setAtomicPermissionChecks, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthUserId, setPermissionChecks
protected String eventSubscriptionId
protected String eventName
protected String eventType
protected String executionId
protected String processInstanceId
protected String activityId
public EventSubscriptionQueryImpl()
public EventSubscriptionQueryImpl(CommandExecutor commandExecutor)
public EventSubscriptionQuery eventSubscriptionId(String id)
EventSubscriptionQuery
eventSubscriptionId
in interface EventSubscriptionQuery
public EventSubscriptionQuery eventName(String eventName)
EventSubscriptionQuery
eventName
in interface EventSubscriptionQuery
public EventSubscriptionQueryImpl executionId(String executionId)
EventSubscriptionQuery
executionId
in interface EventSubscriptionQuery
public EventSubscriptionQuery processInstanceId(String processInstanceId)
EventSubscriptionQuery
processInstanceId
in interface EventSubscriptionQuery
public EventSubscriptionQueryImpl activityId(String activityId)
EventSubscriptionQuery
activityId
in interface EventSubscriptionQuery
public EventSubscriptionQueryImpl eventType(String eventType)
EventSubscriptionQuery
eventType
in interface EventSubscriptionQuery
public EventSubscriptionQuery orderByCreated()
EventSubscriptionQuery
Query.asc()
or Query.desc()
).orderByCreated
in interface EventSubscriptionQuery
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<EventSubscriptionQuery,EventSubscription>
public List<EventSubscription> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractQuery<EventSubscriptionQuery,EventSubscription>
page
- used if the results must be paged. If null, no paging will be applied.public String getEventSubscriptionId()
public String getEventName()
public String getEventType()
public String getExecutionId()
public String getProcessInstanceId()
public String getActivityId()
Copyright © 2018. All rights reserved.