org.nuxeo.cm.core.service
Class SearchMailboxesUnrestricted
java.lang.Object
org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
org.nuxeo.cm.core.service.SearchMailboxesUnrestricted
- Direct Known Subclasses:
- SearchMailboxesHeadersUnrestricted
public class SearchMailboxesUnrestricted
- extends org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
Searches mailboxes using an unrestricted session
Mailboxes have to be searchable to be able to select recipients, but senders
may not have access to them.
- Author:
- Anahide Tchertchian, Laurent Doguin
Fields inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner |
isUnrestricted |
Methods inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner |
getOriginatingUsername, runUnrestricted, setOriginatingUsername |
SearchMailboxesUnrestricted
public SearchMailboxesUnrestricted(org.nuxeo.ecm.core.api.CoreSession session,
String pattern,
String type)
run
public void run()
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
run
in class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
- Throws:
org.nuxeo.ecm.core.api.ClientException
getMailboxes
public List<Mailbox> getMailboxes()
Copyright © 2011 Nuxeo SAS. All Rights Reserved.