public abstract class GroupQueryImpl extends AbstractQuery<GroupQuery,Group> implements GroupQuery
AbstractQuery.ResultType| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected String[] |
ids |
protected String |
name |
protected String |
nameLike |
protected String |
procDefId |
protected String |
tenantId |
protected String |
type |
protected String |
userId |
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsauthCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck| Constructor and Description |
|---|
GroupQueryImpl() |
GroupQueryImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
String[] |
getIds() |
String |
getName() |
String |
getNameLike() |
String |
getTenantId() |
String |
getType() |
String |
getUserId() |
GroupQuery |
groupId(String id)
Only select
Groups with the given id. |
GroupQuery |
groupIdIn(String... ids)
Only select
Groups with the given ids |
GroupQuery |
groupMember(String userId)
Only selects
Groups where the given user is a member of. |
GroupQuery |
groupName(String name)
Only select
Groups with the given name. |
GroupQuery |
groupNameLike(String nameLike)
Only select
Groups where the name matches the given parameter. |
GroupQuery |
groupType(String type)
Only select
Groups which have the given type. |
GroupQuery |
memberOfTenant(String tenantId)
Only select
Groups that belongs to the given tenant. |
GroupQuery |
orderByGroupId()
Order by group id (needs to be followed by
Query.asc() or Query.desc()). |
GroupQuery |
orderByGroupName()
Order by group name (needs to be followed by
Query.asc() or Query.desc()). |
GroupQuery |
orderByGroupType()
Order by group type (needs to be followed by
Query.asc() or Query.desc()). |
GroupQuery |
potentialStarter(String procDefId)
Only select
GroupS that are potential starter for the given process definition. |
addExpression, addValidator, asc, checkMaxResultsLimit, checkQueryOk, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteDeploymentIdMappingsList, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeCount, executeDeploymentIdMappingsList, executeIdsList, executeList, executeResult, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listDeploymentIdMappings, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unlimitedList, validate, validategetAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheckclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasc, count, desc, list, listPage, singleResult, unlimitedListprotected String id
protected String[] ids
protected String name
protected String nameLike
protected String type
protected String userId
protected String procDefId
protected String tenantId
public GroupQueryImpl()
public GroupQueryImpl(CommandExecutor commandExecutor)
public GroupQuery groupId(String id)
GroupQueryGroups with the given id.groupId in interface GroupQuerypublic GroupQuery groupIdIn(String... ids)
GroupQueryGroups with the given idsgroupIdIn in interface GroupQuerypublic GroupQuery groupName(String name)
GroupQueryGroups with the given name.groupName in interface GroupQuerypublic GroupQuery groupNameLike(String nameLike)
GroupQueryGroups where the name matches the given parameter.
The syntax to use is that of SQL, eg. %activiti%.groupNameLike in interface GroupQuerypublic GroupQuery groupType(String type)
GroupQueryGroups which have the given type.groupType in interface GroupQuerypublic GroupQuery groupMember(String userId)
GroupQueryGroups where the given user is a member of.groupMember in interface GroupQuerypublic GroupQuery potentialStarter(String procDefId)
GroupQueryGroupS that are potential starter for the given process definition.potentialStarter in interface GroupQuerypublic GroupQuery memberOfTenant(String tenantId)
GroupQueryGroups that belongs to the given tenant.memberOfTenant in interface GroupQuerypublic GroupQuery orderByGroupId()
GroupQueryQuery.asc() or Query.desc()).orderByGroupId in interface GroupQuerypublic GroupQuery orderByGroupName()
GroupQueryQuery.asc() or Query.desc()).orderByGroupName in interface GroupQuerypublic GroupQuery orderByGroupType()
GroupQueryQuery.asc() or Query.desc()).orderByGroupType in interface GroupQuerypublic String getId()
public String getName()
public String getNameLike()
public String getType()
public String getUserId()
public String getTenantId()
public String[] getIds()
Copyright © 2021. All rights reserved.