Class DocumentModelStatusPersister.StatusFetcher
java.lang.Object
org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
org.nuxeo.ecm.core.management.storage.DocumentStoreSessionRunner
org.nuxeo.ecm.core.management.storage.DocumentModelStatusPersister.StatusFetcher
- Enclosing class:
- DocumentModelStatusPersister
-
Field Summary
Modifier and TypeFieldDescriptionprotected final String
protected final String
protected final List<AdministrativeStatus>
Fields inherited from class org.nuxeo.ecm.core.management.storage.DocumentStoreSessionRunner
repositoryName
Fields inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
isUnrestricted, originatingUsername, session, sessionIsAlreadyUnrestricted
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
void
run()
This method will be called byUnrestrictedSessionRunner.runUnrestricted()
withUnrestrictedSessionRunner.session
available as an unrestricted session.protected AdministrativeStatus
wrap
(DocumentModel doc) Methods inherited from class org.nuxeo.ecm.core.management.storage.DocumentStoreSessionRunner
runSafe, setRepositoryName
Methods inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
checkUnrestricted, getOriginatingUsername, runUnrestricted, setOriginatingUsername
-
Field Details
-
instanceId
-
serviceId
-
allInstanceIds
-
statuses
-
-
Constructor Details
-
StatusFetcher
-
-
Method Details
-
errorMessage
- Overrides:
errorMessage
in classDocumentStoreSessionRunner
-
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
-
wrap
-