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
Tenant
s.-
Method Summary
Modifier and TypeMethodDescriptiongroupMember
(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.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 tenantName) Only selectTenant
s with the given name.tenantNameLike
(String tenantNameLike) 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 interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Method Details
-
tenantId
Only selectTenant
s with the given id. -
tenantIdIn
Only selectTenant
s with the given ids -
tenantName
Only selectTenant
s with the given name. -
tenantNameLike
Only selectTenant
s where the name matches the given parameter. The syntax to use is that of SQL, eg. %tenant%. -
userMember
Only selectTenant
s where the given user is member of. -
groupMember
Only selectTenant
s where the given group is member of. -
includingGroupsOfUser
Selects theTenant
s 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()
).
-