org.perfectjpattern.jee.api.integration.dao
Interface IGenericDao<Id,Element>

Type Parameters:
Id - Identification type
Element - Element type
All Superinterfaces:
IBaseDao<Id,Element>, IBaseReadOnlyDao<Id,Element>, IGenericReadOnlyDao<Id,Element>
All Known Subinterfaces:
ICustomerDao, IMovieGenericDao
All Known Implementing Classes:
AbstractHibernateManagedGenericDao, HibernateGenericDao, MovieGenericDao, SpringGenericDao

public interface IGenericDao<Id,Element>
extends IGenericReadOnlyDao<Id,Element>, IBaseDao<Id,Element>

Data Access Object (DAO) Pattern: Abstracts from any direct type of database or persistence mechanism. Provides specific operations without exposing details of the database.

Responsibility : Complete Generic Data Access Object definition including:

Version:
$Revision: 1.0 $ $Date: Nov 26, 2007 8:24:15 PM $
Author:
Giovanni Azua
See Also:
Data Access Object wiki definition, Don't repeat the DAO!
 

Method Summary
 
Methods inherited from interface org.perfectjpattern.jee.api.integration.dao.IGenericReadOnlyDao
findByExample
 
Methods inherited from interface org.perfectjpattern.jee.api.integration.dao.IBaseDao
create, delete, deleteAll, update
 
Methods inherited from interface org.perfectjpattern.jee.api.integration.dao.IBaseReadOnlyDao
contains, count, findAll, findById, getSession, getTransaction
 



Copyright © 2007-2009. All Rights Reserved.