|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Dao<E>
The DAO interface
Provides the most basic DAO operations to manipulate a data source.
| Method Summary | |
|---|---|
E |
delete(E entity)
Deletes the entity instance from the datasource |
E |
insert(E entity)
Inserts the entity instance in to the datasource |
E |
update(E entity)
Updates the entity instance in the datasource |
| Method Detail |
|---|
E insert(E entity)
entity - The entity object to insert
UnsupportedOperationException - Indicates that this Dao doesn't support
the insert operation.E update(E entity)
entity - The entity object to update
UnsupportedOperationException - Indicates that this Dao doesn't support
the update operation.E delete(E entity)
entity - The entity object to delete
UnsupportedOperationException - Indicates that this Dao doesn't support
the delete operation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||