br.com.arsmachina.dao
Interface DAO<T,K extends Serializable>

Type Parameters:
T - the entity class related to this DAO.
K - the type of the field that represents the entity class' primary key.
All Superinterfaces:
ReadableDAO<T,K>, WriteableDAO<T,K>

public interface DAO<T,K extends Serializable>
extends ReadableDAO<T,K>, WriteableDAO<T,K>

Interface that defines a read-write, generic and generified Data Access Object (DAO) for a given entity class. It extends ReadableDAO and WriteableDAO.

Author:
Thiago H. de Paula Figueiredo

Method Summary
 
Methods inherited from interface br.com.arsmachina.dao.ReadableDAO
countAll, findAll, findAll, findByExample, findById, findByIds, getDefaultSortCriteria, reattach, refresh
 
Methods inherited from interface br.com.arsmachina.dao.WriteableDAO
delete, delete, evict, isPersistent, save, update
 



Copyright © 2008-2009 Thiago H. de Paula Figueiredo. All Rights Reserved.