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 Details

    • repositoryName

      protected static String repositoryName
  • Constructor Details

    • DocumentStoreSessionRunner

      public DocumentStoreSessionRunner()
    • DocumentStoreSessionRunner

      public DocumentStoreSessionRunner(CoreSession session)
  • Method Details

    • setRepositoryName

      public static void setRepositoryName(String name)
      Should be Invoked at startup
    • runSafe

      public void runSafe()
      Run with the nuxeo class loader, wrap client exception into errors
    • errorMessage

      protected String errorMessage()