|
||||||||||
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<TenantQuery,Tenant>
org.camunda.bpm.engine.impl.TenantQueryImpl
public abstract class TenantQueryImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
---|
AbstractQuery.ResultType |
Field Summary | |
---|---|
protected String |
groupId
|
protected String |
id
|
protected String[] |
ids
|
protected boolean |
includingGroups
|
protected String |
name
|
protected String |
nameLike
|
protected String |
userId
|
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
---|
commandExecutor, expressions, 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 | |
---|---|
TenantQueryImpl()
|
|
TenantQueryImpl(CommandExecutor commandExecutor)
|
Method Summary | |
---|---|
String |
getGroupId()
|
String |
getId()
|
String[] |
getIds()
|
String |
getName()
|
String |
getNameLike()
|
String |
getUserId()
|
TenantQuery |
groupMember(String groupId)
Only select Tenant s where the given group is member of. |
TenantQuery |
includingGroupsOfUser(boolean includingGroups)
Selects the Tenant s which belongs to one of the user's groups. |
boolean |
isIncludingGroups()
|
TenantQuery |
orderByTenantId()
Order by tenant id (needs to be followed by Query.asc() or Query.desc() ). |
TenantQuery |
orderByTenantName()
Order by tenant name (needs to be followed by Query.asc() or Query.desc() ). |
TenantQuery |
tenantId(String id)
Only select Tenant s with the given id. |
TenantQuery |
tenantIdIn(String... ids)
Only select Tenant s with the given ids |
TenantQuery |
tenantName(String name)
Only select Tenant s with the given name. |
TenantQuery |
tenantNameLike(String nameLike)
Only select Tenant s where the name matches the given parameter. |
TenantQuery |
userMember(String userId)
Only select Tenant s where the given user is member of. |
Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
---|
addExpression, addValidator, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeCount, executeIdsList, executeList, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, 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.query.Query |
---|
asc, count, desc, list, listPage, singleResult |
Field Detail |
---|
protected String id
protected String[] ids
protected String name
protected String nameLike
protected String userId
protected String groupId
protected boolean includingGroups
Constructor Detail |
---|
public TenantQueryImpl()
public TenantQueryImpl(CommandExecutor commandExecutor)
Method Detail |
---|
public TenantQuery tenantId(String id)
TenantQuery
Tenant
s with the given id.
tenantId
in interface TenantQuery
public TenantQuery tenantIdIn(String... ids)
TenantQuery
Tenant
s with the given ids
tenantIdIn
in interface TenantQuery
public TenantQuery tenantName(String name)
TenantQuery
Tenant
s with the given name.
tenantName
in interface TenantQuery
public TenantQuery tenantNameLike(String nameLike)
TenantQuery
Tenant
s where the name matches the given parameter.
The syntax to use is that of SQL, eg. %tenant%.
tenantNameLike
in interface TenantQuery
public TenantQuery userMember(String userId)
TenantQuery
Tenant
s where the given user is member of.
userMember
in interface TenantQuery
public TenantQuery groupMember(String groupId)
TenantQuery
Tenant
s where the given group is member of.
groupMember
in interface TenantQuery
public TenantQuery includingGroupsOfUser(boolean includingGroups)
TenantQuery
Tenant
s which belongs to one of the user's groups.
Can only be used in combination with TenantQuery.userMember(String)
includingGroupsOfUser
in interface TenantQuery
public TenantQuery orderByTenantId()
TenantQuery
Query.asc()
or Query.desc()
).
orderByTenantId
in interface TenantQuery
public TenantQuery orderByTenantName()
TenantQuery
Query.asc()
or Query.desc()
).
orderByTenantName
in interface TenantQuery
public String getId()
public String getName()
public String getNameLike()
public String[] getIds()
public String getUserId()
public String getGroupId()
public boolean isIncludingGroups()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |