Class ToManyDetailDocumentHandler
java.lang.Object
ch.tocco.nice2.persist.core.impl.hibernate.query.selection.AbstractToManySelectionPathHandler
ch.tocco.nice2.persist.core.impl.hibernate.query.selection.binary.AbstractToManyBinaryHandler
ch.tocco.nice2.persist.core.impl.hibernate.query.selection.binary.ToManyDetailDocumentHandler
- All Implemented Interfaces:
SelectionPathHandler
SelectionPathHandler
for all to-many fields of type binary that are detail documents.-
Nested Class Summary
Nested classes/interfaces inherited from class ch.tocco.nice2.persist.core.impl.hibernate.query.selection.AbstractToManySelectionPathHandler
AbstractToManySelectionPathHandler.QueryHolder
-
Field Summary
Fields inherited from class ch.tocco.nice2.persist.core.impl.hibernate.query.selection.AbstractToManySelectionPathHandler
criteriaBuilder, dataModel, fieldResolver, interceptors, parameterProviders, paths, predicateFactory, queries, rootKeyName, rootModel, selectionInterceptorMap, session, typeManager
-
Constructor Summary
ConstructorDescriptionToManyDetailDocumentHandler
(DataModel dataModel, TypeManager typeManager, FieldResolver fieldResolver, BinaryDataAccessor binaryDataAccessor, EntityModel rootModel, PredicateFactory predicateFactory, List<QueryBuilderInterceptor> interceptors, Map<String, ParameterProvider<?>> parameterProviders, org.hibernate.Session session, CriteriaBuilderWrapper criteriaBuilder) -
Method Summary
Modifier and TypeMethodDescriptionprotected Map
<Serializable, BinaryData> loadBinaryData
(Path path, List<Serializable> allKeys) boolean
Only detail document fields are supported.Methods inherited from class ch.tocco.nice2.persist.core.impl.hibernate.query.selection.binary.AbstractToManyBinaryHandler
processAdditionalQuery, processResults, select
Methods inherited from class ch.tocco.nice2.persist.core.impl.hibernate.query.selection.AbstractToManySelectionPathHandler
doLoadData, extractAllRootPrimaryKeys, processSelection
-
Constructor Details
-
ToManyDetailDocumentHandler
public ToManyDetailDocumentHandler(DataModel dataModel, TypeManager typeManager, FieldResolver fieldResolver, BinaryDataAccessor binaryDataAccessor, EntityModel rootModel, PredicateFactory predicateFactory, List<QueryBuilderInterceptor> interceptors, Map<String, ParameterProvider<?>> parameterProviders, org.hibernate.Session session, CriteriaBuilderWrapper criteriaBuilder)
-
-
Method Details
-
supports
Only detail document fields are supported.- Returns:
- true if this instance supports the given path.
-
loadBinaryData
- Specified by:
loadBinaryData
in classAbstractToManyBinaryHandler
-