Nuxeo Enterprise Platform 5.4

org.nuxeo.cm.core.event
Class CreateMailboxIdListener

java.lang.Object
  extended by org.nuxeo.cm.core.event.CreateMailboxIdListener
All Implemented Interfaces:
org.nuxeo.ecm.core.event.EventListener

public class CreateMailboxIdListener
extends Object
implements org.nuxeo.ecm.core.event.EventListener

Listener for mailbox creation events that sets the mailbox id according to the mailbox type, and possibly owner in the case of a personal mailbox.

If mailbox id is already set (for instance when creating personal mailbox using the casemanagement service), nothing is done.

Author:
Anahide Tchertchian

Constructor Summary
CreateMailboxIdListener()
           
 
Method Summary
 void handleEvent(org.nuxeo.ecm.core.event.Event event)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateMailboxIdListener

public CreateMailboxIdListener()
Method Detail

handleEvent

public void handleEvent(org.nuxeo.ecm.core.event.Event event)
                 throws org.nuxeo.ecm.core.api.ClientException
Specified by:
handleEvent in interface org.nuxeo.ecm.core.event.EventListener
Throws:
org.nuxeo.ecm.core.api.ClientException

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.