public interface MailboxManagementService extends Serializable
Modifier and Type | Method and Description |
---|---|
List<Mailbox> |
createPersonalMailboxes(CoreSession session,
String userId)
Create the personal Mailbox with the registered
|
Mailbox |
getMailbox(CoreSession session,
String muid)
Returns the mailbox with given unique identifier.
|
List<Mailbox> |
getMailboxes(CoreSession session,
List<String> muids)
Returns the mailboxes with given unique identifiers.
|
List<MailboxHeader> |
getMailboxesHeaders(CoreSession session,
List<String> muids)
Returns the mailboxes with given unique identifiers and a session.
|
MailboxHeader |
getMailboxHeader(CoreSession documentManager,
String fav) |
List<Mailbox> |
getUserMailboxes(CoreSession session,
String userId)
Returns all mailboxes for given user.
|
Mailbox |
getUserPersonalMailbox(CoreSession session,
String userId)
Returns the personal mailbox of the given user.
|
Mailbox |
getUserPersonalMailboxForEmail(CoreSession session,
String email)
Returns a mailbox for given email
|
String |
getUserPersonalMailboxId(String user)
Returns the personal mailbox id for this user.
|
boolean |
hasMailbox(CoreSession session,
String muid)
Returns true if a mailbox with given id exists
|
boolean |
hasUserPersonalMailbox(CoreSession session,
String userId)
Test if the user has a personal mailbox created
|
List<MailboxHeader> |
searchMailboxes(CoreSession session,
String pattern,
String type)
Search mailboxes with given pattern
|
Mailbox getMailbox(CoreSession session, String muid)
session
- muid
- User idboolean hasMailbox(CoreSession session, String muid)
session
- muid
- mailbox idList<MailboxHeader> getMailboxesHeaders(CoreSession session, List<String> muids)
session
- muids
- List<Mailbox> getMailboxes(CoreSession session, List<String> muids)
session
- a Core Sessionmuids
- Users idsString getUserPersonalMailboxId(String user)
user
- User idList<Mailbox> getUserMailboxes(CoreSession session, String userId)
session
- userId
- User idMailbox getUserPersonalMailbox(CoreSession session, String userId)
session
- userId
- User idMailbox getUserPersonalMailboxForEmail(CoreSession session, String email)
session
- email
- List<MailboxHeader> searchMailboxes(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(CoreSession session, String userId)
session
- userId
- boolean hasUserPersonalMailbox(CoreSession session, String userId)
session
- userId
- MailboxHeader getMailboxHeader(CoreSession documentManager, String fav)
Copyright © 2011 Nuxeo SA. All Rights Reserved.