br.com.arsmachina.controller
Interface Controller<T,K extends Serializable>

Type Parameters:
T - the entity class related to this controller.
K - the type of the field that represents the entity class' primary key.
All Superinterfaces:
ReadableController<T,K>, WriteableController<T,K>
All Known Implementing Classes:
ControllerImpl

public interface Controller<T,K extends Serializable>
extends ReadableController<T,K>, WriteableController<T,K>

Interface that defines a read-write, generic and generified controller for a given entity class. It extends ReadableController and WriteableController.

Author:
Thiago H. de Paula Figueiredo

Method Summary
 
Methods inherited from interface br.com.arsmachina.controller.ReadableController
countAll, findAll, findAll, findByExample, findById, findByIds, reattach
 
Methods inherited from interface br.com.arsmachina.controller.WriteableController
delete, delete, evict, isPersistent, save, saveOrUpdate, update
 



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