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.Stringidprotected java.lang.String[]idsprotected java.lang.Stringnameprotected java.lang.StringnameLikeprotected java.lang.StringprocDefIdprotected java.lang.StringtenantIdprotected java.lang.Stringtypeprotected java.lang.StringuserId-
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.StringgetId()java.lang.String[]getIds()java.lang.StringgetName()java.lang.StringgetNameLike()java.lang.StringgetTenantId()java.lang.StringgetType()java.lang.StringgetUserId()GroupQuerygroupId(java.lang.String id)Only selectGroups with the given id.GroupQuerygroupIdIn(java.lang.String... ids)Only selectGroups with the given idsGroupQuerygroupMember(java.lang.String userId)Only selectsGroups where the given user is a member of.GroupQuerygroupName(java.lang.String name)Only selectGroups with the given name.GroupQuerygroupNameLike(java.lang.String nameLike)Only selectGroups where the name matches the given parameter.GroupQuerygroupType(java.lang.String type)Only selectGroups which have the given type.GroupQuerymemberOfTenant(java.lang.String tenantId)Only selectGroups that belongs to the given tenant.GroupQueryorderByGroupId()Order by group id (needs to be followed byQuery.asc()orQuery.desc()).GroupQueryorderByGroupName()Order by group name (needs to be followed byQuery.asc()orQuery.desc()).GroupQueryorderByGroupType()Order by group type (needs to be followed byQuery.asc()orQuery.desc()).GroupQuerypotentialStarter(java.lang.String procDefId)Only selectGroupS 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:GroupQueryOnly selectGroups with the given id.- Specified by:
groupIdin interfaceGroupQuery
-
groupIdIn
public GroupQuery groupIdIn(java.lang.String... ids)
Description copied from interface:GroupQueryOnly selectGroups with the given ids- Specified by:
groupIdInin interfaceGroupQuery
-
groupName
public GroupQuery groupName(java.lang.String name)
Description copied from interface:GroupQueryOnly selectGroups with the given name.- Specified by:
groupNamein interfaceGroupQuery
-
groupNameLike
public GroupQuery groupNameLike(java.lang.String nameLike)
Description copied from interface:GroupQueryOnly selectGroups where the name matches the given parameter. The syntax to use is that of SQL, eg. %activiti%.- Specified by:
groupNameLikein interfaceGroupQuery
-
groupType
public GroupQuery groupType(java.lang.String type)
Description copied from interface:GroupQueryOnly selectGroups which have the given type.- Specified by:
groupTypein interfaceGroupQuery
-
groupMember
public GroupQuery groupMember(java.lang.String userId)
Description copied from interface:GroupQueryOnly selectsGroups where the given user is a member of.- Specified by:
groupMemberin interfaceGroupQuery
-
potentialStarter
public GroupQuery potentialStarter(java.lang.String procDefId)
Description copied from interface:GroupQueryOnly selectGroupS that are potential starter for the given process definition.- Specified by:
potentialStarterin interfaceGroupQuery
-
memberOfTenant
public GroupQuery memberOfTenant(java.lang.String tenantId)
Description copied from interface:GroupQueryOnly selectGroups that belongs to the given tenant.- Specified by:
memberOfTenantin interfaceGroupQuery
-
orderByGroupId
public GroupQuery orderByGroupId()
Description copied from interface:GroupQueryOrder by group id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByGroupIdin interfaceGroupQuery
-
orderByGroupName
public GroupQuery orderByGroupName()
Description copied from interface:GroupQueryOrder by group name (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByGroupNamein interfaceGroupQuery
-
orderByGroupType
public GroupQuery orderByGroupType()
Description copied from interface:GroupQueryOrder by group type (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByGroupTypein 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()
-
-