Package org.dspace.app.ldn.service
Interface NotifyService
- All Known Implementing Classes:
NotifyServiceImpl
public interface NotifyService
Service interface class for the
NotifyServiceEntity object.- Author:
- Mohamed Eskander (mohamed.eskander at 4science.com)
-
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
-
Method Details
-
findAll
find all notify service entities- Parameters:
context- the context- Returns:
- all notify service entities
- Throws:
SQLException- if database error
-
find
find one NotifyServiceEntity by id- Parameters:
context- the contextid- the id of NotifyServiceEntity- Returns:
- the matched NotifyServiceEntity by id
- Throws:
SQLException- if database error
-
create
create new notifyServiceEntity- Parameters:
context- the contextname- name of the service- Returns:
- the created NotifyServiceEntity
- Throws:
SQLException- if database error
-
update
update the provided notifyServiceEntity- Parameters:
context- the contextnotifyServiceEntity- the notifyServiceEntity- Throws:
SQLException- if database error
-
delete
delete the provided notifyServiceEntity- Parameters:
context- the contextnotifyServiceEntity- the notifyServiceEntity- Throws:
SQLException- if database error
-
findByLdnUrl
find the NotifyServiceEntity matched with the provided ldnUrl- Parameters:
context- the contextldnUrl- the ldnUrl- Returns:
- the NotifyServiceEntity matched the provided ldnUrl
- Throws:
SQLException- if database error
-
findManualServicesByInboundPattern
List<NotifyServiceEntity> findManualServicesByInboundPattern(Context context, String pattern) throws SQLException find all NotifyServiceEntity matched the provided inbound pattern from its related notifyServiceInboundPatterns also with 'automatic' equals to false- Parameters:
context- the contextpattern- the ldnUrl- Returns:
- all NotifyServiceEntity matched the provided pattern
- Throws:
SQLException- if database error
-