public abstract class DefaultEventListener extends Object implements javax.jcr.observation.EventListener
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
availableDuringPublish |
protected Set<Integer> |
operationTypes |
protected Set<String> |
propertiesToIgnore |
protected String |
workspace |
| Modifier | Constructor and Description |
|---|---|
protected |
DefaultEventListener() |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
getEventTypes() |
List<javax.jcr.observation.Event> |
getMoveFilteredEvents(javax.jcr.observation.EventIterator eventIterator)
This method is a utility method to filter out the REMOVE and ADDED node events that are generated by Jackrabbit
before a MOVE event (either a real move or a child reorder)
|
String[] |
getNodeTypes() |
Set<Integer> |
getOperationTypes() |
String |
getPath() |
String[] |
getUuids() |
String |
getWorkspace() |
boolean |
isAvailableDuringPublish() |
boolean |
isDeep() |
protected boolean |
isExternal(javax.jcr.observation.Event event) |
protected boolean |
isSupportedOperationType(int operationType) |
void |
setAvailableDuringPublish(boolean availableDuringPublish) |
void |
setOperationTypes(Set<Integer> operationTypes) |
void |
setWorkspace(String workspace) |
protected String workspace
protected boolean availableDuringPublish
public void setWorkspace(String workspace)
protected boolean isExternal(javax.jcr.observation.Event event)
protected boolean isSupportedOperationType(int operationType)
public abstract int getEventTypes()
public String getPath()
public boolean isDeep()
public String[] getNodeTypes()
public String[] getUuids()
public boolean isAvailableDuringPublish()
public void setAvailableDuringPublish(boolean availableDuringPublish)
public String getWorkspace()
public List<javax.jcr.observation.Event> getMoveFilteredEvents(javax.jcr.observation.EventIterator eventIterator) throws javax.jcr.RepositoryException
eventIterator - an event iterator (usually provided by JCR observation API calls)javax.jcr.RepositoryException - in case the was an error accessing the event identifiersCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.