public class AnnotatedDocumentEventListenerImpl extends Object implements AnnotatedDocumentEventListener
ANNOTATION_BODY, ANNOTATION_CREATED, ANNOTATION_DELETED, ANNOTATION_ID, ANNOTATION_SUBJECT, ANNOTATION_UPDATED
Constructor and Description |
---|
AnnotatedDocumentEventListenerImpl() |
public AnnotatedDocumentEventListenerImpl()
public void beforeAnnotationCreated(NuxeoPrincipal principal, DocumentLocation documentLoc, Annotation annotation)
beforeAnnotationCreated
in interface AnnotatedDocumentEventListener
public void beforeAnnotationDeleted(NuxeoPrincipal principal, DocumentLocation documentLoc, Annotation annotation)
beforeAnnotationDeleted
in interface AnnotatedDocumentEventListener
public void beforeAnnotationRead(NuxeoPrincipal principal, String annotationId)
beforeAnnotationRead
in interface AnnotatedDocumentEventListener
public void beforeAnnotationUpdated(NuxeoPrincipal principal, DocumentLocation documentLoc, Annotation annotation)
beforeAnnotationUpdated
in interface AnnotatedDocumentEventListener
public void afterAnnotationCreated(NuxeoPrincipal principal, DocumentLocation documentLoc, Annotation annotation)
afterAnnotationCreated
in interface AnnotatedDocumentEventListener
public void afterAnnotationDeleted(NuxeoPrincipal principal, DocumentLocation documentLoc, Annotation annotation)
afterAnnotationDeleted
in interface AnnotatedDocumentEventListener
public void afterAnnotationRead(NuxeoPrincipal principal, DocumentLocation documentLoc, Annotation annotation)
afterAnnotationRead
in interface AnnotatedDocumentEventListener
public void afterAnnotationUpdated(NuxeoPrincipal principal, DocumentLocation documentLoc, Annotation annotation)
afterAnnotationUpdated
in interface AnnotatedDocumentEventListener
protected void notifyEvent(String eventId, Annotation annotation, DocumentLocation documentLocation, NuxeoPrincipal principal)
Copyright © 2018 Nuxeo. All rights reserved.