Package com.qfs.snl.persistence
Interface IUpdateDao<T>
- Type Parameters:
T- The type of instance to store
- All Known Subinterfaces:
IIdentifiableDao<T>,IMonitorDao,ISentinelAlertDao
- All Known Implementing Classes:
ACRUDDao,AIdenfiableDao,MonitorDao,SentinelAlertDao
public interface IUpdateDao<T>
Interface representing a DAO that can perform update actions. This has no assumption on
the aspect of the key, if any.
- Author:
- ActiveViam
-
Method Summary
-
Method Details
-
update
Updates an existing element.- Parameters:
element- the element to update- Returns:
- the updated element
- Throws:
IllegalArgumentException- if the element was not saved yet.
-
update
Update a list of elements.- Parameters:
toUpdate- the elements to update- Returns:
- the updated elements
-