Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.annotations.repository.core
Class AnnotationEventListener

java.lang.Object
  extended by org.nuxeo.ecm.platform.annotations.repository.core.AnnotationEventListener
All Implemented Interfaces:
EventListener

public class AnnotationEventListener
extends Object
implements EventListener

Author:
Alexandre Russel

Constructor Summary
AnnotationEventListener()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationEventListener

public AnnotationEventListener()
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.