public class DefaultMailboxCreator extends Object implements MailboxCreator
Constructor and Description |
---|
DefaultMailboxCreator() |
Modifier and Type | Method and Description |
---|---|
List<Mailbox> |
createMailboxes(CoreSession session,
String user) |
static String |
getNewMailboxParentPath(CoreSession session) |
static String |
getNewMailboxPathSegment(DocumentModel mailboxModel) |
String |
getPersonalMailboxId(DocumentModel userModel) |
MailboxTitleGenerator |
getTitleGenerator()
Returns the title generator to use when creating the personal mailbox
|
public String getPersonalMailboxId(DocumentModel userModel)
getPersonalMailboxId
in interface MailboxCreator
public MailboxTitleGenerator getTitleGenerator()
MailboxCreator
getTitleGenerator
in interface MailboxCreator
public List<Mailbox> createMailboxes(CoreSession session, String user) throws CaseManagementException
createMailboxes
in interface MailboxCreator
CaseManagementException
public static String getNewMailboxParentPath(CoreSession session) throws ClientException
ClientException
public static String getNewMailboxPathSegment(DocumentModel mailboxModel) throws ClientException
ClientException
Copyright © 2011 Nuxeo SA. All Rights Reserved.