public class DbTenantQueryImpl extends TenantQueryImpl
AbstractQuery.ResultType
groupId, id, ids, includingGroups, name, nameLike, userId
commandExecutor, expressions, orderingProperties, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
authCheck, databaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, 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, evaluateExpressionsAndExecuteList, execute, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, getOrderingProperties, hasExcludingConditions, list, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, setOrderingProperties, singleResult, validate, validate
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, 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 © 2018. All rights reserved.