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
public static class DocumentModelStatusPersister.StatusFetcher extends DocumentStoreSessionRunner
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>
allInstanceIds
protected String
instanceId
protected String
serviceId
protected List<AdministrativeStatus>
statuses
-
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
Constructors Constructor Description StatusFetcher(String instanceId, String serviceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
errorMessage()
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
-
-
-
-
Method Detail
-
errorMessage
protected String 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
protected AdministrativeStatus wrap(DocumentModel doc)
-
-