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:
java.io.Serializable
,GroupQuery
,Command<java.lang.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 java.lang.String
id
protected java.lang.String[]
ids
protected java.lang.String
name
protected java.lang.String
nameLike
protected java.lang.String
procDefId
protected java.lang.String
tenantId
protected java.lang.String
type
protected java.lang.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 java.lang.String
getId()
java.lang.String[]
getIds()
java.lang.String
getName()
java.lang.String
getNameLike()
java.lang.String
getTenantId()
java.lang.String
getType()
java.lang.String
getUserId()
GroupQuery
groupId(java.lang.String id)
Only selectGroup
s with the given id.GroupQuery
groupIdIn(java.lang.String... ids)
Only selectGroup
s with the given idsGroupQuery
groupMember(java.lang.String userId)
Only selectsGroup
s where the given user is a member of.GroupQuery
groupName(java.lang.String name)
Only selectGroup
s with the given name.GroupQuery
groupNameLike(java.lang.String nameLike)
Only selectGroup
s where the name matches the given parameter.GroupQuery
groupType(java.lang.String type)
Only selectGroup
s which have the given type.GroupQuery
memberOfTenant(java.lang.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(java.lang.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
-
-
-
-
Field Detail
-
id
protected java.lang.String id
-
ids
protected java.lang.String[] ids
-
name
protected java.lang.String name
-
nameLike
protected java.lang.String nameLike
-
type
protected java.lang.String type
-
userId
protected java.lang.String userId
-
procDefId
protected java.lang.String procDefId
-
tenantId
protected java.lang.String tenantId
-
-
Constructor Detail
-
GroupQueryImpl
public GroupQueryImpl()
-
GroupQueryImpl
public GroupQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
groupId
public GroupQuery groupId(java.lang.String id)
Description copied from interface:GroupQuery
Only selectGroup
s with the given id.- Specified by:
groupId
in interfaceGroupQuery
-
groupIdIn
public GroupQuery groupIdIn(java.lang.String... ids)
Description copied from interface:GroupQuery
Only selectGroup
s with the given ids- Specified by:
groupIdIn
in interfaceGroupQuery
-
groupName
public GroupQuery groupName(java.lang.String name)
Description copied from interface:GroupQuery
Only selectGroup
s with the given name.- Specified by:
groupName
in interfaceGroupQuery
-
groupNameLike
public GroupQuery groupNameLike(java.lang.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(java.lang.String type)
Description copied from interface:GroupQuery
Only selectGroup
s which have the given type.- Specified by:
groupType
in interfaceGroupQuery
-
groupMember
public GroupQuery groupMember(java.lang.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(java.lang.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(java.lang.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 java.lang.String getId()
-
getName
public java.lang.String getName()
-
getNameLike
public java.lang.String getNameLike()
-
getType
public java.lang.String getType()
-
getUserId
public java.lang.String getUserId()
-
getTenantId
public java.lang.String getTenantId()
-
getIds
public java.lang.String[] getIds()
-
-