Class DocumentStoreSessionRunner
- java.lang.Object
-
- org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
-
- org.nuxeo.ecm.core.management.storage.DocumentStoreSessionRunner
-
- Direct Known Subclasses:
DocumentModelStatusPersister.StatusFetcher,PopulateRepositoryProbe.Runner
public abstract class DocumentStoreSessionRunner extends UnrestrictedSessionRunner
Runner dedicated to mgmt doc operations- Author:
- Stephane Lacoin [aka matic]
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringrepositoryName-
Fields inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
isUnrestricted, originatingUsername, session, sessionIsAlreadyUnrestricted
-
-
Constructor Summary
Constructors Constructor Description DocumentStoreSessionRunner()DocumentStoreSessionRunner(CoreSession session)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringerrorMessage()voidrunSafe()Run with the nuxeo class loader, wrap client exception into errorsstatic voidsetRepositoryName(String name)Should be Invoked at startup-
Methods inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
checkUnrestricted, getOriginatingUsername, run, runUnrestricted, setOriginatingUsername
-
-
-
-
Field Detail
-
repositoryName
protected static String repositoryName
-
-
Constructor Detail
-
DocumentStoreSessionRunner
public DocumentStoreSessionRunner()
-
DocumentStoreSessionRunner
public DocumentStoreSessionRunner(CoreSession session)
-
-