|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<GroupQuery,Group>
org.camunda.bpm.engine.impl.GroupQueryImpl
public abstract class GroupQueryImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
---|
AbstractQuery.ResultType |
Field Summary | |
---|---|
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, orderingProperties, resultType, SORTORDER_ASC, SORTORDER_DESC, validators |
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject |
---|
authCheck, databaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, parameter, tenantCheck |
Constructor Summary | |
---|---|
GroupQueryImpl()
|
|
GroupQueryImpl(CommandExecutor commandExecutor)
|
Method Summary | |
---|---|
String |
getId()
|
String |
getName()
|
String |
getNameLike()
|
String |
getTenantId()
|
String |
getType()
|
String |
getUserId()
|
GroupQuery |
groupId(String id)
Only select Group s with the given id. |
GroupQuery |
groupIdIn(String... ids)
Only select Group s with the given ids |
GroupQuery |
groupMember(String userId)
Only selects Group s where the given user is a member of. |
GroupQuery |
groupName(String name)
Only select Group s with the given name. |
GroupQuery |
groupNameLike(String nameLike)
Only select Group s where the name matches the given parameter. |
GroupQuery |
groupType(String type)
Only select Group s which have the given type. |
GroupQuery |
memberOfTenant(String tenantId)
Only select Group s 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 Group S that are potential starter for the given process definition. |
Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
---|
addExpression, addValidator, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteList, execute, executeCount, executeList, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, getOrderingProperties, hasExcludingConditions, list, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, setOrderingProperties, singleResult, validate, validate |
Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject |
---|
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, 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.query.Query |
---|
asc, count, desc, list, listPage, singleResult |
Field Detail |
---|
protected String id
protected String[] ids
protected String name
protected String nameLike
protected String type
protected String userId
protected String procDefId
protected String tenantId
Constructor Detail |
---|
public GroupQueryImpl()
public GroupQueryImpl(CommandExecutor commandExecutor)
Method Detail |
---|
public GroupQuery groupId(String id)
GroupQuery
Group
s with the given id.
groupId
in interface GroupQuery
public GroupQuery groupIdIn(String... ids)
GroupQuery
Group
s with the given ids
groupIdIn
in interface GroupQuery
public GroupQuery groupName(String name)
GroupQuery
Group
s with the given name.
groupName
in interface GroupQuery
public GroupQuery groupNameLike(String nameLike)
GroupQuery
Group
s where the name matches the given parameter.
The syntax to use is that of SQL, eg. %activiti%.
groupNameLike
in interface GroupQuery
public GroupQuery groupType(String type)
GroupQuery
Group
s which have the given type.
groupType
in interface GroupQuery
public GroupQuery groupMember(String userId)
GroupQuery
Group
s where the given user is a member of.
groupMember
in interface GroupQuery
public GroupQuery potentialStarter(String procDefId)
GroupQuery
Group
S that are potential starter for the given process definition.
potentialStarter
in interface GroupQuery
public GroupQuery memberOfTenant(String tenantId)
GroupQuery
Group
s that belongs to the given tenant.
memberOfTenant
in interface GroupQuery
public GroupQuery orderByGroupId()
GroupQuery
Query.asc()
or Query.desc()
).
orderByGroupId
in interface GroupQuery
public GroupQuery orderByGroupName()
GroupQuery
Query.asc()
or Query.desc()
).
orderByGroupName
in interface GroupQuery
public GroupQuery orderByGroupType()
GroupQuery
Query.asc()
or Query.desc()
).
orderByGroupType
in interface GroupQuery
public String getId()
public String getName()
public String getNameLike()
public String getType()
public String getUserId()
public String getTenantId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |