T
- The type of the entity.ID
- The type of the entity's id.public interface ModificationDao<T extends BusinessEntity<ID>,ID extends Serializable> extends DAO
void save(T entity)
entity
- The entity to persist (can't be null
).void update(T entity)
entity
- The entity instance, containing data to update (can't be null
).void remove(ID id)
id
- The id of the entity to remove (can't be null
).Copyright © 2012. All Rights Reserved.