Class AbstractToOneBinaryHandler

java.lang.Object
ch.tocco.nice2.persist.core.impl.hibernate.query.selection.binary.AbstractToOneBinaryHandler
All Implemented Interfaces:
SelectionPathHandler
Direct Known Subclasses:
ToOneDetailDocumentHandler, ToOneResourceContentHandler

public abstract class AbstractToOneBinaryHandler extends Object implements SelectionPathHandler
Abstract SelectionPathHandler for all to-one fields of type binary. Only the associated primary key of the entity (Resource_content or the related entity if it's an entity doc) is queried from the database. The BinaryDataAccessor is then used to efficiently query all necessary data based on the retrieved primary keys.