public static class DocumentModelStatusPersister.StatusFetcher extends DocumentStoreSessionRunner
| Modifier and Type | Field and Description | 
|---|---|
protected List<String> | 
allInstanceIds  | 
protected String | 
instanceId  | 
protected String | 
serviceId  | 
protected List<AdministrativeStatus> | 
statuses  | 
repositoryNameisUnrestricted, originatingUsername, session, sessionIsAlreadyUnrestricted| Constructor and Description | 
|---|
StatusFetcher(String instanceId,
             String serviceId)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected String | 
errorMessage()  | 
void | 
run()
This method will be called by  
UnrestrictedSessionRunner.runUnrestricted() with UnrestrictedSessionRunner.session available as an unrestricted
 session. | 
protected AdministrativeStatus | 
wrap(DocumentModel doc)  | 
runSafe, setRepositoryNamecheckUnrestricted, getOriginatingUsername, runUnrestricted, setOriginatingUsernameprotected final String instanceId
protected final List<String> allInstanceIds
protected final List<AdministrativeStatus> statuses
public StatusFetcher(String instanceId, String serviceId)
protected String errorMessage()
errorMessage in class DocumentStoreSessionRunnerpublic void run()
UnrestrictedSessionRunnerUnrestrictedSessionRunner.runUnrestricted() with UnrestrictedSessionRunner.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).
run in class UnrestrictedSessionRunnerprotected AdministrativeStatus wrap(DocumentModel doc)
Copyright © 2019 Nuxeo. All rights reserved.