Nuxeo Enterprise Platform 5.4

org.nuxeo.cm.core.service
Class DefaultMailboxCreator

java.lang.Object
  extended by org.nuxeo.cm.core.service.DefaultMailboxCreator
All Implemented Interfaces:
MailboxCreator

public class DefaultMailboxCreator
extends Object
implements MailboxCreator

Default creator for a personal mailbox

Author:
Anahide Tchertchian

Constructor Summary
DefaultMailboxCreator()
           
 
Method Summary
 List<Mailbox> createMailboxes(org.nuxeo.ecm.core.api.CoreSession session, String user)
           
static String getNewMailboxParentPath(org.nuxeo.ecm.core.api.CoreSession session)
           
static String getNewMailboxPathSegment(org.nuxeo.ecm.core.api.DocumentModel mailboxModel)
           
 String getPersonalMailboxId(org.nuxeo.ecm.core.api.DocumentModel userModel)
           
 MailboxTitleGenerator getTitleGenerator()
          Returns the title generator to use when creating the personal mailbox
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMailboxCreator

public DefaultMailboxCreator()
Method Detail

getPersonalMailboxId

public String getPersonalMailboxId(org.nuxeo.ecm.core.api.DocumentModel userModel)
Specified by:
getPersonalMailboxId in interface MailboxCreator

getTitleGenerator

public MailboxTitleGenerator getTitleGenerator()
Description copied from interface: MailboxCreator
Returns the title generator to use when creating the personal mailbox

Specified by:
getTitleGenerator in interface MailboxCreator

createMailboxes

public List<Mailbox> createMailboxes(org.nuxeo.ecm.core.api.CoreSession session,
                                     String user)
                              throws CaseManagementException
Specified by:
createMailboxes in interface MailboxCreator
Throws:
CaseManagementException

getNewMailboxParentPath

public static String getNewMailboxParentPath(org.nuxeo.ecm.core.api.CoreSession session)
                                      throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

getNewMailboxPathSegment

public static String getNewMailboxPathSegment(org.nuxeo.ecm.core.api.DocumentModel mailboxModel)
                                       throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.