Package org.camunda.bpm.engine.identity
Interface TenantQuery
- All Superinterfaces:
Query<TenantQuery,Tenant>
- All Known Implementing Classes:
DbTenantQueryImpl,LdapTenantQuery,OAuth2IdentityProvider.OAuth2TenantQuery,TenantQueryImpl
Allows to programmatically query for
Tenants.-
Method Summary
Modifier and TypeMethodDescriptiongroupMember(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.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 selectTenants with the given id.tenantIdIn(String... ids) Only selectTenants with the given idstenantName(String tenantName) Only selectTenants with the given name.tenantNameLike(String tenantNameLike) Only selectTenants where the name matches the given parameter.userMember(String userId) Only selectTenants where the given user is member of.Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Method Details
-
tenantId
Only selectTenants with the given id. -
tenantIdIn
Only selectTenants with the given ids -
tenantName
Only selectTenants with the given name. -
tenantNameLike
Only selectTenants where the name matches the given parameter. The syntax to use is that of SQL, eg. %tenant%. -
userMember
Only selectTenants where the given user is member of. -
groupMember
Only selectTenants where the given group is member of. -
includingGroupsOfUser
Selects theTenants which belongs to one of the user's groups. Can only be used in combination withuserMember(String) -
orderByTenantId
TenantQuery orderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()). -
orderByTenantName
TenantQuery orderByTenantName()Order by tenant name (needs to be followed byQuery.asc()orQuery.desc()).
-