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 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
SearchMailboxesUnrestricted
public SearchMailboxesUnrestricted(CoreSession session,
String pattern,
String type)
run
public void run()
throws ClientException
- Description copied from class:
UnrestrictedSessionRunner
- This method will be called by
UnrestrictedSessionRunner.runUnrestricted()
with
UnrestrictedSessionRunner.session
available as an unrestricted session.
It can also be called directly in which case the UnrestrictedSessionRunner.session
available will be the one passed to
#UnrestrictedSessionRunner(CoreSession)
.
- Specified by:
run
in class UnrestrictedSessionRunner
- Throws:
ClientException
getMailboxes
public List<Mailbox> getMailboxes()
Copyright © 2012 Nuxeo SA. All Rights Reserved.