public class AbstractBulkFileSystemImportWebScript
extends org.springframework.extensions.webscripts.DeclarativeWebScript
| Modifier and Type | Field and Description |
|---|---|
protected static String |
COMPANY_HOME_NAME |
protected static String |
COMPANY_HOME_PATH |
protected FileFolderService |
fileFolderService |
protected static String |
IMPORT_ALREADY_IN_PROGRESS_ERROR_KEY |
protected static String |
IMPORT_ALREADY_IN_PROGRESS_MODEL_KEY |
protected boolean |
importInProgress |
protected static org.apache.commons.logging.Log |
logger |
protected static String |
PARAMETER_BATCH_SIZE |
protected static String |
PARAMETER_DISABLE_RULES |
protected static String |
PARAMETER_NUM_THREADS |
protected static String |
PARAMETER_REPLACE_EXISTING |
protected static String |
PARAMETER_SOURCE_DIRECTORY |
protected static String |
PARAMETER_TARGET_NODEREF |
protected static String |
PARAMETER_TARGET_PATH |
protected static String |
PARAMETER_VALUE_DISABLE_RULES |
protected static String |
PARAMETER_VALUE_REPLACE_EXISTING |
protected Repository |
repository |
protected static String |
WEB_SCRIPT_URI_BULK_FILESYSTEM_IMPORT_STATUS |
| Constructor and Description |
|---|
AbstractBulkFileSystemImportWebScript() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildTextMessage(Throwable t) |
protected NodeRef |
convertPathToNodeRef(String targetPath) |
protected NodeRef |
getTargetNodeRef(String targetNodeRefStr,
String targetPath) |
void |
setFileFolderService(FileFolderService fileFolderService) |
void |
setRepository(Repository repository) |
execute, executeFinallyImpl, executeImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplateaddModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toStringprotected static final org.apache.commons.logging.Log logger
protected static final String WEB_SCRIPT_URI_BULK_FILESYSTEM_IMPORT_STATUS
protected static final String PARAMETER_TARGET_NODEREF
protected static final String PARAMETER_TARGET_PATH
protected static final String COMPANY_HOME_NAME
protected static final String COMPANY_HOME_PATH
protected static final String PARAMETER_REPLACE_EXISTING
protected static final String PARAMETER_VALUE_REPLACE_EXISTING
protected static final String PARAMETER_SOURCE_DIRECTORY
protected static final String PARAMETER_DISABLE_RULES
protected static final String PARAMETER_VALUE_DISABLE_RULES
protected static final String IMPORT_ALREADY_IN_PROGRESS_MODEL_KEY
protected static final String IMPORT_ALREADY_IN_PROGRESS_ERROR_KEY
protected static final String PARAMETER_BATCH_SIZE
protected static final String PARAMETER_NUM_THREADS
protected FileFolderService fileFolderService
protected Repository repository
protected volatile boolean importInProgress
public AbstractBulkFileSystemImportWebScript()
protected NodeRef getTargetNodeRef(String targetNodeRefStr, String targetPath) throws FileNotFoundException
FileNotFoundExceptionprotected NodeRef convertPathToNodeRef(String targetPath) throws FileNotFoundException
FileNotFoundExceptionpublic void setFileFolderService(FileFolderService fileFolderService)
public void setRepository(Repository repository)
Copyright © 2005–2014 Alfresco Software. All rights reserved.