public class AnnotationEventListener extends Object implements EventListener
| Constructor and Description |
|---|
AnnotationEventListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterAnnotationCreated(Principal principal,
Annotation annotation) |
void |
afterAnnotationDeleted(Principal principal,
Annotation annotation) |
void |
afterAnnotationRead(Principal principal,
Annotation annotation) |
void |
afterAnnotationUpdated(Principal principal,
Annotation annotation) |
void |
beforeAnnotationCreated(Principal principal,
Annotation annotation) |
void |
beforeAnnotationDeleted(Principal principal,
Annotation annotation) |
void |
beforeAnnotationRead(Principal principal,
String annotationId) |
void |
beforeAnnotationUpdated(Principal principal,
Annotation annotation) |
public void afterAnnotationCreated(Principal principal, Annotation annotation) throws AnnotationException
afterAnnotationCreated in interface EventListenerAnnotationExceptionpublic void afterAnnotationDeleted(Principal principal, Annotation annotation) throws AnnotationException
afterAnnotationDeleted in interface EventListenerAnnotationExceptionpublic void afterAnnotationRead(Principal principal, Annotation annotation) throws AnnotationException
afterAnnotationRead in interface EventListenerAnnotationExceptionpublic void afterAnnotationUpdated(Principal principal, Annotation annotation) throws AnnotationException
afterAnnotationUpdated in interface EventListenerAnnotationExceptionpublic void beforeAnnotationCreated(Principal principal, Annotation annotation) throws AnnotationException
beforeAnnotationCreated in interface EventListenerAnnotationExceptionpublic void beforeAnnotationDeleted(Principal principal, Annotation annotation) throws AnnotationException
beforeAnnotationDeleted in interface EventListenerAnnotationExceptionpublic void beforeAnnotationRead(Principal principal, String annotationId) throws AnnotationException
beforeAnnotationRead in interface EventListenerAnnotationExceptionpublic void beforeAnnotationUpdated(Principal principal, Annotation annotation) throws AnnotationException
beforeAnnotationUpdated in interface EventListenerAnnotationExceptionCopyright © 2020 Nuxeo SA. All rights reserved.