public class StatsTaskRunner extends UnrestrictedSessionRunner
Modifier and Type | Field and Description |
---|---|
protected StatsTask |
hostTask |
protected boolean |
includeBlob |
protected static org.apache.commons.logging.Log |
log |
protected DocumentRef |
rootref |
isUnrestricted, originatingUsername, repositoryName, session, sessionIsAlreadyUnrestricted
Constructor and Description |
---|
StatsTaskRunner(String repositoryName,
boolean includeBlob,
DocumentRef rootref,
StatsTask hostTask) |
Modifier and Type | Method and Description |
---|---|
void |
run()
This method will be called by
UnrestrictedSessionRunner.runUnrestricted() with UnrestrictedSessionRunner.session available as an unrestricted
session. |
getOriginatingUsername, isUnrestricted, runUnrestricted, setOriginatingUsername
protected static final org.apache.commons.logging.Log log
protected final boolean includeBlob
protected final DocumentRef rootref
public StatsTaskRunner(String repositoryName, boolean includeBlob, DocumentRef rootref, StatsTask hostTask)
public void run()
UnrestrictedSessionRunner
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)
.
run
in class UnrestrictedSessionRunner
Copyright © 2016 Nuxeo SA. All rights reserved.