Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.publisher.impl.service
Class DomainsFinder

java.lang.Object
  extended by org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
      extended by org.nuxeo.ecm.platform.publisher.impl.service.DomainsFinder

public class DomainsFinder
extends UnrestrictedSessionRunner

Author:
Thomas Roger

Field Summary
 
Fields inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
isUnrestricted
 
Constructor Summary
DomainsFinder(java.lang.String repositoryName)
           
 
Method Summary
 java.util.List<DocumentModel> getDomains()
           
 void run()
          This method will be called by UnrestrictedSessionRunner.runUnrestricted() with UnrestrictedSessionRunner.session available as an unrestricted session.
 
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

DomainsFinder

public DomainsFinder(java.lang.String repositoryName)
Method Detail

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

getDomains

public java.util.List<DocumentModel> getDomains()
                                         throws ClientException
Throws:
ClientException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.