Nuxeo Enterprise Platform 5.4

org.nuxeo.cm.core.service
Class SearchMailboxesHeadersUnrestricted

java.lang.Object
  extended by org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
      extended by org.nuxeo.cm.core.service.SearchMailboxesUnrestricted
          extended by org.nuxeo.cm.core.service.SearchMailboxesHeadersUnrestricted

public class SearchMailboxesHeadersUnrestricted
extends SearchMailboxesUnrestricted

Searches mailboxes headers using an unrestricted session

Mailboxes have to be searchable to be able to select recipients, but senders may not have access to them.

Author:
Laurent Doguin

Field Summary
 
Fields inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
isUnrestricted
 
Constructor Summary
SearchMailboxesHeadersUnrestricted(org.nuxeo.ecm.core.api.CoreSession session, String pattern, String type)
           
 
Method Summary
 List<MailboxHeader> getMailboxesHeaders()
           
 void run()
           
 
Methods inherited from class org.nuxeo.cm.core.service.SearchMailboxesUnrestricted
getMailboxes
 
Methods inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
getOriginatingUsername, runUnrestricted, setOriginatingUsername
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchMailboxesHeadersUnrestricted

public SearchMailboxesHeadersUnrestricted(org.nuxeo.ecm.core.api.CoreSession session,
                                          String pattern,
                                          String type)
Method Detail

run

public void run()
         throws org.nuxeo.ecm.core.api.ClientException
Overrides:
run in class SearchMailboxesUnrestricted
Throws:
org.nuxeo.ecm.core.api.ClientException

getMailboxesHeaders

public List<MailboxHeader> getMailboxesHeaders()

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.