Package org.dspace.app.ldn.dao
Interface NotifyPatternToTriggerDao
- All Superinterfaces:
GenericDAO<NotifyPatternToTrigger>
- All Known Implementing Classes:
NotifyPatternToTriggerDaoImpl
This is the Data Access Object for the
NotifyPatternToTrigger object- Author:
- Mohamed Eskander (mohamed.eskander at 4science.com)
-
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 pattern
-
Method Details
-
findByItem
find the NotifyPatternToTrigger matched with the provided item- Parameters:
context- the contextitem- the item- Returns:
- the NotifyPatternToTrigger matched the provided item
- Throws:
SQLException- if database error
-
findByItemAndPattern
List<NotifyPatternToTrigger> findByItemAndPattern(Context context, Item item, String pattern) throws SQLException find the NotifyPatternToTrigger matched with the provided item and pattern- Parameters:
context- the contextitem- the itempattern- the pattern- Returns:
- the NotifyPatternToTrigger matched the provided item and pattern
- Throws:
SQLException- if database error
-