Interface SystemWideAlertDAO

All Superinterfaces:
GenericDAO<SystemWideAlert>
All Known Implementing Classes:
SystemWideAlertDAOImpl

public interface SystemWideAlertDAO extends GenericDAO<SystemWideAlert>
This is the Data Access Object for the SystemWideAlert object
  • Method Details

    • findAll

      List<SystemWideAlert> findAll(Context context, int limit, int offset) throws SQLException
      Returns a list of all SystemWideAlert objects in the database
      Parameters:
      context - The relevant DSpace context
      limit - The limit for the amount of SystemWideAlerts returned
      offset - The offset for the Processes to be returned
      Returns:
      The list of all SystemWideAlert objects in the Database
      Throws:
      SQLException - If something goes wrong
    • findAllActive

      List<SystemWideAlert> findAllActive(Context context, int limit, int offset) throws SQLException
      Returns a list of all active SystemWideAlert objects in the database
      Parameters:
      context - The relevant DSpace context
      limit - The limit for the amount of SystemWideAlerts returned
      offset - The offset for the Processes to be returned
      Returns:
      The list of all SystemWideAlert objects in the Database
      Throws:
      SQLException - If something goes wrong