|
||||||||||
| 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, 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 | |
|---|---|
TenantQueryImpl()
|
|
TenantQueryImpl(CommandExecutor commandExecutor)
|
|
| Method Summary | |
|---|---|
String |
getGroupId()
|
String |
getId()
|
String[] |
getIds()
|
String |
getName()
|
String |
getNameLike()
|
String |
getUserId()
|
TenantQuery |
groupMember(String groupId)
Only select Tenants where the given group is member of. |
TenantQuery |
includingGroupsOfUser(boolean includingGroups)
Selects the Tenants 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 Tenants with the given id. |
TenantQuery |
tenantIdIn(String... ids)
Only select Tenants with the given ids |
TenantQuery |
tenantName(String name)
Only select Tenants with the given name. |
TenantQuery |
tenantNameLike(String nameLike)
Only select Tenants where the name matches the given parameter. |
TenantQuery |
userMember(String userId)
Only select Tenants 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, 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 userId
protected String groupId
protected boolean includingGroups
| Constructor Detail |
|---|
public TenantQueryImpl()
public TenantQueryImpl(CommandExecutor commandExecutor)
| Method Detail |
|---|
public TenantQuery tenantId(String id)
TenantQueryTenants with the given id.
tenantId in interface TenantQuerypublic TenantQuery tenantIdIn(String... ids)
TenantQueryTenants with the given ids
tenantIdIn in interface TenantQuerypublic TenantQuery tenantName(String name)
TenantQueryTenants with the given name.
tenantName in interface TenantQuerypublic TenantQuery tenantNameLike(String nameLike)
TenantQueryTenants where the name matches the given parameter.
The syntax to use is that of SQL, eg. %tenant%.
tenantNameLike in interface TenantQuerypublic TenantQuery userMember(String userId)
TenantQueryTenants where the given user is member of.
userMember in interface TenantQuerypublic TenantQuery groupMember(String groupId)
TenantQueryTenants where the given group is member of.
groupMember in interface TenantQuerypublic TenantQuery includingGroupsOfUser(boolean includingGroups)
TenantQueryTenants which belongs to one of the user's groups.
Can only be used in combination with TenantQuery.userMember(String)
includingGroupsOfUser in interface TenantQuerypublic TenantQuery orderByTenantId()
TenantQueryQuery.asc() or Query.desc()).
orderByTenantId in interface TenantQuerypublic TenantQuery orderByTenantName()
TenantQueryQuery.asc() or Query.desc()).
orderByTenantName in interface TenantQuerypublic 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 | |||||||||