|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MailboxManagementService
Correspondence service.
Method Summary | |
---|---|
List<Mailbox> |
createPersonalMailboxes(org.nuxeo.ecm.core.api.CoreSession session,
String userId)
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 documentManager,
String fav)
|
List<Mailbox> |
getUserMailboxes(org.nuxeo.ecm.core.api.CoreSession session,
String userId)
Returns all mailboxes for given user. |
Mailbox |
getUserPersonalMailbox(org.nuxeo.ecm.core.api.CoreSession session,
String userId)
Returns the personal mailbox of the given user. |
Mailbox |
getUserPersonalMailboxForEmail(org.nuxeo.ecm.core.api.CoreSession session,
String email)
Returns a mailbox for given email |
String |
getUserPersonalMailboxId(String user)
Returns the personal mailbox id for this user. |
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 |
Method Detail |
---|
Mailbox getMailbox(org.nuxeo.ecm.core.api.CoreSession session, String muid)
session
- muid
- User idboolean hasMailbox(org.nuxeo.ecm.core.api.CoreSession session, String muid)
session
- muid
- mailbox idList<MailboxHeader> getMailboxesHeaders(org.nuxeo.ecm.core.api.CoreSession session, List<String> muids)
session
- muids
-
List<Mailbox> getMailboxes(org.nuxeo.ecm.core.api.CoreSession session, List<String> muids)
session
- a Core Sessionmuids
- Users idsString getUserPersonalMailboxId(String user)
user
- User idList<Mailbox> getUserMailboxes(org.nuxeo.ecm.core.api.CoreSession session, String userId)
session
- userId
- User idMailbox getUserPersonalMailbox(org.nuxeo.ecm.core.api.CoreSession session, String userId)
session
- userId
- User idMailbox getUserPersonalMailboxForEmail(org.nuxeo.ecm.core.api.CoreSession session, String email)
session
- email
- List<MailboxHeader> searchMailboxes(org.nuxeo.ecm.core.api.CoreSession session, String pattern, String type)
session
- pattern
- matching the box titletype
- mailbox type (generic, personal, etc... or null to match
all)List<Mailbox> createPersonalMailboxes(org.nuxeo.ecm.core.api.CoreSession session, String userId)
session
- userId
-
boolean hasUserPersonalMailbox(org.nuxeo.ecm.core.api.CoreSession session, String userId)
session
- userId
-
MailboxHeader getMailboxHeader(org.nuxeo.ecm.core.api.CoreSession documentManager, String fav)
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |