Package org.dspace.alerts.dao
Interface SystemWideAlertDAO
-
- All Superinterfaces:
GenericDAO<SystemWideAlert>
- All Known Implementing Classes:
SystemWideAlertDAOImpl
public interface SystemWideAlertDAO extends GenericDAO<SystemWideAlert>
This is the Data Access Object for theSystemWideAlertobject
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<SystemWideAlert>findAll(Context context, int limit, int offset)Returns a list of all SystemWideAlert objects in the databaseList<SystemWideAlert>findAllActive(Context context, int limit, int offset)Returns a list of all active SystemWideAlert objects in the database-
Methods inherited from interface org.dspace.core.GenericDAO
create, delete, findAll, findAll, findByID, findByID, findMany, findUnique, save
-
-
-
-
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 contextlimit- The limit for the amount of SystemWideAlerts returnedoffset- 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 contextlimit- The limit for the amount of SystemWideAlerts returnedoffset- The offset for the Processes to be returned- Returns:
- The list of all SystemWideAlert objects in the Database
- Throws:
SQLException- If something goes wrong
-
-