Package com.qfs.snl.persistence
Interface IIdentifiableReadDao<T extends IIdentifiable>
- Type Parameters:
T
- The type of instance to store
- All Known Subinterfaces:
IAuditDao
,IIdentifiableDao<T>
,IMonitorDao
,ISentinelAlertDao
,ISentinelEventDao
- All Known Implementing Classes:
ACRDao
,ACRDDao
,ACRUDDao
,AIdenfiableDao
,ARDao
,AuditDao
,MonitorDao
,SentinelAlertDao
,SentinelEventDao
public interface IIdentifiableReadDao<T extends IIdentifiable>
Interface representing a DAO that can perform read actions. This assumes that keys are
long values.
- Author:
- ActiveViam
-
Method Summary
-
Method Details
-
get
Get an element by its id.- Parameters:
id
- the id of the element to retrieve.- Returns:
- the element, or null if no element has this id.
-
getAll
Get all the elements.- Returns:
- all the elements.
-