Package org.camunda.bpm.engine.impl
Class TenantQueryImpl
java.lang.Object
org.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<TenantQuery,Tenant>
org.camunda.bpm.engine.impl.TenantQueryImpl
- All Implemented Interfaces:
Serializable
,TenantQuery
,Command<Object>
,Query<TenantQuery,
Tenant>
- Direct Known Subclasses:
DbTenantQueryImpl
,LdapTenantQuery
public abstract class TenantQueryImpl
extends AbstractQuery<TenantQuery,Tenant>
implements TenantQuery
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected String[]
protected boolean
protected String
protected String
protected String
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
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
String[]
getIds()
getName()
groupMember
(String groupId) Only selectTenant
s where the given group is member of.includingGroupsOfUser
(boolean includingGroups) Selects theTenant
s which belongs to one of the user's groups.boolean
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by tenant name (needs to be followed byQuery.asc()
orQuery.desc()
).Only selectTenant
s with the given id.tenantIdIn
(String... ids) Only selectTenant
s with the given idstenantName
(String name) Only selectTenant
s with the given name.tenantNameLike
(String nameLike) Only selectTenant
s where the name matches the given parameter.userMember
(String userId) Only selectTenant
s where the given user is member of.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 Details
-
id
-
ids
-
name
-
nameLike
-
userId
-
groupId
-
includingGroups
protected boolean includingGroups
-
-
Constructor Details
-
TenantQueryImpl
public TenantQueryImpl() -
TenantQueryImpl
-
-
Method Details
-
tenantId
Description copied from interface:TenantQuery
Only selectTenant
s with the given id.- Specified by:
tenantId
in interfaceTenantQuery
-
tenantIdIn
Description copied from interface:TenantQuery
Only selectTenant
s with the given ids- Specified by:
tenantIdIn
in interfaceTenantQuery
-
tenantName
Description copied from interface:TenantQuery
Only selectTenant
s with the given name.- Specified by:
tenantName
in interfaceTenantQuery
-
tenantNameLike
Description copied from interface:TenantQuery
Only selectTenant
s where the name matches the given parameter. The syntax to use is that of SQL, eg. %tenant%.- Specified by:
tenantNameLike
in interfaceTenantQuery
-
userMember
Description copied from interface:TenantQuery
Only selectTenant
s where the given user is member of.- Specified by:
userMember
in interfaceTenantQuery
-
groupMember
Description copied from interface:TenantQuery
Only selectTenant
s where the given group is member of.- Specified by:
groupMember
in interfaceTenantQuery
-
includingGroupsOfUser
Description copied from interface:TenantQuery
Selects theTenant
s which belongs to one of the user's groups. Can only be used in combination withTenantQuery.userMember(String)
- Specified by:
includingGroupsOfUser
in interfaceTenantQuery
-
orderByTenantId
Description copied from interface:TenantQuery
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTenantId
in interfaceTenantQuery
-
orderByTenantName
Description copied from interface:TenantQuery
Order by tenant name (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTenantName
in interfaceTenantQuery
-
getId
-
getName
-
getNameLike
-
getIds
-
getUserId
-
getGroupId
-
isIncludingGroups
public boolean isIncludingGroups()
-