Package org.cyclos.impl.sql.postgresql
Class AdvertisementsNativeQuery
- java.lang.Object
-
- org.cyclos.impl.sql.postgresql.NativeQuery<BasicAdQuery,BasicAd,BasicAdVO>
-
- org.cyclos.impl.sql.postgresql.AdvertisementsNativeQuery
-
public class AdvertisementsNativeQuery extends NativeQuery<BasicAdQuery,BasicAd,BasicAdVO>
Native query for advertisements
-
-
Nested Class Summary
-
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.NativeQuery
applicationContext, beanHandler, configurationHandler, conversionHandler, customFieldValueHandler, entityType, groupsHandler, jdbcTemplate, params, phoneService, profileFieldHandler, projectionType, rawEntityManagerHandler, translationHandler
-
-
Constructor Summary
Constructors Constructor Description AdvertisementsNativeQuery(BasicAdQuery params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.querydsl.core.types.dsl.BooleanExpressionbrokersFilter(Set<User> brokers)protected com.querydsl.sql.RelationalPath<?>getMainEntityAlias()Must be implemented in order to return the alias for the main entity in the queryprotected com.querydsl.core.types.Expression<BasicAdVO>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 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 others-
Methods inherited from class org.cyclos.impl.sql.postgresql.NativeQuery
addOrderBy, appendUserProfileFieldKeywords, apply, applyFullTextFilter, applyUserProfileFieldFilters, count, createJpaQuery, createJpaQueryForEntities, doIterate, doSingleResult, ensureQuery, fieldValue, filterByDatePeriod, filterByDatePeriod, getCustomFieldQueryCondition, getCustomFieldQueryCondition, getFieldValues, getFormatter, getLogger, getQuery, getSessionData, iterateEntities, iterateIds, iterateResults, join, pageEntities, pageResults, resetQuery, visibility
-
-
-
-
Constructor Detail
-
AdvertisementsNativeQuery
public AdvertisementsNativeQuery(BasicAdQuery params)
-
-
Method Detail
-
brokersFilter
protected com.querydsl.core.types.dsl.BooleanExpression brokersFilter(Set<User> brokers)
-
getMainEntityAlias
protected com.querydsl.sql.RelationalPath<?> getMainEntityAlias()
Description copied from class:NativeQueryMust be implemented in order to return the alias for the main entity in the query- Specified by:
getMainEntityAliasin classNativeQuery<BasicAdQuery,BasicAd,BasicAdVO>
-
getProjection
protected com.querydsl.core.types.Expression<BasicAdVO> 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<BasicAdQuery,BasicAd,BasicAdVO>
-
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- Specified by:
initializeQueryin classNativeQuery<BasicAdQuery,BasicAd,BasicAdVO>
-
-