Package org.dspace.app.ldn.dao.impl
Class NotifyPatternToTriggerDaoImpl
java.lang.Object
org.dspace.core.AbstractHibernateDAO<NotifyPatternToTrigger>
org.dspace.app.ldn.dao.impl.NotifyPatternToTriggerDaoImpl
- All Implemented Interfaces:
NotifyPatternToTriggerDao,GenericDAO<NotifyPatternToTrigger>
public class NotifyPatternToTriggerDaoImpl
extends AbstractHibernateDAO<NotifyPatternToTrigger>
implements NotifyPatternToTriggerDao
Implementation of
NotifyPatternToTriggerDao.- Author:
- Mohamed Eskander (mohamed.eskander at 4science.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindByItem(Context context, Item item) find the NotifyPatternToTrigger matched with the provided itemfindByItemAndPattern(Context context, Item item, String pattern) find the NotifyPatternToTrigger matched with the provided item and patternMethods 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
-
NotifyPatternToTriggerDaoImpl
public NotifyPatternToTriggerDaoImpl()
-
-
Method Details
-
findByItem
Description copied from interface:NotifyPatternToTriggerDaofind the NotifyPatternToTrigger matched with the provided item- Specified by:
findByItemin interfaceNotifyPatternToTriggerDao- Parameters:
context- the contextitem- the item- Returns:
- the NotifyPatternToTrigger matched the provided item
- Throws:
SQLException- if database error
-
findByItemAndPattern
public List<NotifyPatternToTrigger> findByItemAndPattern(Context context, Item item, String pattern) throws SQLException Description copied from interface:NotifyPatternToTriggerDaofind the NotifyPatternToTrigger matched with the provided item and pattern- Specified by:
findByItemAndPatternin interfaceNotifyPatternToTriggerDao- Parameters:
context- the contextitem- the itempattern- the pattern- Returns:
- the NotifyPatternToTrigger matched the provided item and pattern
- Throws:
SQLException- if database error
-