Class ToOneSelectionPathHandler

java.lang.Object
ch.tocco.nice2.persist.core.impl.hibernate.query.selection.ToOneSelectionPathHandler
All Implemented Interfaces:
SelectionPathHandler

public class ToOneSelectionPathHandler extends Object implements SelectionPathHandler
SelectionPathHandler for all to-one fields (except binaries). All fields can be queried directly from the database (see processSelection(SelectionRegistry)). In addition the primary key of each path is queried as well, in order to be able to check field-level security. The temporary results can then be simply be mapped to the target array (see processResults(List, List, SelectionRegistry, ResultRowMapper)). Before the values are mapped to the target, the interceptors are invoked so that they can modify the result if necessary.