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
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final Stringprotected final List<AdministrativeStatus> Fields inherited from class org.nuxeo.ecm.core.management.storage.DocumentStoreSessionRunner
repositoryNameFields inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
isUnrestricted, originatingUsername, session, sessionIsAlreadyUnrestricted -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringvoidrun()This method will be called byUnrestrictedSessionRunner.runUnrestricted()withUnrestrictedSessionRunner.sessionavailable as an unrestricted session.protected AdministrativeStatuswrap(DocumentModel doc) Methods inherited from class org.nuxeo.ecm.core.management.storage.DocumentStoreSessionRunner
runSafe, setRepositoryNameMethods 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:
errorMessagein classDocumentStoreSessionRunner
-
run
public void run()Description copied from class:UnrestrictedSessionRunnerThis method will be called byUnrestrictedSessionRunner.runUnrestricted()withUnrestrictedSessionRunner.sessionavailable as an unrestricted session.It can also be called directly in which case the
UnrestrictedSessionRunner.sessionavailable will be the one passed to#UnrestrictedSessionRunner(CoreSession).- Specified by:
runin classUnrestrictedSessionRunner
-
wrap
-