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 theSystemWideAlertDAO
-
-
Constructor Summary
Constructors Constructor Description SystemWideAlertDAOImpl()
-
Method Summary
All Methods Instance Methods Concrete 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 class org.dspace.core.AbstractHibernateDAO
count, count, countLong, create, createQuery, delete, executeCriteriaQuery, findAll, findAll, findByID, findByID, findByX, findMany, findMany, findUnique, getCriteriaBuilder, getCriteriaQuery, getHibernateSession, iterate, list, list, list, list, save, singleResult, singleResult, uniqueResult, uniqueResult
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dspace.core.GenericDAO
create, delete, findAll, findAll, findByID, findByID, findMany, findUnique, save
-
-
-
-
Method Detail
-
findAll
public List<SystemWideAlert> findAll(Context context, int limit, int offset) throws SQLException
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
-
-