Class ReplicationEventHandler<T extends XdmObject>
- java.lang.Object
-
- com.adobe.aio.aem.event.osgimapping.eventhandler.AdobeIoEventHandler<T>
-
- com.adobe.aio.aem.event.osgimapping.eventhandler.ReplicationEventHandler<T>
-
- All Implemented Interfaces:
org.osgi.service.event.EventHandler
- Direct Known Subclasses:
AssetReplicationEventHandler
,PageReplicationEventHandler
public abstract class ReplicationEventHandler<T extends XdmObject> extends AdobeIoEventHandler<T>
-
-
Field Summary
-
Fields inherited from class com.adobe.aio.aem.event.osgimapping.eventhandler.AdobeIoEventHandler
logger
-
-
Constructor Summary
Constructors Constructor Description ReplicationEventHandler(org.apache.sling.event.jobs.JobManager jobManager, URL rootUrl, String imsOrgId, OsgiEventMapping osgiEventMapping, ResourceResolverWrapperFactory resourceResolverWrapperFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.apache.commons.lang3.tuple.Triple<T,String,Date>>
getXdmObjectActorDateTriples(org.osgi.service.event.Event event, Function<org.apache.sling.api.resource.Resource,Optional<T>> getXdmObjectFromResource, BiFunction<String,Predicate<String>,Optional<T>> getDeletedXdmObjectFromPath, ResourceResolverWrapper resourceResolverWrapper)
-
Methods inherited from class com.adobe.aio.aem.event.osgimapping.eventhandler.AdobeIoEventHandler
getXdmObjectFromResource, handleEvent, isPathOfInterest
-
-
-
-
Constructor Detail
-
ReplicationEventHandler
public ReplicationEventHandler(org.apache.sling.event.jobs.JobManager jobManager, URL rootUrl, String imsOrgId, OsgiEventMapping osgiEventMapping, ResourceResolverWrapperFactory resourceResolverWrapperFactory)
-
-
Method Detail
-
getXdmObjectActorDateTriples
public List<org.apache.commons.lang3.tuple.Triple<T,String,Date>> getXdmObjectActorDateTriples(org.osgi.service.event.Event event, Function<org.apache.sling.api.resource.Resource,Optional<T>> getXdmObjectFromResource, BiFunction<String,Predicate<String>,Optional<T>> getDeletedXdmObjectFromPath, ResourceResolverWrapper resourceResolverWrapper)
-
-