org.nuxeo.cm.core.service
Class DefaultMailboxCreator
java.lang.Object
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
DefaultMailboxCreator
public DefaultMailboxCreator()
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
Copyright © 2011 Nuxeo SAS. All Rights Reserved.