public class ActionInstanceQueryImpl extends AbstractQuery<ActionInstanceQuery,ActionInstance> implements ActionInstanceQuery, CacheAwareQuery<ActionInstanceEntity>, Serializable
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultTypeQuery.NullHandlingOnOrder| Modifier and Type | Field and Description |
|---|---|
protected String |
actionDefinitionId |
protected String |
actionDefinitionIdLike |
protected String |
channel |
protected List<String> |
channels |
protected String |
formInstanceId |
protected String |
formKey |
protected String |
id |
protected Set<String> |
ids |
protected Integer |
maxPriority |
protected Integer |
minPriority |
protected String |
name |
protected String |
nameLike |
protected List<String> |
participantGroups |
protected List<String> |
participantUsers |
protected Integer |
priority |
protected boolean |
queryOnActionLinks |
protected boolean |
queryOnlyOnActionLinks |
protected String |
scopeDefinitionId |
protected String |
scopeId |
protected String |
scopeType |
protected Date |
startDate |
protected Date |
startDateAfter |
protected Date |
startDateBefore |
protected String |
subScopeId |
protected String |
tenantId |
protected String |
tenantIdLike |
protected boolean |
withoutTenantId |
commandContext, commandExecutordatabaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC| Constructor and Description |
|---|
ActionInstanceQueryImpl() |
ActionInstanceQueryImpl(CommandContext commandContext) |
ActionInstanceQueryImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
ActionInstanceQueryImpl |
actionDefinitionId(String actionDefinitionId)
Only select action instances with the given action definition id.
|
ActionInstanceQueryImpl |
actionDefinitionIdLike(String actionDefinitionIdLike)
Only select action instances with an action definition id like the given string.
|
long |
executeCount(CommandContext commandContext) |
List<ActionInstance> |
executeList(CommandContext commandContext) |
ActionInstanceQueryImpl |
formInstanceId(String formInstanceId)
Only select action instances with the given form instance id.
|
ActionInstanceQuery |
formKey(String formKey)
Only select action instances with the given form key.
|
String |
getActionDefinitionId() |
String |
getActionDefinitionIdLike() |
String |
getChannel() |
List<String> |
getChannels() |
String |
getFormInstanceId() |
String |
getFormKey() |
String |
getId() |
Set<String> |
getIds() |
Integer |
getMaxPriority() |
Integer |
getMinPriority() |
String |
getName() |
String |
getNameLike() |
List<String> |
getParticipantGroups() |
List<String> |
getParticipantUsers() |
Integer |
getPriority() |
String |
getScopeDefinitionId() |
String |
getScopeId() |
String |
getScopeType() |
Date |
getStartDate() |
Date |
getStartDateAfter() |
Date |
getStartDateBefore() |
String |
getSubScopeId() |
String |
getTenantId() |
String |
getTenantIdLike() |
ActionInstanceQueryImpl |
id(String id)
Only select action instances with the given id.
|
ActionInstanceQueryImpl |
ids(Set<String> ids)
Only select action instances with the given ids.
|
boolean |
isQueryOnActionLinks() |
boolean |
isWithoutTenantId() |
ActionInstanceQuery |
maxPriority(Integer maxPriority)
Only select action instances with the given priority or lower.
|
ActionInstanceQuery |
minPriority(Integer minPriority)
Only select action instances with the given priority or higher.
|
ActionInstanceQuery |
name(String name)
Only select action instances with the given name.
|
ActionInstanceQuery |
nameLike(String nameLike)
Only select action instances with an name like the given string.
|
ActionInstanceQuery |
orderByPriority()
Order by priority (needs to be followed by
Query.asc() or Query.desc()). |
ActionInstanceQuery |
orderByStartDate()
Order by start date (needs to be followed by
Query.asc() or Query.desc()). |
ActionInstanceQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc()). |
ActionInstanceQuery |
participantGroup(String groupId)
Only select action instances with an identity link for the provided group.
|
ActionInstanceQuery |
participantGroups(List<String> groupIds)
Only select action instances with an identity link for the provided groups.
|
ActionInstanceQuery |
participantUser(String userId)
Only select action instances with an identity link for the provided user.
|
ActionInstanceQuery |
participantUsers(List<String> userIds)
Only select action instances with an identity link for the provided users.
|
ActionInstanceQuery |
priority(Integer priority)
Only select action instances with the given priority.
|
ActionInstanceQuery |
queryOnActionLinks()
Only select action instances with a given scope id and scope type or an action link with the given scope id and scope type
This query option can only be used when a scope id is already set.
|
ActionInstanceQuery |
queryOnlyOnActionLinks()
Similar to
ActionInstanceQuery.queryOnActionLinks(), but only returns those instances which
have an ActionLink instance. |
ActionInstanceQueryImpl |
scopeDefinitionId(String scopeDefinitionId)
Only select action instances with the given scope definition id.
|
ActionInstanceQueryImpl |
scopeId(String scopeId)
Only select action instances with the given scope id.
|
ActionInstanceQueryImpl |
scopeType(String scopeType)
Only select action instances with the given scope type.
|
ActionInstanceQueryImpl |
startDate(Date startDate)
Only select action instances started on the given time
|
ActionInstanceQueryImpl |
startDateAfter(Date startDateAfter)
Only select action instances started after the given time
|
ActionInstanceQueryImpl |
startDateBefore(Date startDateBefore)
Only select action instances started before the given time
|
ActionInstanceQuery |
subScopeId(String subScopeId)
Only select action instances with the given scope id.
|
ActionInstanceQueryImpl |
supportsChannel(String channel)
Only select action instances with an action link for the action definition id and the provided channel.
|
ActionInstanceQueryImpl |
supportsChannels(List<String> channels)
Only select action instances with action definition links for the action definition id and the provided channels.
|
ActionInstanceQueryImpl |
tenantId(String tenantId)
Only select action instances that have the given tenant id.
|
ActionInstanceQueryImpl |
tenantIdLike(String tenantIdLike)
Only select action instances with a tenant id like the given one.
|
ActionInstanceQueryImpl |
withoutTenantId()
Only select action instances that do not have a tenant id.
|
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultaddOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasc, count, desc, list, listPage, orderBy, orderBy, singleResultenhanceCachedValueprotected String id
protected String actionDefinitionId
protected String actionDefinitionIdLike
protected String name
protected String nameLike
protected String scopeId
protected String subScopeId
protected String scopeType
protected String scopeDefinitionId
protected Date startDate
protected Date startDateBefore
protected Date startDateAfter
protected String formInstanceId
protected String formKey
protected Integer priority
protected Integer maxPriority
protected Integer minPriority
protected String channel
protected boolean queryOnActionLinks
protected boolean queryOnlyOnActionLinks
protected String tenantId
protected String tenantIdLike
protected boolean withoutTenantId
public ActionInstanceQueryImpl()
public ActionInstanceQueryImpl(CommandContext commandContext)
public ActionInstanceQueryImpl(CommandExecutor commandExecutor)
public ActionInstanceQueryImpl id(String id)
ActionInstanceQueryid in interface ActionInstanceQuerypublic ActionInstanceQueryImpl ids(Set<String> ids)
ActionInstanceQueryids in interface ActionInstanceQuerypublic ActionInstanceQueryImpl actionDefinitionId(String actionDefinitionId)
ActionInstanceQueryactionDefinitionId in interface ActionInstanceQuerypublic ActionInstanceQueryImpl actionDefinitionIdLike(String actionDefinitionIdLike)
ActionInstanceQueryactionDefinitionIdLike in interface ActionInstanceQuerypublic ActionInstanceQuery name(String name)
ActionInstanceQueryname in interface ActionInstanceQuerypublic ActionInstanceQuery nameLike(String nameLike)
ActionInstanceQuerynameLike in interface ActionInstanceQuerypublic ActionInstanceQueryImpl scopeId(String scopeId)
ActionInstanceQueryscopeId in interface ActionInstanceQuerypublic ActionInstanceQuery subScopeId(String subScopeId)
ActionInstanceQuerysubScopeId in interface ActionInstanceQuerypublic ActionInstanceQueryImpl scopeType(String scopeType)
ActionInstanceQueryscopeType in interface ActionInstanceQuerypublic ActionInstanceQueryImpl scopeDefinitionId(String scopeDefinitionId)
ActionInstanceQueryscopeDefinitionId in interface ActionInstanceQuerypublic ActionInstanceQueryImpl startDate(Date startDate)
ActionInstanceQuerystartDate in interface ActionInstanceQuerypublic ActionInstanceQueryImpl startDateBefore(Date startDateBefore)
ActionInstanceQuerystartDateBefore in interface ActionInstanceQuerypublic ActionInstanceQueryImpl startDateAfter(Date startDateAfter)
ActionInstanceQuerystartDateAfter in interface ActionInstanceQuerypublic ActionInstanceQueryImpl formInstanceId(String formInstanceId)
ActionInstanceQueryformInstanceId in interface ActionInstanceQuerypublic ActionInstanceQuery formKey(String formKey)
ActionInstanceQueryformKey in interface ActionInstanceQuerypublic ActionInstanceQuery priority(Integer priority)
ActionInstanceQuerypriority in interface ActionInstanceQuerypublic ActionInstanceQuery maxPriority(Integer maxPriority)
ActionInstanceQuerymaxPriority in interface ActionInstanceQuerypublic ActionInstanceQuery minPriority(Integer minPriority)
ActionInstanceQueryminPriority in interface ActionInstanceQuerypublic ActionInstanceQuery participantUser(String userId)
ActionInstanceQueryparticipantUser in interface ActionInstanceQuerypublic ActionInstanceQuery participantUsers(List<String> userIds)
ActionInstanceQueryparticipantUsers in interface ActionInstanceQuerypublic ActionInstanceQuery participantGroup(String groupId)
ActionInstanceQueryparticipantGroup in interface ActionInstanceQuerypublic ActionInstanceQuery participantGroups(List<String> groupIds)
ActionInstanceQueryparticipantGroups in interface ActionInstanceQuerypublic ActionInstanceQueryImpl supportsChannel(String channel)
ActionInstanceQuerysupportsChannel in interface ActionInstanceQuerypublic ActionInstanceQueryImpl supportsChannels(List<String> channels)
ActionInstanceQuerysupportsChannels in interface ActionInstanceQuerypublic ActionInstanceQuery queryOnActionLinks()
ActionInstanceQueryqueryOnActionLinks in interface ActionInstanceQuerypublic ActionInstanceQuery queryOnlyOnActionLinks()
ActionInstanceQueryActionInstanceQuery.queryOnActionLinks(), but only returns those instances which
have an ActionLink instance.
This query option can only be used when a scope id is already set.queryOnlyOnActionLinks in interface ActionInstanceQuerypublic ActionInstanceQueryImpl tenantId(String tenantId)
ActionInstanceQuerytenantId in interface ActionInstanceQuerypublic ActionInstanceQueryImpl tenantIdLike(String tenantIdLike)
ActionInstanceQuerytenantIdLike in interface ActionInstanceQuerypublic ActionInstanceQueryImpl withoutTenantId()
ActionInstanceQuerywithoutTenantId in interface ActionInstanceQuerypublic ActionInstanceQuery orderByStartDate()
ActionInstanceQueryQuery.asc() or Query.desc()).orderByStartDate in interface ActionInstanceQuerypublic ActionInstanceQuery orderByPriority()
ActionInstanceQueryQuery.asc() or Query.desc()).orderByPriority in interface ActionInstanceQuerypublic ActionInstanceQuery orderByTenantId()
ActionInstanceQueryQuery.asc() or Query.desc()).orderByTenantId in interface ActionInstanceQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<ActionInstanceQuery,ActionInstance>public List<ActionInstance> executeList(CommandContext commandContext)
executeList in class AbstractQuery<ActionInstanceQuery,ActionInstance>public String getId()
getId in interface CacheAwareQuery<ActionInstanceEntity>public String getActionDefinitionId()
public String getActionDefinitionIdLike()
public String getName()
public String getNameLike()
public String getScopeId()
public String getSubScopeId()
public String getScopeType()
public String getScopeDefinitionId()
public Date getStartDate()
public Date getStartDateBefore()
public Date getStartDateAfter()
public String getFormInstanceId()
public String getFormKey()
public Integer getPriority()
public Integer getMaxPriority()
public Integer getMinPriority()
public String getChannel()
public boolean isQueryOnActionLinks()
public String getTenantId()
public String getTenantIdLike()
public boolean isWithoutTenantId()