public class PostAttachedFileRunner extends AbstractRunner
docsOnError, EMPTY_ID_FILTER, FILTERED_SERVICES_LIST, FIXED_CLAUSE, inputs, MIGRATION_DONE, mode, params, results, totalInputs, treatedInputs| Constructor and Description |
|---|
PostAttachedFileRunner(org.nuxeo.ecm.core.api.CoreSession session)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkBlobProperties(org.nuxeo.ecm.core.api.DocumentModel post,
org.nuxeo.ecm.core.storage.StorageBlob blobProp)
Logs possible missing properties.
|
void |
run()
Moves blob from post schema to files schema.
|
int |
setInputs(int limit)
Gets Post having one attched file (stored via post schema).
|
getDocsOnError, getMode, getTotalInputs, getTreatedInputs, removeDocsWithError, resetDocsOnerror, runSilentlyInTx, setMode, setParamssilentRun, silentRunpublic PostAttachedFileRunner(org.nuxeo.ecm.core.api.CoreSession session)
session - public int setInputs(int limit)
setInputs in class AbstractRunnerpublic void run()
throws org.nuxeo.ecm.core.api.ClientException
run in class AbstractRunnerorg.nuxeo.ecm.core.api.ClientExceptionprotected void checkBlobProperties(org.nuxeo.ecm.core.api.DocumentModel post,
org.nuxeo.ecm.core.storage.StorageBlob blobProp)
blobProp - Copyright © 2020. All rights reserved.