Class SystemWideAlertDAOImpl

    • Constructor Detail

      • SystemWideAlertDAOImpl

        public SystemWideAlertDAOImpl()
    • Method Detail

      • findAll

        public List<SystemWideAlert> findAll​(Context context,
                                             int limit,
                                             int offset)
                                      throws SQLException
        Description copied from interface: SystemWideAlertDAO
        Returns a list of all SystemWideAlert objects in the database
        Specified by:
        findAll in interface SystemWideAlertDAO
        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

        public List<SystemWideAlert> findAllActive​(Context context,
                                                   int limit,
                                                   int offset)
                                            throws SQLException
        Description copied from interface: SystemWideAlertDAO
        Returns a list of all active SystemWideAlert objects in the database
        Specified by:
        findAllActive in interface SystemWideAlertDAO
        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