Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.jbpm.core.listener
Class DeleteProcessForDeletedDocumentListener

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

public class DeleteProcessForDeletedDocumentListener
extends Object
implements EventListener

Listener that deletes process instance and related tasks when the process is attached to a document that is being deleted. It also deletes related tasks of the document out of process.

Author:
arussel

Constructor Summary
DeleteProcessForDeletedDocumentListener()
           
 
Method Summary
 JbpmService getJbpmService()
           
 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

DeleteProcessForDeletedDocumentListener

public DeleteProcessForDeletedDocumentListener()
Method Detail

getJbpmService

public JbpmService getJbpmService()

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.