Class ToOneResourceContentHandler
java.lang.Object
ch.tocco.nice2.persist.core.impl.hibernate.query.selection.binary.AbstractToOneBinaryHandler
ch.tocco.nice2.persist.core.impl.hibernate.query.selection.binary.ToOneResourceContentHandler
- All Implemented Interfaces:
SelectionPathHandler
SelectionPathHandler
for all to-one fields of type binary, which are *not* detail documents.-
Field Summary
Fields inherited from class ch.tocco.nice2.persist.core.impl.hibernate.query.selection.binary.AbstractToOneBinaryHandler
interceptors, paths, pathToPk, rootModel, selectionInterceptorMap
-
Constructor Summary
ConstructorDescriptionToOneResourceContentHandler
(EntityModel rootModel, BinaryDataAccessor binaryDataAccessor, List<QueryBuilderInterceptor> interceptors) -
Method Summary
Modifier and TypeMethodDescriptionprotected Map
<Serializable, BinaryData> loadBinaryData
(Path path, List<Serializable> keys) boolean
Only to-one fields of type 'binary' are supported.Methods inherited from class ch.tocco.nice2.persist.core.impl.hibernate.query.selection.binary.AbstractToOneBinaryHandler
processResults, processSelection, select
-
Constructor Details
-
ToOneResourceContentHandler
public ToOneResourceContentHandler(EntityModel rootModel, BinaryDataAccessor binaryDataAccessor, List<QueryBuilderInterceptor> interceptors)
-
-
Method Details
-
supports
Only to-one fields of type 'binary' are supported.- Returns:
- true if this instance supports the given path.
-
loadBinaryData
- Specified by:
loadBinaryData
in classAbstractToOneBinaryHandler
-