Package org.dspace.app.ldn.service.impl
Class NotifyServiceInboundPatternServiceImpl
java.lang.Object
org.dspace.app.ldn.service.impl.NotifyServiceInboundPatternServiceImpl
- All Implemented Interfaces:
NotifyServiceInboundPatternService
public class NotifyServiceInboundPatternServiceImpl
extends Object
implements NotifyServiceInboundPatternService
Implementation Service class for the
NotifyServiceInboundPatternService.- Author:
- Mohamed Eskander (mohamed.eskander at 4science.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(Context context, NotifyServiceEntity notifyServiceEntity) create new notifyServiceInboundPatternvoiddelete(Context context, NotifyServiceInboundPattern inboundPattern) delete the provided notifyServiceInboundPatternfindAutomaticPatterns(Context context) find all automatic notifyServiceInboundPatternsfindByServiceAndPattern(Context context, NotifyServiceEntity notifyServiceEntity, String pattern) find all notifyServiceInboundPatterns matched with the provided notifyServiceEntity and patternvoidupdate(Context context, NotifyServiceInboundPattern inboundPattern) update the provided notifyServiceInboundPattern
-
Constructor Details
-
NotifyServiceInboundPatternServiceImpl
public NotifyServiceInboundPatternServiceImpl()
-
-
Method Details
-
findByServiceAndPattern
public NotifyServiceInboundPattern findByServiceAndPattern(Context context, NotifyServiceEntity notifyServiceEntity, String pattern) throws SQLException Description copied from interface:NotifyServiceInboundPatternServicefind all notifyServiceInboundPatterns matched with the provided notifyServiceEntity and pattern- Specified by:
findByServiceAndPatternin interfaceNotifyServiceInboundPatternService- Parameters:
context- the contextnotifyServiceEntity- the notifyServiceEntitypattern- the pattern- Returns:
- all notifyServiceInboundPatterns matched with the provided notifyServiceEntity and pattern
- Throws:
SQLException- if database error
-
findAutomaticPatterns
Description copied from interface:NotifyServiceInboundPatternServicefind all automatic notifyServiceInboundPatterns- Specified by:
findAutomaticPatternsin interfaceNotifyServiceInboundPatternService- Parameters:
context- the context- Returns:
- all automatic notifyServiceInboundPatterns
- Throws:
SQLException- if database error
-
create
public NotifyServiceInboundPattern create(Context context, NotifyServiceEntity notifyServiceEntity) throws SQLException Description copied from interface:NotifyServiceInboundPatternServicecreate new notifyServiceInboundPattern- Specified by:
createin interfaceNotifyServiceInboundPatternService- Parameters:
context- the contextnotifyServiceEntity- the notifyServiceEntity- Returns:
- the created notifyServiceInboundPattern
- Throws:
SQLException- if database error
-
update
Description copied from interface:NotifyServiceInboundPatternServiceupdate the provided notifyServiceInboundPattern- Specified by:
updatein interfaceNotifyServiceInboundPatternService- Parameters:
context- the contextinboundPattern- the notifyServiceInboundPattern- Throws:
SQLException- if database error
-
delete
Description copied from interface:NotifyServiceInboundPatternServicedelete the provided notifyServiceInboundPattern- Specified by:
deletein interfaceNotifyServiceInboundPatternService- Parameters:
context- the contextinboundPattern- the notifyServiceInboundPattern- Throws:
SQLException- if database error
-