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 forTenants.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TenantQuerygroupMember(java.lang.String groupId)Only selectTenants where the given group is member of.TenantQueryincludingGroupsOfUser(boolean includingGroups)Selects theTenants which belongs to one of the user's groups.TenantQueryorderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).TenantQueryorderByTenantName()Order by tenant name (needs to be followed byQuery.asc()orQuery.desc()).TenantQuerytenantId(java.lang.String tenantId)Only selectTenants with the given id.TenantQuerytenantIdIn(java.lang.String... ids)Only selectTenants with the given idsTenantQuerytenantName(java.lang.String tenantName)Only selectTenants with the given name.TenantQuerytenantNameLike(java.lang.String tenantNameLike)Only selectTenants where the name matches the given parameter.TenantQueryuserMember(java.lang.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 Detail
-
tenantId
TenantQuery tenantId(java.lang.String tenantId)
Only selectTenants with the given id.
-
tenantIdIn
TenantQuery tenantIdIn(java.lang.String... ids)
Only selectTenants with the given ids
-
tenantName
TenantQuery tenantName(java.lang.String tenantName)
Only selectTenants with the given name.
-
tenantNameLike
TenantQuery tenantNameLike(java.lang.String tenantNameLike)
Only selectTenants 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 selectTenants where the given user is member of.
-
groupMember
TenantQuery groupMember(java.lang.String groupId)
Only selectTenants where the given group is member of.
-
includingGroupsOfUser
TenantQuery includingGroupsOfUser(boolean includingGroups)
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()).
-
-