Class AbstractTopiaDao<E extends TopiaEntity>

java.lang.Object
org.nuiton.topia.persistence.internal.AbstractTopiaDao<E>
Type Parameters:
E - the managed entity type
All Implemented Interfaces:
Iterable<E>, TopiaDao<E>

public abstract class AbstractTopiaDao<E extends TopiaEntity> extends Object implements TopiaDao<E>

This class has the common methods usable for each Dao managed by Topia. It is not JPA implementation dependent, it only relies on TopiaJpaSupport.

This class is directly extended by the GeneratedXyzTopiaDao which groups all the Xyz specific methods.

Instances are created bt the model's specific TopiaPersistenceContext, which implements the TopiaDaoSupplier contract.
Author:
Benjamin Poussin - poussin@codelutin.com, Arnaud Thimel (Code Lutin), Tony Chemit - tchemit@codelutin.com