Interface UpdateService<T>
- Type Parameters:
T- type of entity to update
- All Known Subinterfaces:
CrudService<T,K>
public interface UpdateService<T>
Specifies the contract of a generic service that allows updating entities.
- Author:
- mlopez
-
Method Summary
-
Method Details
-
update
Updates the given entity.- Parameters:
entity- the entity object to be updated- Throws:
UpdateException- if an exception occurs during the update processEntityNotFoundException- if the entity to be updated is not foundInvalidEntityException- if the provided entity is not valid for the update declaration
-