public class TextExtractionListener extends DefaultEventListener
availableDuringPublish, operationTypes, propertiesToIgnore, workspace| Constructor and Description |
|---|
TextExtractionListener() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doHandle(javax.jcr.Node node,
javax.jcr.observation.Event event,
JCRSessionWrapper s,
boolean immediateExtraction) |
int |
getEventTypes() |
String[] |
getNodeTypes() |
void |
onEvent(javax.jcr.observation.EventIterator eventIterator) |
protected void |
scheduleBackgroundExtraction(JCRNodeWrapper fileNode,
String user) |
void |
setExtractionService(ExtractionService extractionService) |
void |
setSchedulerService(SchedulerService schedulerService) |
getMoveFilteredEvents, getOperationTypes, getPath, getUuids, getWorkspace, isAvailableDuringPublish, isDeep, isExternal, isSupportedOperationType, setAvailableDuringPublish, setOperationTypes, setWorkspaceprotected void doHandle(javax.jcr.Node node,
javax.jcr.observation.Event event,
JCRSessionWrapper s,
boolean immediateExtraction)
throws javax.jcr.AccessDeniedException,
javax.jcr.ItemNotFoundException,
IOException,
javax.jcr.RepositoryException,
org.quartz.SchedulerException
javax.jcr.AccessDeniedExceptionjavax.jcr.ItemNotFoundExceptionIOExceptionjavax.jcr.RepositoryExceptionorg.quartz.SchedulerExceptionpublic int getEventTypes()
getEventTypes in class DefaultEventListenerpublic String[] getNodeTypes()
getNodeTypes in class DefaultEventListenerpublic void onEvent(javax.jcr.observation.EventIterator eventIterator)
protected void scheduleBackgroundExtraction(JCRNodeWrapper fileNode, String user) throws org.quartz.SchedulerException
org.quartz.SchedulerExceptionpublic void setExtractionService(ExtractionService extractionService)
extractionService - the extractionService to setpublic void setSchedulerService(SchedulerService schedulerService)
schedulerService - the schedulerService to setCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.