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, evaluateExpressionsAndExecuteDeploymentIdMappingsList, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeDeploymentIdMappingsList, executeIdsList, executeResult, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listDeploymentIdMappings, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unlimitedList, validate, validate
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asc, count, desc, list, listPage, singleResult, unlimitedList
isRetryable
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 © 2022. All rights reserved.