| 
 | 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.ejb.MailboxManagementBean
public class MailboxManagementBean
| Constructor Summary | |
|---|---|
| MailboxManagementBean() | |
| 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 session,
                 String mailboxId) | 
|  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 | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public MailboxManagementBean()
| 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 List<MailboxHeader> getMailboxesHeaders(org.nuxeo.ecm.core.api.CoreSession session,
                                               List<String> muids)
MailboxManagementService
getMailboxesHeaders 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 idspublic String getUserPersonalMailboxId(String user)
MailboxManagementService
getUserPersonalMailboxId in interface MailboxManagementServiceuser - User id
public List<Mailbox> getUserMailboxes(org.nuxeo.ecm.core.api.CoreSession session,
                                      String userId)
MailboxManagementService
getUserMailboxes in interface MailboxManagementServiceuserId - User id
public Mailbox getUserPersonalMailbox(org.nuxeo.ecm.core.api.CoreSession session,
                                      String userId)
MailboxManagementService
getUserPersonalMailbox in interface MailboxManagementServiceuserId - User id
public Mailbox getUserPersonalMailboxForEmail(org.nuxeo.ecm.core.api.CoreSession session,
                                              String email)
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 List<Mailbox> createPersonalMailboxes(org.nuxeo.ecm.core.api.CoreSession session,
                                             String userId)
MailboxManagementService
createPersonalMailboxes in interface MailboxManagementService
public boolean hasUserPersonalMailbox(org.nuxeo.ecm.core.api.CoreSession session,
                                      String userId)
MailboxManagementService
hasUserPersonalMailbox in interface MailboxManagementService
public MailboxHeader getMailboxHeader(org.nuxeo.ecm.core.api.CoreSession session,
                                      String mailboxId)
getMailboxHeader in interface MailboxManagementService| 
 | Nuxeo Enterprise Platform 5.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||