public class DbTenantQueryImpl extends TenantQueryImpl
AbstractQuery.ResultType
groupId, id, ids, includingGroups, name, nameLike, userId
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
Constructor and Description |
---|
DbTenantQueryImpl() |
DbTenantQueryImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
long |
executeCount(CommandContext commandContext) |
List<Tenant> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
protected DbReadOnlyIdentityServiceProvider |
getIdentityProvider(CommandContext commandContext) |
getGroupId, getId, getIds, getName, getNameLike, getUserId, groupMember, includingGroupsOfUser, isIncludingGroups, orderByTenantId, orderByTenantName, tenantId, tenantIdIn, tenantName, tenantNameLike, userMember
addExpression, addValidator, asc, checkMaxResultsLimit, checkQueryOk, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeIdsList, executeResult, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unboundedResultList, validate, validate
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
public DbTenantQueryImpl()
public DbTenantQueryImpl(CommandExecutor commandExecutor)
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<TenantQuery,Tenant>
public List<Tenant> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractQuery<TenantQuery,Tenant>
page
- used if the results must be paged. If null, no paging will be applied.protected DbReadOnlyIdentityServiceProvider getIdentityProvider(CommandContext commandContext)
Copyright © 2020. All rights reserved.