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 SummaryNested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQueryAbstractQuery.ResultType
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected String[]protected booleanprotected Stringprotected Stringprotected StringFields inherited from class org.camunda.bpm.engine.impl.AbstractQuerycommandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsFields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObjectauthCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetId()String[]getIds()getName()groupMember(String groupId) Only selectTenants where the given group is member of.includingGroupsOfUser(boolean includingGroups) Selects theTenants which belongs to one of the user's groups.booleanOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()).Order by tenant name (needs to be followed byQuery.asc()orQuery.desc()).Only selectTenants with the given id.tenantIdIn(String... ids) Only selectTenants with the given idstenantName(String name) Only selectTenants with the given name.tenantNameLike(String nameLike) Only selectTenants where the name matches the given parameter.userMember(String userId) Only selectTenants where the given user is member of.Methods inherited from class org.camunda.bpm.engine.impl.AbstractQueryaddExpression, 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, validateMethods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObjectgetAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheckMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.camunda.bpm.engine.impl.interceptor.CommandisRetryableMethods inherited from interface org.camunda.bpm.engine.query.Queryasc, count, desc, list, listPage, singleResult, unlimitedList
- 
Field Details- 
id
- 
ids
- 
name
- 
nameLike
- 
userId
- 
groupId
- 
includingGroupsprotected boolean includingGroups
 
- 
- 
Constructor Details- 
TenantQueryImplpublic TenantQueryImpl()
- 
TenantQueryImpl
 
- 
- 
Method Details- 
tenantIdDescription copied from interface:TenantQueryOnly selectTenants with the given id.- Specified by:
- tenantIdin interface- TenantQuery
 
- 
tenantIdInDescription copied from interface:TenantQueryOnly selectTenants with the given ids- Specified by:
- tenantIdInin interface- TenantQuery
 
- 
tenantNameDescription copied from interface:TenantQueryOnly selectTenants with the given name.- Specified by:
- tenantNamein interface- TenantQuery
 
- 
tenantNameLikeDescription copied from interface:TenantQueryOnly selectTenants where the name matches the given parameter. The syntax to use is that of SQL, eg. %tenant%.- Specified by:
- tenantNameLikein interface- TenantQuery
 
- 
userMemberDescription copied from interface:TenantQueryOnly selectTenants where the given user is member of.- Specified by:
- userMemberin interface- TenantQuery
 
- 
groupMemberDescription copied from interface:TenantQueryOnly selectTenants where the given group is member of.- Specified by:
- groupMemberin interface- TenantQuery
 
- 
includingGroupsOfUserDescription copied from interface:TenantQuerySelects theTenants which belongs to one of the user's groups. Can only be used in combination withTenantQuery.userMember(String)- Specified by:
- includingGroupsOfUserin interface- TenantQuery
 
- 
orderByTenantIdDescription copied from interface:TenantQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByTenantIdin interface- TenantQuery
 
- 
orderByTenantNameDescription copied from interface:TenantQueryOrder by tenant name (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
- orderByTenantNamein interface- TenantQuery
 
- 
getId
- 
getName
- 
getNameLike
- 
getIds
- 
getUserId
- 
getGroupId
- 
isIncludingGroupspublic boolean isIncludingGroups()
 
-