Package org.camunda.bpm.engine.impl
Class GroupQueryImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.db.ListQueryParameterObject
-
- org.camunda.bpm.engine.impl.AbstractQuery<GroupQuery,Group>
-
- org.camunda.bpm.engine.impl.GroupQueryImpl
-
- All Implemented Interfaces:
Serializable
,GroupQuery
,Command<Object>
,Query<GroupQuery,Group>
- Direct Known Subclasses:
DbGroupQueryImpl
,LdapGroupQuery
public abstract class GroupQueryImpl extends AbstractQuery<GroupQuery,Group> implements GroupQuery
- Author:
- Joram Barrez
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType
-
-
Field Summary
Fields Modifier and Type Field 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
-
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
-
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
-
-
Constructor Summary
Constructors Constructor Description GroupQueryImpl()
GroupQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
String[]
getIds()
String
getName()
String
getNameLike()
String
getTenantId()
String
getType()
String
getUserId()
GroupQuery
groupId(String id)
Only selectGroup
s with the given id.GroupQuery
groupIdIn(String... ids)
Only selectGroup
s with the given idsGroupQuery
groupMember(String userId)
Only selectsGroup
s where the given user is a member of.GroupQuery
groupName(String name)
Only selectGroup
s with the given name.GroupQuery
groupNameLike(String nameLike)
Only selectGroup
s where the name matches the given parameter.GroupQuery
groupType(String type)
Only selectGroup
s which have the given type.GroupQuery
memberOfTenant(String tenantId)
Only selectGroup
s that belongs to the given tenant.GroupQuery
orderByGroupId()
Order by group id (needs to be followed byQuery.asc()
orQuery.desc()
).GroupQuery
orderByGroupName()
Order by group name (needs to be followed byQuery.asc()
orQuery.desc()
).GroupQuery
orderByGroupType()
Order by group type (needs to be followed byQuery.asc()
orQuery.desc()
).GroupQuery
potentialStarter(String procDefId)
Only selectGroup
S that are potential starter for the given process definition.-
Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery
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, validate
-
Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
-
-
-
Constructor Detail
-
GroupQueryImpl
public GroupQueryImpl()
-
GroupQueryImpl
public GroupQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
groupId
public GroupQuery groupId(String id)
Description copied from interface:GroupQuery
Only selectGroup
s with the given id.- Specified by:
groupId
in interfaceGroupQuery
-
groupIdIn
public GroupQuery groupIdIn(String... ids)
Description copied from interface:GroupQuery
Only selectGroup
s with the given ids- Specified by:
groupIdIn
in interfaceGroupQuery
-
groupName
public GroupQuery groupName(String name)
Description copied from interface:GroupQuery
Only selectGroup
s with the given name.- Specified by:
groupName
in interfaceGroupQuery
-
groupNameLike
public GroupQuery groupNameLike(String nameLike)
Description copied from interface:GroupQuery
Only selectGroup
s where the name matches the given parameter. The syntax to use is that of SQL, eg. %activiti%.- Specified by:
groupNameLike
in interfaceGroupQuery
-
groupType
public GroupQuery groupType(String type)
Description copied from interface:GroupQuery
Only selectGroup
s which have the given type.- Specified by:
groupType
in interfaceGroupQuery
-
groupMember
public GroupQuery groupMember(String userId)
Description copied from interface:GroupQuery
Only selectsGroup
s where the given user is a member of.- Specified by:
groupMember
in interfaceGroupQuery
-
potentialStarter
public GroupQuery potentialStarter(String procDefId)
Description copied from interface:GroupQuery
Only selectGroup
S that are potential starter for the given process definition.- Specified by:
potentialStarter
in interfaceGroupQuery
-
memberOfTenant
public GroupQuery memberOfTenant(String tenantId)
Description copied from interface:GroupQuery
Only selectGroup
s that belongs to the given tenant.- Specified by:
memberOfTenant
in interfaceGroupQuery
-
orderByGroupId
public GroupQuery orderByGroupId()
Description copied from interface:GroupQuery
Order by group id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByGroupId
in interfaceGroupQuery
-
orderByGroupName
public GroupQuery orderByGroupName()
Description copied from interface:GroupQuery
Order by group name (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByGroupName
in interfaceGroupQuery
-
orderByGroupType
public GroupQuery orderByGroupType()
Description copied from interface:GroupQuery
Order by group type (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByGroupType
in interfaceGroupQuery
-
getId
public String getId()
-
getName
public String getName()
-
getNameLike
public String getNameLike()
-
getType
public String getType()
-
getUserId
public String getUserId()
-
getTenantId
public String getTenantId()
-
getIds
public String[] getIds()
-
-