Package org.cyclos.impl.sql.postgresql
Class UsersWithBalancesNativeQuery
- java.lang.Object
-
- org.cyclos.impl.sql.postgresql.NativeQuery<Q,User,P>
-
- org.cyclos.impl.sql.postgresql.AbstractUserNativeQuery<UserWithBalanceQuery,UserWithBalanceVO>
-
- org.cyclos.impl.sql.postgresql.UsersWithBalancesNativeQuery
-
public class UsersWithBalancesNativeQuery extends AbstractUserNativeQuery<UserWithBalanceQuery,UserWithBalanceVO>
Native query for users with balances
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classUsersWithBalancesNativeQuery.UserWithBalanceProjectionProjection forUserWithBalanceVO-
Nested classes/interfaces inherited from class org.cyclos.impl.sql.postgresql.AbstractUserNativeQuery
AbstractUserNativeQuery.AbstractUserProjection
-
Nested classes/interfaces inherited from class org.cyclos.impl.sql.postgresql.NativeQuery
NativeQuery.BaseProjection, NativeQuery.JpaQueryResult, NativeQuery.SQLQueryAction<T>
-
-
Field Summary
-
Fields inherited from class org.cyclos.impl.sql.postgresql.AbstractUserNativeQuery
acct, addr, bk, bn, canViewHidden, ci, contactInfoEnumValues, contactInfoFieldService, distance, enumValues, g, geo, groupVisibility, gs, i, myBrokered, p, ph, productService, profileFieldsInList, projectedAddressContactInfoFields, projectedProfileFields, q, tsvectors, u, up, userCustomFieldService, visibleProfileFields
-
Fields inherited from class org.cyclos.impl.sql.postgresql.NativeQuery
applicationContext, beanHandler, configurationHandler, conversionHandler, customFieldValueHandler, entityType, groupsHandler, jdbcTemplate, params, phoneService, profileFieldHandler, projectionType, rawEntityManagerHandler, translationHandler, userService
-
-
Constructor Summary
Constructors Constructor Description UsersWithBalancesNativeQuery(UserWithBalanceQuery params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UsersWithBalancesOverviewgetOverview()protected com.querydsl.core.types.Expression<UserWithBalanceVO>getProjection(com.querydsl.sql.SQLQuery<?> query, Integer totalCount)Must be implemented in order to return projection for results in the query, given the total record countprotected booleanhandlesAccountJoin()protected List<com.querydsl.core.types.Expression<?>>initializeQuery(com.querydsl.sql.SQLQuery<?> query)Initializes the query, returning additional from expressions that should be applied after all othersprotected voidresetQuery()protected List<ProfileField>resolveProfileFieldsInList()-
Methods inherited from class org.cyclos.impl.sql.postgresql.AbstractUserNativeQuery
addNetworkFilter, applyAlphabeticOrderBy, getGroupsFilter, getMainEntityAlias, getProfileFieldsContext, getProfileFieldsInList, includeGlobals, isMyBrokered
-
Methods inherited from class org.cyclos.impl.sql.postgresql.NativeQuery
addOrderBy, appendUserProfileFieldKeywords, apply, applyFullTextFilter, applyUserProfileFieldFilters, count, createJpaQuery, createJpaQueryForEntities, doIterate, doSingleResult, ensureQuery, enumValue, fieldValue, filterByDatePeriod, filterByDatePeriod, getCustomFieldQueryCondition, getCustomFieldQueryCondition, getFieldValues, getFormatter, getLogger, getQuery, getSessionData, iterateEntities, iterateIds, iterateResults, join, pageEntities, pageResults, visibility
-
-
-
-
Constructor Detail
-
UsersWithBalancesNativeQuery
public UsersWithBalancesNativeQuery(UserWithBalanceQuery params)
-
-
Method Detail
-
getOverview
public UsersWithBalancesOverview getOverview()
-
getProjection
protected com.querydsl.core.types.Expression<UserWithBalanceVO> getProjection(com.querydsl.sql.SQLQuery<?> query, Integer totalCount)
Description copied from class:NativeQueryMust be implemented in order to return projection for results in the query, given the total record count- Specified by:
getProjectionin classNativeQuery<UserWithBalanceQuery,User,UserWithBalanceVO>
-
handlesAccountJoin
protected boolean handlesAccountJoin()
- Overrides:
handlesAccountJoinin classAbstractUserNativeQuery<UserWithBalanceQuery,UserWithBalanceVO>
-
initializeQuery
protected List<com.querydsl.core.types.Expression<?>> initializeQuery(com.querydsl.sql.SQLQuery<?> query)
Description copied from class:NativeQueryInitializes the query, returning additional from expressions that should be applied after all others- Overrides:
initializeQueryin classAbstractUserNativeQuery<UserWithBalanceQuery,UserWithBalanceVO>
-
resetQuery
protected void resetQuery()
- Overrides:
resetQueryin classAbstractUserNativeQuery<UserWithBalanceQuery,UserWithBalanceVO>
-
resolveProfileFieldsInList
protected List<ProfileField> resolveProfileFieldsInList()
- Overrides:
resolveProfileFieldsInListin classAbstractUserNativeQuery<UserWithBalanceQuery,UserWithBalanceVO>
-
-