Package org.dspace.app.ldn.service.impl
Class NotifyServiceImpl
java.lang.Object
org.dspace.app.ldn.service.impl.NotifyServiceImpl
- All Implemented Interfaces:
NotifyService
Implementation of
NotifyService.- Author:
- Mohamed Eskander (mohamed.eskander at 4science.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate new notifyServiceEntityvoiddelete(Context context, NotifyServiceEntity notifyServiceEntity) delete the provided notifyServiceEntityfind one NotifyServiceEntity by idfind all notify service entitiesfindByLdnUrl(Context context, String ldnUrl) find the NotifyServiceEntity matched with the provided ldnUrlfindManualServicesByInboundPattern(Context context, String pattern) find all NotifyServiceEntity matched the provided inbound pattern from its related notifyServiceInboundPatterns also with 'automatic' equals to falsevoidupdate(Context context, NotifyServiceEntity notifyServiceEntity) update the provided notifyServiceEntity
-
Constructor Details
-
NotifyServiceImpl
public NotifyServiceImpl()
-
-
Method Details
-
findAll
Description copied from interface:NotifyServicefind all notify service entities- Specified by:
findAllin interfaceNotifyService- Parameters:
context- the context- Returns:
- all notify service entities
- Throws:
SQLException- if database error
-
find
Description copied from interface:NotifyServicefind one NotifyServiceEntity by id- Specified by:
findin interfaceNotifyService- Parameters:
context- the contextid- the id of NotifyServiceEntity- Returns:
- the matched NotifyServiceEntity by id
- Throws:
SQLException- if database error
-
create
Description copied from interface:NotifyServicecreate new notifyServiceEntity- Specified by:
createin interfaceNotifyService- Parameters:
context- the contextname- name of the service- Returns:
- the created NotifyServiceEntity
- Throws:
SQLException- if database error
-
update
Description copied from interface:NotifyServiceupdate the provided notifyServiceEntity- Specified by:
updatein interfaceNotifyService- Parameters:
context- the contextnotifyServiceEntity- the notifyServiceEntity- Throws:
SQLException- if database error
-
delete
Description copied from interface:NotifyServicedelete the provided notifyServiceEntity- Specified by:
deletein interfaceNotifyService- Parameters:
context- the contextnotifyServiceEntity- the notifyServiceEntity- Throws:
SQLException- if database error
-
findByLdnUrl
Description copied from interface:NotifyServicefind the NotifyServiceEntity matched with the provided ldnUrl- Specified by:
findByLdnUrlin interfaceNotifyService- Parameters:
context- the contextldnUrl- the ldnUrl- Returns:
- the NotifyServiceEntity matched the provided ldnUrl
- Throws:
SQLException- if database error
-
findManualServicesByInboundPattern
public List<NotifyServiceEntity> findManualServicesByInboundPattern(Context context, String pattern) throws SQLException Description copied from interface:NotifyServicefind all NotifyServiceEntity matched the provided inbound pattern from its related notifyServiceInboundPatterns also with 'automatic' equals to false- Specified by:
findManualServicesByInboundPatternin interfaceNotifyService- Parameters:
context- the contextpattern- the ldnUrl- Returns:
- all NotifyServiceEntity matched the provided pattern
- Throws:
SQLException- if database error
-