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_DESC
databaseType, firstResult, maxResults, parameter
authDefaultPerm, 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, singleResult
getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter
getAuthDefaultPerm, getAuthGroupIds, getAuthPerms, getAuthResourceId, getAuthResourceIdQueryParam, getAuthResourceType, getAuthUserId, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthPerms, setAuthResourceId, setAuthResourceIdQueryParam, setAuthResourceType, setAuthUserId
protected 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)
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 © 2015. All rights reserved.