public class DbTenantQueryImpl extends TenantQueryImpl
AbstractQuery.ResultType
groupId, id, ids, includingGroups, name, nameLike, userId
commandExecutor, expressions, 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, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeIdsList, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, 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 © 2017. All rights reserved.