Class SystemWideAlertDAOImpl

java.lang.Object
org.dspace.core.AbstractHibernateDAO<SystemWideAlert>
org.dspace.alerts.dao.impl.SystemWideAlertDAOImpl
All Implemented Interfaces:
SystemWideAlertDAO, GenericDAO<SystemWideAlert>

public class SystemWideAlertDAOImpl extends AbstractHibernateDAO<SystemWideAlert> implements SystemWideAlertDAO
Implementation class for the SystemWideAlertDAO
  • Constructor Details

    • SystemWideAlertDAOImpl

      public SystemWideAlertDAOImpl()
  • Method Details

    • 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