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 |
commandContext, commandExecutor, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESCdatabaseType, firstResult, maxResults, parameterauthDefaultPerm, authGroupIds, authPerms, authResourceId, authResourceIdQueryParam, authResourceType, authUserId, isAuthorizationCheckEnabled| Constructor and Description |
|---|
EventSubscriptionQueryImpl(CommandContext commandContext) |
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.
|
addOrder, asc, assertParamNotNull, assertParamNotNull, checkQueryOk, count, desc, direction, execute, executeSingleResult, getOrderBy, list, listPage, orderBy, setCommandExecutor, singleResultgetDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParametergetAuthDefaultPerm, getAuthGroupIds, getAuthPerms, getAuthResourceId, getAuthResourceIdQueryParam, getAuthResourceType, getAuthUserId, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthPerms, setAuthResourceId, setAuthResourceIdQueryParam, setAuthResourceType, setAuthUserIdprotected String eventSubscriptionId
protected String eventName
protected String eventType
protected String executionId
protected String processInstanceId
protected String activityId
public EventSubscriptionQueryImpl(CommandContext commandContext)
public EventSubscriptionQueryImpl(CommandExecutor commandExecutor)
public EventSubscriptionQuery eventSubscriptionId(String id)
EventSubscriptionQueryeventSubscriptionId in interface EventSubscriptionQuerypublic EventSubscriptionQuery eventName(String eventName)
EventSubscriptionQueryeventName in interface EventSubscriptionQuerypublic EventSubscriptionQueryImpl executionId(String executionId)
EventSubscriptionQueryexecutionId in interface EventSubscriptionQuerypublic EventSubscriptionQuery processInstanceId(String processInstanceId)
EventSubscriptionQueryprocessInstanceId in interface EventSubscriptionQuerypublic EventSubscriptionQueryImpl activityId(String activityId)
EventSubscriptionQueryactivityId in interface EventSubscriptionQuerypublic EventSubscriptionQueryImpl eventType(String eventType)
EventSubscriptionQueryeventType in interface EventSubscriptionQuerypublic EventSubscriptionQuery orderByCreated()
EventSubscriptionQueryQuery.asc() or Query.desc()).orderByCreated in interface EventSubscriptionQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<EventSubscriptionQuery,EventSubscription>public List<EventSubscription> executeList(CommandContext commandContext, Page page)
AbstractQueryexecuteList 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 © 2015. All rights reserved.