Package org.nuxeo.ecm.platform.relations
Class CoreGraph.ResourceFinder
- java.lang.Object
-
- org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
-
- org.nuxeo.ecm.platform.relations.CoreGraph.ResourceFinder
-
- Enclosing class:
- CoreGraph
protected class CoreGraph.ResourceFinder extends UnrestrictedSessionRunner
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
found
protected Resource
resource
-
Fields inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
isUnrestricted, originatingUsername, repositoryName, session, sessionIsAlreadyUnrestricted
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ResourceFinder(Resource resource)
protected
ResourceFinder(Resource resource, CoreSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
This method will be called byUnrestrictedSessionRunner.runUnrestricted()
withUnrestrictedSessionRunner.session
available as an unrestricted session.protected String
whereAnyBuilder(String query, Resource resource)
-
Methods inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
checkUnrestricted, getOriginatingUsername, runUnrestricted, setOriginatingUsername
-
-
-
-
Field Detail
-
found
protected boolean found
-
resource
protected Resource resource
-
-
Constructor Detail
-
ResourceFinder
protected ResourceFinder(Resource resource)
-
ResourceFinder
protected ResourceFinder(Resource resource, CoreSession session)
-
-
Method Detail
-
run
public void run()
Description copied from class:UnrestrictedSessionRunner
This method will be called byUnrestrictedSessionRunner.runUnrestricted()
withUnrestrictedSessionRunner.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 classUnrestrictedSessionRunner
-
-