org.nuxeo.ecm.platform.publisher.impl.service
Class DomainsFinder
java.lang.Object
org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
org.nuxeo.ecm.platform.publisher.impl.service.DomainsFinder
public class DomainsFinder
- extends UnrestrictedSessionRunner
- Author:
- Thomas Roger
DomainsFinder
public DomainsFinder(String repositoryName)
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 List<DocumentModel> getDomains()
throws ClientException
- Throws:
ClientException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.