Package org.cyclos.impl.banking
Class TransactionQueryHandlerImpl
- java.lang.Object
-
- org.cyclos.impl.AbstractServerComponent
-
- org.cyclos.impl.AbstractNetworkedServerComponent
-
- org.cyclos.impl.BaseNetworkedHandlerImpl
-
- org.cyclos.impl.banking.TransQueryHandlerImpl<Q,P>
-
- org.cyclos.impl.banking.BaseTransactionQueryHandlerImpl<BaseTransactionQuery,BuildTransactionQueryParams>
-
- org.cyclos.impl.banking.TransactionQueryHandlerImpl
-
- All Implemented Interfaces:
TransactionQueryHandler,TransQueryHandler<BaseTransactionQuery,BuildTransactionQueryParams>
@Component public class TransactionQueryHandlerImpl extends BaseTransactionQueryHandlerImpl<BaseTransactionQuery,BuildTransactionQueryParams> implements TransactionQueryHandler
Implementation forTransactionQueryHandler
-
-
Field Summary
-
Fields inherited from class org.cyclos.impl.banking.BaseTransactionQueryHandlerImpl
accountHandler, operatorGroupService, transactionService
-
Fields inherited from class org.cyclos.impl.banking.TransQueryHandlerImpl
accountService, amount, c, conversionHandler, date, fa, fat, fg, fu, groupsHandler, id, rawEntityManagerHandler, ta, tat, tg, transactionNumber, tt, tu, tx
-
Fields inherited from class org.cyclos.impl.AbstractNetworkedServerComponent
authHandler, customFieldValueHandler, entityManagerHandler, productsHandler, restBeanPropertyMapping, userLocatorHandler
-
Fields inherited from class org.cyclos.impl.AbstractServerComponent
configurationHandler, dataTranslationHandler, notificationHandler, profileFieldHandler, transactionHandler, translationHandler
-
-
Constructor Summary
Constructors Constructor Description TransactionQueryHandlerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidapplyOverview(DBQuery<?> query, BuildTransactionQueryParams buildParams)Applies the conditions used on overviewsprotected voidapplyVisibility(SessionData sessionData, DBQuery<?> query, BuildTransactionQueryParams buildParams)DBQuery<?>build(BuildTransactionQueryParams buildParams)Builds the db query based on the given parametersprotected DBQuery<?>initQuery(BuildTransactionQueryParams buildParams)-
Methods inherited from class org.cyclos.impl.banking.BaseTransactionQueryHandlerImpl
additionalAdminFilter, additionalBrokerFilter, additionalRestrictedOperatorFilter, applyOwned, authorized
-
Methods inherited from class org.cyclos.impl.banking.TransQueryHandlerImpl
getAdminFilters, getAmountPath, getBrokerFilters, getBrokeringFilters, getCurrencyPath, getDatePath, getDefaultOrder, getFromAccountPath, getFromAccountTypePath, getFromGroupPath, getFromUserPath, getIdPath, getMemberFilters, geTransferTypePath, getRestrictedOperatorFilters, getToAccountPath, getToAccountTypePath, getToGroupPath, getToUserPath, getTransactionNumberPath, getTransactionPath, getTransferTypePath
-
Methods inherited from class org.cyclos.impl.AbstractNetworkedServerComponent
canManage, checkManagesUser, checkPermission, checkRelatesToUser, checkValue, clearAlreadyValidated, getBaseEntityManagerHandler, getConfiguration, getLoggedBasicUser, getLoggedUser, getProducts, getTranslatedName, getTranslatedValue, hasPermission, hasValue, inSameNetwork, inSameNetworkOrGlobal, isAdmin, isAlreadyValidated, isBroker, isGlobalAdmin, isGlobalAdminInNetwork, isGuest, isLoggedIn, isMember, isMemberOnly, isNetworkAdmin, isOperator, isRelatedToUser, isSystem, isUserManager, isUserManagerOf, message, message, permission, permission, permissionOptionalValue, permissionOptionalValue, toDate, toDateTime, validate
-
Methods inherited from class org.cyclos.impl.AbstractServerComponent
dataTranslationProxy, delete, detach, find, flush, from, getApplicationContext, getFormatter, getFormatter, getFormatter, getLogger, getRemoteAddress, getSessionData, mailContentBuilder, message, message, persist, processBatch, processBatch, refresh, remove, selectFrom, subQuery, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.cyclos.impl.banking.TransQueryHandler
getAmountPath, getCurrencyPath, getDatePath, getFromAccountPath, getFromAccountTypePath, getFromGroupPath, getFromUserPath, getIdPath, geTransferTypePath, getToAccountPath, getToAccountTypePath, getToGroupPath, getToUserPath, getTransactionNumberPath, getTransactionPath, getTransferTypePath
-
-
-
-
Method Detail
-
build
public DBQuery<?> build(BuildTransactionQueryParams buildParams)
Description copied from interface:TransQueryHandlerBuilds the db query based on the given parameters- Specified by:
buildin interfaceTransQueryHandler<BaseTransactionQuery,BuildTransactionQueryParams>- Overrides:
buildin classBaseTransactionQueryHandlerImpl<BaseTransactionQuery,BuildTransactionQueryParams>
-
applyOverview
protected void applyOverview(DBQuery<?> query, BuildTransactionQueryParams buildParams)
Description copied from class:TransQueryHandlerImplApplies the conditions used on overviews- Overrides:
applyOverviewin classTransQueryHandlerImpl<BaseTransactionQuery,BuildTransactionQueryParams>
-
applyVisibility
protected void applyVisibility(SessionData sessionData, DBQuery<?> query, BuildTransactionQueryParams buildParams)
- Overrides:
applyVisibilityin classBaseTransactionQueryHandlerImpl<BaseTransactionQuery,BuildTransactionQueryParams>
-
initQuery
protected DBQuery<?> initQuery(BuildTransactionQueryParams buildParams)
- Specified by:
initQueryin classTransQueryHandlerImpl<BaseTransactionQuery,BuildTransactionQueryParams>
-
-