Package org.dspace.app.ldn.service
Interface NotifyPatternToTriggerService
- All Known Implementing Classes:
NotifyPatternToTriggerImpl
public interface NotifyPatternToTriggerService
Service interface class for the
NotifyPatternToTrigger object.- Author:
- Mohamed Eskander (mohamed.eskander at 4science.com)
-
Method Summary
Modifier and TypeMethodDescriptioncreate new notifyPatternToTriggervoiddelete(Context context, NotifyPatternToTrigger notifyPatternToTrigger) delete the provided notifyPatternToTriggerfind all notify patterns to be triggeredfindByItem(Context context, Item item) find list of Notify Patterns To be Triggered by itemfindByItemAndPattern(Context context, Item item, String pattern) find list of Notify Patterns To be Triggered by item and patternvoidupdate(Context context, NotifyPatternToTrigger notifyPatternToTrigger) update the provided notifyPatternToTrigger
-
Method Details
-
findAll
find all notify patterns to be triggered- Parameters:
context- the context- Returns:
- all notify patterns to be trigger
- Throws:
SQLException- if database error
-
findByItem
find list of Notify Patterns To be Triggered by item- Parameters:
context- the contextitem- the item of NotifyPatternToTrigger- Returns:
- the matched NotifyPatternToTrigger list by item
- Throws:
SQLException- if database error
-
findByItemAndPattern
List<NotifyPatternToTrigger> findByItemAndPattern(Context context, Item item, String pattern) throws SQLException find list of Notify Patterns To be Triggered by item and pattern- Parameters:
context- the contextitem- the item of NotifyPatternToTriggerpattern- the pattern of NotifyPatternToTrigger- Returns:
- the matched NotifyPatternToTrigger list by item and pattern
- Throws:
SQLException- if database error
-
create
create new notifyPatternToTrigger- Parameters:
context- the context- Returns:
- the created NotifyPatternToTrigger
- Throws:
SQLException- if database error
-
update
update the provided notifyPatternToTrigger- Parameters:
context- the contextnotifyPatternToTrigger- the notifyPatternToTrigger- Throws:
SQLException- if database error
-
delete
delete the provided notifyPatternToTrigger- Parameters:
context- the contextnotifyPatternToTrigger- the notifyPatternToTrigger- Throws:
SQLException- if database error
-