Package org.cyclos.impl.users
Class AbstractSystemProductAccessor
- java.lang.Object
-
- org.cyclos.impl.users.AbstractSystemProductAccessor
-
- Direct Known Subclasses:
SystemProductAccessor
public abstract class AbstractSystemProductAccessor extends Object
AProductAccessorused bySystemSessionData
-
-
Field Summary
Fields Modifier and Type Field Description protected ApplicationContextapplicationContextprotected Networknetworkprotected NetworkPathRegistrynetworkPathRegistryprotected ProductsHandlerproductsHandlerprotected RawEntityManagerHandlerrawEntityManagerHandlerprotected RecordFieldHandlerrecordFieldHandler
-
Constructor Summary
Constructors Constructor Description AbstractSystemProductAccessor(ApplicationContext applicationContext, Network network)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BooleanPropertiesHolder<ProfileField>forProfileFields(Class<? extends PropertyResolver<ProfileField>> propertyResolverType, boolean my)protected BooleanPropertiesHolder<ProfileField>forProfileFields(Class<? extends PropertyResolver<ProfileField>> propertyResolverType, boolean my, boolean forOperators)protected BooleanPropertiesHolder<RecordCustomField>forRecordFields(RecordType recordType)protected DBQuery<?>from(com.querydsl.core.types.EntityPath<?> from)Returns aDBQueryhaving the network filter appliedprotected List<CustomOperation>listCustomOperations(CustomOperationScope... scopes)protected List<PaymentTransferType>listPaymentTypes(AccountType from, AccountType to, AccountType fromOrTo, BuiltInChannel channel, TransferTypeDirection... directions)protected List<PaymentTransferType>listPaymentTypes(AccountType from, AccountType to, TransferTypeDirection... directions)protected List<PaymentTransferType>listPaymentTypes(AccountType fromOrTo, TransferTypeDirection... directions)protected List<PaymentTransferType>listPaymentTypes(TransferTypeDirection... directions)protected List<SystemWizard>listSystemWizards()protected List<TransferFilter>listTransferFilter(AccountTypeNature nature)protected List<TransferType>listTransferTypes(TransferTypeDirection... directions)protected List<UserWizard>listUserWizards()protected <E> DBQuery<E>selectFrom(com.querydsl.core.types.EntityPath<E> from)protected <K extends R,R>
BooleanPropertiesHolder<K>toBooleanPropertiesHolder(com.querydsl.core.types.EntityPath<K> keyPath, Class<? extends PropertyResolver<R>> propertyResolverType)CallstoBooleanPropertiesHolder(Stream, Class), assuming all instances of the givenEntityPathfor this network are returnedprotected <K extends R,R>
BooleanPropertiesHolder<K>toBooleanPropertiesHolder(Stream<K> keys, Class<? extends PropertyResolver<R>> propertyResolverType)Leverages thePropertyResolverto call#toBooleanPropertiesHolder(Stream, Set, String)protected <K> BooleanPropertiesHolder<K>toBooleanPropertiesHolder(Stream<K> keys, Iterable<com.querydsl.core.types.dsl.BooleanPath> paths, com.querydsl.core.types.EntityPath<K> keyProperty)protected <K> BooleanPropertiesHolder<K>toBooleanPropertiesHolder(Stream<K> keys, Iterable<com.querydsl.core.types.dsl.BooleanPath> paths, String keyPropertyName)
-
-
-
Field Detail
-
applicationContext
protected ApplicationContext applicationContext
-
network
protected Network network
-
rawEntityManagerHandler
protected RawEntityManagerHandler rawEntityManagerHandler
-
networkPathRegistry
protected NetworkPathRegistry networkPathRegistry
-
productsHandler
protected ProductsHandler productsHandler
-
recordFieldHandler
protected RecordFieldHandler recordFieldHandler
-
-
Constructor Detail
-
AbstractSystemProductAccessor
public AbstractSystemProductAccessor(ApplicationContext applicationContext, Network network)
-
-
Method Detail
-
forProfileFields
protected BooleanPropertiesHolder<ProfileField> forProfileFields(Class<? extends PropertyResolver<ProfileField>> propertyResolverType, boolean my)
-
forProfileFields
protected BooleanPropertiesHolder<ProfileField> forProfileFields(Class<? extends PropertyResolver<ProfileField>> propertyResolverType, boolean my, boolean forOperators)
-
forRecordFields
protected BooleanPropertiesHolder<RecordCustomField> forRecordFields(RecordType recordType)
-
from
protected DBQuery<?> from(com.querydsl.core.types.EntityPath<?> from)
Returns aDBQueryhaving the network filter applied
-
listCustomOperations
protected List<CustomOperation> listCustomOperations(CustomOperationScope... scopes)
-
listPaymentTypes
protected List<PaymentTransferType> listPaymentTypes(AccountType from, AccountType to, AccountType fromOrTo, BuiltInChannel channel, TransferTypeDirection... directions)
-
listPaymentTypes
protected List<PaymentTransferType> listPaymentTypes(AccountType from, AccountType to, TransferTypeDirection... directions)
-
listPaymentTypes
protected List<PaymentTransferType> listPaymentTypes(AccountType fromOrTo, TransferTypeDirection... directions)
-
listPaymentTypes
protected List<PaymentTransferType> listPaymentTypes(TransferTypeDirection... directions)
-
listSystemWizards
protected List<SystemWizard> listSystemWizards()
-
listTransferFilter
protected List<TransferFilter> listTransferFilter(AccountTypeNature nature)
-
listTransferTypes
protected List<TransferType> listTransferTypes(TransferTypeDirection... directions)
-
listUserWizards
protected List<UserWizard> listUserWizards()
-
selectFrom
protected <E> DBQuery<E> selectFrom(com.querydsl.core.types.EntityPath<E> from)
-
toBooleanPropertiesHolder
protected <K extends R,R> BooleanPropertiesHolder<K> toBooleanPropertiesHolder(com.querydsl.core.types.EntityPath<K> keyPath, Class<? extends PropertyResolver<R>> propertyResolverType)
CallstoBooleanPropertiesHolder(Stream, Class), assuming all instances of the givenEntityPathfor this network are returned
-
toBooleanPropertiesHolder
protected <K extends R,R> BooleanPropertiesHolder<K> toBooleanPropertiesHolder(Stream<K> keys, Class<? extends PropertyResolver<R>> propertyResolverType)
Leverages thePropertyResolverto call#toBooleanPropertiesHolder(Stream, Set, String)
-
toBooleanPropertiesHolder
protected <K> BooleanPropertiesHolder<K> toBooleanPropertiesHolder(Stream<K> keys, Iterable<com.querydsl.core.types.dsl.BooleanPath> paths, com.querydsl.core.types.EntityPath<K> keyProperty)
-
toBooleanPropertiesHolder
protected <K> BooleanPropertiesHolder<K> toBooleanPropertiesHolder(Stream<K> keys, Iterable<com.querydsl.core.types.dsl.BooleanPath> paths, String keyPropertyName)
-
-