Package org.camunda.bpm.engine.identity
Interface TenantQuery
-
- All Superinterfaces:
Query<TenantQuery,Tenant>
- All Known Implementing Classes:
DbTenantQueryImpl
,LdapTenantQuery
,TenantQueryImpl
public interface TenantQuery extends Query<TenantQuery,Tenant>
Allows to programmatically query forTenant
s.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TenantQuery
groupMember(String groupId)
Only selectTenant
s where the given group is member of.TenantQuery
includingGroupsOfUser(boolean includingGroups)
Selects theTenant
s which belongs to one of the user's groups.TenantQuery
orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).TenantQuery
orderByTenantName()
Order by tenant name (needs to be followed byQuery.asc()
orQuery.desc()
).TenantQuery
tenantId(String tenantId)
Only selectTenant
s with the given id.TenantQuery
tenantIdIn(String... ids)
Only selectTenant
s with the given idsTenantQuery
tenantName(String tenantName)
Only selectTenant
s with the given name.TenantQuery
tenantNameLike(String tenantNameLike)
Only selectTenant
s where the name matches the given parameter.TenantQuery
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 Detail
-
tenantId
TenantQuery tenantId(String tenantId)
Only selectTenant
s with the given id.
-
tenantIdIn
TenantQuery tenantIdIn(String... ids)
Only selectTenant
s with the given ids
-
tenantName
TenantQuery tenantName(String tenantName)
Only selectTenant
s with the given name.
-
tenantNameLike
TenantQuery tenantNameLike(String tenantNameLike)
Only selectTenant
s where the name matches the given parameter. The syntax to use is that of SQL, eg. %tenant%.
-
userMember
TenantQuery userMember(String userId)
Only selectTenant
s where the given user is member of.
-
groupMember
TenantQuery groupMember(String groupId)
Only selectTenant
s where the given group is member of.
-
includingGroupsOfUser
TenantQuery includingGroupsOfUser(boolean includingGroups)
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()
).
-
-