|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MappingDao<E>
The Mapping DAO interface
Provides the most basic DAO operations to manipulate a data source.
The difference to the Dao interface is that this
intefaces adds a extra id parameter to each method. This
id determines how the implementation should execute the
operation.
| Method Summary | |
|---|---|
E |
delete(String id,
E entity)
Deletes the entity instance from the datasource |
E |
insert(String id,
E entity)
Inserts the entity instance in to the datasource |
E |
update(String id,
E entity)
Updates the entity instance in the datasource |
| Method Detail |
|---|
E insert(String id,
E entity)
id - The identity - The entity object to insert
UnsupportedOperationException - Indicates that this Dao doesn't support
the insert operation.
E update(String id,
E entity)
id - The identity - The entity object to update
UnsupportedOperationException - Indicates that this Dao doesn't support
the update operation.
E delete(String id,
E entity)
id - The identity - 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 | |||||||||