Interface SystemWideAlertDAO

    • Method Detail

      • 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