public class ActionInstanceQueryImpl extends AbstractQuery<ActionInstanceQuery,ActionInstance> implements ActionInstanceQuery, CacheAwareQuery<ActionInstanceEntity>, Serializable
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultType
Query.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, commandExecutor
databaseType, 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, singleResult
addOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asc, count, desc, list, listPage, orderBy, orderBy, singleResult
enhanceCachedValue
protected 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)
ActionInstanceQuery
id
in interface ActionInstanceQuery
public ActionInstanceQueryImpl ids(Set<String> ids)
ActionInstanceQuery
ids
in interface ActionInstanceQuery
public ActionInstanceQueryImpl actionDefinitionId(String actionDefinitionId)
ActionInstanceQuery
actionDefinitionId
in interface ActionInstanceQuery
public ActionInstanceQueryImpl actionDefinitionIdLike(String actionDefinitionIdLike)
ActionInstanceQuery
actionDefinitionIdLike
in interface ActionInstanceQuery
public ActionInstanceQuery name(String name)
ActionInstanceQuery
name
in interface ActionInstanceQuery
public ActionInstanceQuery nameLike(String nameLike)
ActionInstanceQuery
nameLike
in interface ActionInstanceQuery
public ActionInstanceQueryImpl scopeId(String scopeId)
ActionInstanceQuery
scopeId
in interface ActionInstanceQuery
public ActionInstanceQuery subScopeId(String subScopeId)
ActionInstanceQuery
subScopeId
in interface ActionInstanceQuery
public ActionInstanceQueryImpl scopeType(String scopeType)
ActionInstanceQuery
scopeType
in interface ActionInstanceQuery
public ActionInstanceQueryImpl scopeDefinitionId(String scopeDefinitionId)
ActionInstanceQuery
scopeDefinitionId
in interface ActionInstanceQuery
public ActionInstanceQueryImpl startDate(Date startDate)
ActionInstanceQuery
startDate
in interface ActionInstanceQuery
public ActionInstanceQueryImpl startDateBefore(Date startDateBefore)
ActionInstanceQuery
startDateBefore
in interface ActionInstanceQuery
public ActionInstanceQueryImpl startDateAfter(Date startDateAfter)
ActionInstanceQuery
startDateAfter
in interface ActionInstanceQuery
public ActionInstanceQueryImpl formInstanceId(String formInstanceId)
ActionInstanceQuery
formInstanceId
in interface ActionInstanceQuery
public ActionInstanceQuery formKey(String formKey)
ActionInstanceQuery
formKey
in interface ActionInstanceQuery
public ActionInstanceQuery priority(Integer priority)
ActionInstanceQuery
priority
in interface ActionInstanceQuery
public ActionInstanceQuery maxPriority(Integer maxPriority)
ActionInstanceQuery
maxPriority
in interface ActionInstanceQuery
public ActionInstanceQuery minPriority(Integer minPriority)
ActionInstanceQuery
minPriority
in interface ActionInstanceQuery
public ActionInstanceQuery participantUser(String userId)
ActionInstanceQuery
participantUser
in interface ActionInstanceQuery
public ActionInstanceQuery participantUsers(List<String> userIds)
ActionInstanceQuery
participantUsers
in interface ActionInstanceQuery
public ActionInstanceQuery participantGroup(String groupId)
ActionInstanceQuery
participantGroup
in interface ActionInstanceQuery
public ActionInstanceQuery participantGroups(List<String> groupIds)
ActionInstanceQuery
participantGroups
in interface ActionInstanceQuery
public ActionInstanceQueryImpl supportsChannel(String channel)
ActionInstanceQuery
supportsChannel
in interface ActionInstanceQuery
public ActionInstanceQueryImpl supportsChannels(List<String> channels)
ActionInstanceQuery
supportsChannels
in interface ActionInstanceQuery
public ActionInstanceQuery queryOnActionLinks()
ActionInstanceQuery
queryOnActionLinks
in interface ActionInstanceQuery
public ActionInstanceQuery queryOnlyOnActionLinks()
ActionInstanceQuery
ActionInstanceQuery.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 ActionInstanceQuery
public ActionInstanceQueryImpl tenantId(String tenantId)
ActionInstanceQuery
tenantId
in interface ActionInstanceQuery
public ActionInstanceQueryImpl tenantIdLike(String tenantIdLike)
ActionInstanceQuery
tenantIdLike
in interface ActionInstanceQuery
public ActionInstanceQueryImpl withoutTenantId()
ActionInstanceQuery
withoutTenantId
in interface ActionInstanceQuery
public ActionInstanceQuery orderByStartDate()
ActionInstanceQuery
Query.asc()
or Query.desc()
).orderByStartDate
in interface ActionInstanceQuery
public ActionInstanceQuery orderByPriority()
ActionInstanceQuery
Query.asc()
or Query.desc()
).orderByPriority
in interface ActionInstanceQuery
public ActionInstanceQuery orderByTenantId()
ActionInstanceQuery
Query.asc()
or Query.desc()
).orderByTenantId
in interface ActionInstanceQuery
public 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()