T - type of the resource objectpublic abstract class AbstractResourceStateNotificationDetectorFilter<T> extends Object implements ResourceStateNotificationDetector<T>
| Constructor and Description |
|---|
AbstractResourceStateNotificationDetectorFilter() |
| Modifier and Type | Method and Description |
|---|---|
ResourceStateNotificationDetector<T> |
getDelegate() |
void |
resourceCreated(T newResource)
called when a new resource is created.
|
void |
resourceDeleted(T oldResource)
called when a resource is deleted.
|
void |
resourceUpdated(T oldResource,
T newResource)
called when a resource is modified.
|
void |
setDelegate(ResourceStateNotificationDetector<T> delegate) |
void |
setSender(NotificationSender sender)
injection point for NotificationSender.
|
public AbstractResourceStateNotificationDetectorFilter()
public void resourceCreated(T newResource)
resourceCreated in interface ResourceStateNotificationDetector<T>newResource - new resourceResourceStateNotificationDetector.resourceCreated(java.lang.Object)public void resourceDeleted(T oldResource)
resourceDeleted in interface ResourceStateNotificationDetector<T>oldResource - old resourceResourceStateNotificationDetector.resourceDeleted(java.lang.Object)public void resourceUpdated(T oldResource, T newResource)
resourceUpdated in interface ResourceStateNotificationDetector<T>oldResource - old resourcenewResource - new resourceResourceStateNotificationDetector.resourceUpdated(java.lang.Object,
java.lang.Object)public void setSender(NotificationSender sender)
setSender in interface NotificationDetectorsender - senderNotificationDetector.setSender(eu.dnetlib.enabling.is.sn.NotificationSender)public ResourceStateNotificationDetector<T> getDelegate()
public void setDelegate(ResourceStateNotificationDetector<T> delegate)
Copyright © 2017. All rights reserved.