Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.relations.core.listener
Class DeleteRelationsListener

java.lang.Object
  extended by org.nuxeo.ecm.platform.relations.core.listener.DeleteRelationsListener
All Implemented Interfaces:
EventListener

public class DeleteRelationsListener
extends Object
implements EventListener

Core Event listener that cleans relation on deleted documents; it should be executed after PublishRelationsListener so as to be able to copy relations from the deleted proxies.

Author:
mcedica

Constructor Summary
DeleteRelationsListener()
           
 
Method Summary
 RelationManager getRelationManager()
           
 void handleEvent(Event event)
          Handle the given event.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteRelationsListener

public DeleteRelationsListener()
Method Detail

handleEvent

public void handleEvent(Event event)
                 throws ClientException
Description copied from interface: EventListener
Handle the given event. The listener can cancel the event by calling Event.cancel()

Specified by:
handleEvent in interface EventListener
Parameters:
event - the event
Throws:
ClientException

getRelationManager

public RelationManager getRelationManager()
                                   throws ClientException
Throws:
ClientException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.