Package org.dspace.alerts.dao.impl
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 Summary
Constructors -
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 databaseMethods inherited from class org.dspace.core.AbstractHibernateDAO
count, count, countLong, create, createQuery, createQuery, delete, executeCriteriaQuery, findAll, findAll, findByID, findByID, findByID, findByX, findMany, findMany, findUnique, getCriteriaBuilder, getCriteriaQuery, getHibernateSession, iterate, list, list, list, list, save, singleResult, singleResult, uniqueResult, uniqueResult
-
Constructor Details
-
SystemWideAlertDAOImpl
public SystemWideAlertDAOImpl()
-
-
Method Details
-
findAll
Description copied from interface:SystemWideAlertDAOReturns a list of all SystemWideAlert objects in the database- Specified by:
findAllin interfaceSystemWideAlertDAO- 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
public List<SystemWideAlert> findAllActive(Context context, int limit, int offset) throws SQLException Description copied from interface:SystemWideAlertDAOReturns a list of all active SystemWideAlert objects in the database- Specified by:
findAllActivein interfaceSystemWideAlertDAO- 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
-