Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.annotations.repository.service
Interface AnnotatedDocumentEventListener

All Known Implementing Classes:
AnnotatedDocumentEventListenerImpl

public interface AnnotatedDocumentEventListener

Author:
Alexandre Russel

Field Summary
static String ANNOTATION_BODY
           
static String ANNOTATION_CREATED
           
static String ANNOTATION_DELETED
           
static String ANNOTATION_ID
           
static String ANNOTATION_SUBJECT
           
static String ANNOTATION_UPDATED
           
 
Method Summary
 void afterAnnotationCreated(NuxeoPrincipal principal, DocumentLocation documentLoc, Annotation annotation)
           
 void afterAnnotationDeleted(NuxeoPrincipal principal, DocumentLocation documentLoc, Annotation annotation)
           
 void afterAnnotationRead(NuxeoPrincipal principal, DocumentLocation documentLoc, Annotation annotation)
           
 void afterAnnotationUpdated(NuxeoPrincipal principal, DocumentLocation documentLoc, Annotation annotation)
           
 void beforeAnnotationCreated(NuxeoPrincipal principal, DocumentLocation documentLoc, Annotation annotation)
           
 void beforeAnnotationDeleted(NuxeoPrincipal principal, DocumentLocation documentLoc, Annotation annotation)
           
 void beforeAnnotationRead(NuxeoPrincipal principal, String annotationId)
           
 void beforeAnnotationUpdated(NuxeoPrincipal principal, DocumentLocation documentLoc, Annotation annotation)
           
 

Field Detail

ANNOTATION_CREATED

static final String ANNOTATION_CREATED
See Also:
Constant Field Values

ANNOTATION_UPDATED

static final String ANNOTATION_UPDATED
See Also:
Constant Field Values

ANNOTATION_DELETED

static final String ANNOTATION_DELETED
See Also:
Constant Field Values

ANNOTATION_ID

static final String ANNOTATION_ID
See Also:
Constant Field Values

ANNOTATION_SUBJECT

static final String ANNOTATION_SUBJECT
See Also:
Constant Field Values

ANNOTATION_BODY

static final String ANNOTATION_BODY
See Also:
Constant Field Values
Method Detail

beforeAnnotationCreated

void beforeAnnotationCreated(NuxeoPrincipal principal,
                             DocumentLocation documentLoc,
                             Annotation annotation)

afterAnnotationCreated

void afterAnnotationCreated(NuxeoPrincipal principal,
                            DocumentLocation documentLoc,
                            Annotation annotation)

beforeAnnotationRead

void beforeAnnotationRead(NuxeoPrincipal principal,
                          String annotationId)

afterAnnotationRead

void afterAnnotationRead(NuxeoPrincipal principal,
                         DocumentLocation documentLoc,
                         Annotation annotation)

beforeAnnotationUpdated

void beforeAnnotationUpdated(NuxeoPrincipal principal,
                             DocumentLocation documentLoc,
                             Annotation annotation)

afterAnnotationUpdated

void afterAnnotationUpdated(NuxeoPrincipal principal,
                            DocumentLocation documentLoc,
                            Annotation annotation)

beforeAnnotationDeleted

void beforeAnnotationDeleted(NuxeoPrincipal principal,
                             DocumentLocation documentLoc,
                             Annotation annotation)

afterAnnotationDeleted

void afterAnnotationDeleted(NuxeoPrincipal principal,
                            DocumentLocation documentLoc,
                            Annotation annotation)

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.