|
Nuxeo Enterprise Platform 5.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuxeo.cm.core.service.MailboxManagementServiceImpl
public class MailboxManagementServiceImpl
Correspondence service core implementation
| Constructor Summary | |
|---|---|
MailboxManagementServiceImpl()
|
|
| Method Summary | |
|---|---|
List<Mailbox> |
createPersonalMailboxes(org.nuxeo.ecm.core.api.CoreSession session,
String user)
Create the personal Mailbox with the registered |
Mailbox |
getMailbox(org.nuxeo.ecm.core.api.CoreSession session,
String muid)
Returns the mailbox with given unique identifier. |
List<Mailbox> |
getMailboxes(org.nuxeo.ecm.core.api.CoreSession session,
List<String> muids)
Returns the mailboxes with given unique identifiers. |
List<MailboxHeader> |
getMailboxesHeaders(org.nuxeo.ecm.core.api.CoreSession session,
List<String> muids)
Returns the mailboxes with given unique identifiers and a session. |
MailboxHeader |
getMailboxHeader(org.nuxeo.ecm.core.api.CoreSession session,
String muid)
|
List<Mailbox> |
getUserMailboxes(org.nuxeo.ecm.core.api.CoreSession session,
String user)
Returns all mailboxes for given user. |
Mailbox |
getUserPersonalMailbox(org.nuxeo.ecm.core.api.CoreSession session,
String user)
Returns the personal mailbox of the given user. |
Mailbox |
getUserPersonalMailboxForEmail(org.nuxeo.ecm.core.api.CoreSession session,
String userEmail)
Returns a mailbox for given email |
String |
getUserPersonalMailboxId(String user)
Retrieves the Personal Mailbox Id from the Mailbox Creator. |
boolean |
hasMailbox(org.nuxeo.ecm.core.api.CoreSession session,
String muid)
Returns true if a mailbox with given id exists |
boolean |
hasUserPersonalMailbox(org.nuxeo.ecm.core.api.CoreSession session,
String userId)
Test if the user has a personal mailbox created |
List<MailboxHeader> |
searchMailboxes(org.nuxeo.ecm.core.api.CoreSession session,
String pattern,
String type)
Search mailboxes with given pattern |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MailboxManagementServiceImpl()
| Method Detail |
|---|
public Mailbox getMailbox(org.nuxeo.ecm.core.api.CoreSession session,
String muid)
MailboxManagementService
getMailbox in interface MailboxManagementServicemuid - User id
public boolean hasMailbox(org.nuxeo.ecm.core.api.CoreSession session,
String muid)
MailboxManagementService
hasMailbox in interface MailboxManagementServicemuid - mailbox id
public MailboxHeader getMailboxHeader(org.nuxeo.ecm.core.api.CoreSession session,
String muid)
getMailboxHeader in interface MailboxManagementService
public List<Mailbox> getMailboxes(org.nuxeo.ecm.core.api.CoreSession session,
List<String> muids)
MailboxManagementService
getMailboxes in interface MailboxManagementServicesession - a Core Sessionmuids - Users ids
public List<MailboxHeader> getMailboxesHeaders(org.nuxeo.ecm.core.api.CoreSession session,
List<String> muids)
MailboxManagementService
getMailboxesHeaders in interface MailboxManagementService
public List<Mailbox> getUserMailboxes(org.nuxeo.ecm.core.api.CoreSession session,
String user)
MailboxManagementService
getUserMailboxes in interface MailboxManagementServiceuser - User id
public Mailbox getUserPersonalMailbox(org.nuxeo.ecm.core.api.CoreSession session,
String user)
MailboxManagementService
getUserPersonalMailbox in interface MailboxManagementServiceuser - User id
public List<Mailbox> createPersonalMailboxes(org.nuxeo.ecm.core.api.CoreSession session,
String user)
MailboxManagementService
createPersonalMailboxes in interface MailboxManagementService
public Mailbox getUserPersonalMailboxForEmail(org.nuxeo.ecm.core.api.CoreSession session,
String userEmail)
MailboxManagementService
getUserPersonalMailboxForEmail in interface MailboxManagementService
public List<MailboxHeader> searchMailboxes(org.nuxeo.ecm.core.api.CoreSession session,
String pattern,
String type)
MailboxManagementService
searchMailboxes in interface MailboxManagementServicepattern - matching the box titletype - mailbox type (generic, personal, etc... or null to match
all)
public boolean hasUserPersonalMailbox(org.nuxeo.ecm.core.api.CoreSession session,
String userId)
MailboxManagementService
hasUserPersonalMailbox in interface MailboxManagementServicepublic String getUserPersonalMailboxId(String user)
getUserPersonalMailboxId in interface MailboxManagementServiceuser - Owner of the mailbox
|
Nuxeo Enterprise Platform 5.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||