public class BulkFilesystemImportWebScript extends AbstractBulkFileSystemImportWebScript
COMPANY_HOME_NAME, COMPANY_HOME_PATH, fileFolderService, IMPORT_ALREADY_IN_PROGRESS_ERROR_KEY, IMPORT_ALREADY_IN_PROGRESS_MODEL_KEY, importInProgress, logger, PARAMETER_BATCH_SIZE, PARAMETER_DISABLE_RULES, PARAMETER_EXISTING_FILE_MODE, PARAMETER_NUM_THREADS, PARAMETER_REPLACE_EXISTING, PARAMETER_SOURCE_DIRECTORY, PARAMETER_TARGET_NODEREF, PARAMETER_TARGET_PATH, PARAMETER_VALUE_DISABLE_RULES, PARAMETER_VALUE_REPLACE_EXISTING, repository, WEB_SCRIPT_URI_BULK_FILESYSTEM_IMPORT_STATUS
Constructor and Description |
---|
BulkFilesystemImportWebScript() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
executeImpl(org.springframework.extensions.webscripts.WebScriptRequest request,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache) |
void |
setBulkImporter(MultiThreadedBulkFilesystemImporter bulkImporter) |
void |
setNodeImporterFactory(StreamingNodeImporterFactory nodeImporterFactory) |
buildTextMessage, convertPathToNodeRef, getTargetNodeRef, setFileFolderService, setRepository
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
public void setBulkImporter(MultiThreadedBulkFilesystemImporter bulkImporter)
public void setNodeImporterFactory(StreamingNodeImporterFactory nodeImporterFactory)
protected Map<String,Object> executeImpl(org.springframework.extensions.webscripts.WebScriptRequest request, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
executeImpl
in class org.springframework.extensions.webscripts.DeclarativeWebScript
DeclarativeWebScript.executeImpl(org.springframework.extensions.webscripts.WebScriptRequest, org.springframework.extensions.webscripts.Status, org.springframework.extensions.webscripts.Cache)
Copyright © 2005–2017 Alfresco Software. All rights reserved.