org.nuxeo.ecm.platform.annotations.repository.core
Class AnnotationEventListener
java.lang.Object
org.nuxeo.ecm.platform.annotations.repository.core.AnnotationEventListener
- All Implemented Interfaces:
- EventListener
public class AnnotationEventListener
- extends Object
- implements EventListener
- Author:
- Alexandre Russel
AnnotationEventListener
public AnnotationEventListener()
afterAnnotationCreated
public void afterAnnotationCreated(Principal principal,
Annotation annotation)
throws AnnotationException
- Specified by:
afterAnnotationCreated
in interface EventListener
- Throws:
AnnotationException
afterAnnotationDeleted
public void afterAnnotationDeleted(Principal principal,
Annotation annotation)
throws AnnotationException
- Specified by:
afterAnnotationDeleted
in interface EventListener
- Throws:
AnnotationException
afterAnnotationRead
public void afterAnnotationRead(Principal principal,
Annotation annotation)
throws AnnotationException
- Specified by:
afterAnnotationRead
in interface EventListener
- Throws:
AnnotationException
afterAnnotationUpdated
public void afterAnnotationUpdated(Principal principal,
Annotation annotation)
throws AnnotationException
- Specified by:
afterAnnotationUpdated
in interface EventListener
- Throws:
AnnotationException
beforeAnnotationCreated
public void beforeAnnotationCreated(Principal principal,
Annotation annotation)
throws AnnotationException
- Specified by:
beforeAnnotationCreated
in interface EventListener
- Throws:
AnnotationException
beforeAnnotationDeleted
public void beforeAnnotationDeleted(Principal principal,
Annotation annotation)
throws AnnotationException
- Specified by:
beforeAnnotationDeleted
in interface EventListener
- Throws:
AnnotationException
beforeAnnotationRead
public void beforeAnnotationRead(Principal principal,
String annotationId)
throws AnnotationException
- Specified by:
beforeAnnotationRead
in interface EventListener
- Throws:
AnnotationException
beforeAnnotationUpdated
public void beforeAnnotationUpdated(Principal principal,
Annotation annotation)
throws AnnotationException
- Specified by:
beforeAnnotationUpdated
in interface EventListener
- Throws:
AnnotationException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.