Package org.dspace.alerts.dao
Interface SystemWideAlertDAO
- All Superinterfaces:
GenericDAO<SystemWideAlert>
- All Known Implementing Classes:
SystemWideAlertDAOImpl
This is the Data Access Object for the
SystemWideAlert object-
Method Summary
Modifier and TypeMethodDescriptionReturns a list of all SystemWideAlert objects in the databasefindAllActive(Context context, int limit, int offset) Returns a list of all active SystemWideAlert objects in the database
-
Method Details
-
findAll
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
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
-