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 Link icon

    Modifier and Type
    Method
    Description
    get(long id)
    Get an element by its id.
    Get all the elements.
  • Method Details Link icon

    • get Link icon

      T get(long id)
      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 Link icon

      List<T> getAll()
      Get all the elements.
      Returns:
      all the elements.