public interface TenantQuery extends Query<TenantQuery,Tenant>
Tenant
s.Modifier and Type | Method and Description |
---|---|
TenantQuery |
groupMember(String groupId)
Only select
Tenant s where the given group is member of. |
TenantQuery |
includingGroupsOfUser(boolean includingGroups)
Selects the
Tenant s 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
Tenant s with the given id. |
TenantQuery |
tenantIdIn(String... ids)
Only select
Tenant s with the given ids |
TenantQuery |
tenantName(String tenantName)
Only select
Tenant s with the given name. |
TenantQuery |
tenantNameLike(String tenantNameLike)
Only select
Tenant s where the name matches the given parameter. |
TenantQuery |
userMember(String userId)
Only select
Tenant s where the given user is member of. |
asc, count, desc, list, listPage, singleResult, unlimitedList
TenantQuery tenantId(String tenantId)
Tenant
s with the given id.TenantQuery tenantIdIn(String... ids)
Tenant
s with the given idsTenantQuery tenantName(String tenantName)
Tenant
s with the given name.TenantQuery tenantNameLike(String tenantNameLike)
Tenant
s where the name matches the given parameter.
The syntax to use is that of SQL, eg. %tenant%.TenantQuery userMember(String userId)
Tenant
s where the given user is member of.TenantQuery groupMember(String groupId)
Tenant
s where the given group is member of.TenantQuery includingGroupsOfUser(boolean includingGroups)
Tenant
s 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 © 2021. All rights reserved.