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(java.lang.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(java.lang.String tenantId)
Only selectTenant
s with the given id.TenantQuery
tenantIdIn(java.lang.String... ids)
Only selectTenant
s with the given idsTenantQuery
tenantName(java.lang.String tenantName)
Only selectTenant
s with the given name.TenantQuery
tenantNameLike(java.lang.String tenantNameLike)
Only selectTenant
s where the name matches the given parameter.TenantQuery
userMember(java.lang.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(java.lang.String tenantId)
Only selectTenant
s with the given id.
-
tenantIdIn
TenantQuery tenantIdIn(java.lang.String... ids)
Only selectTenant
s with the given ids
-
tenantName
TenantQuery tenantName(java.lang.String tenantName)
Only selectTenant
s with the given name.
-
tenantNameLike
TenantQuery tenantNameLike(java.lang.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(java.lang.String userId)
Only selectTenant
s where the given user is member of.
-
groupMember
TenantQuery groupMember(java.lang.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()
).
-
-