public interface TenantQuery extends Query<TenantQuery,Tenant>
Tenants.| Modifier and Type | Method and Description |
|---|---|
TenantQuery |
groupMember(String groupId)
Only select
Tenants where the given group is member of. |
TenantQuery |
includingGroupsOfUser(boolean includingGroups)
Selects the
Tenants which belongs to one of the user's groups. |
TenantQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc()). |
TenantQuery |
orderByTenantName()
Order by tenant name (needs to be followed by
Query.asc() or Query.desc()). |
TenantQuery |
tenantId(String tenantId)
Only select
Tenants with the given id. |
TenantQuery |
tenantIdIn(String... ids)
Only select
Tenants with the given ids |
TenantQuery |
tenantName(String tenantName)
Only select
Tenants with the given name. |
TenantQuery |
tenantNameLike(String tenantNameLike)
Only select
Tenants where the name matches the given parameter. |
TenantQuery |
userMember(String userId)
Only select
Tenants where the given user is member of. |
TenantQuery tenantId(String tenantId)
Tenants with the given id.TenantQuery tenantIdIn(String... ids)
Tenants with the given idsTenantQuery tenantName(String tenantName)
Tenants with the given name.TenantQuery tenantNameLike(String tenantNameLike)
Tenants where the name matches the given parameter.
The syntax to use is that of SQL, eg. %tenant%.TenantQuery userMember(String userId)
Tenants where the given user is member of.TenantQuery groupMember(String groupId)
Tenants where the given group is member of.TenantQuery includingGroupsOfUser(boolean includingGroups)
Tenants which belongs to one of the user's groups.
Can only be used in combination with userMember(String)TenantQuery orderByTenantId()
Query.asc() or Query.desc()).TenantQuery orderByTenantName()
Query.asc() or Query.desc()).Copyright © 2019. All rights reserved.