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_EXISTING_FILE_MODE |
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 org.alfresco.service.cmr.repository.NodeRef |
convertPathToNodeRef(String targetPath) |
protected org.alfresco.service.cmr.repository.NodeRef |
getTargetNodeRef(String targetNodeRefStr,
String targetPath) |
void |
setFileFolderService(FileFolderService fileFolderService) |
void |
setRepository(Repository repository) |
execute, executeFinallyImpl, executeImpl, 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
protected 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_EXISTING_FILE_MODE
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 org.alfresco.service.cmr.repository.NodeRef getTargetNodeRef(String targetNodeRefStr, String targetPath) throws FileNotFoundException
FileNotFoundException
protected org.alfresco.service.cmr.repository.NodeRef convertPathToNodeRef(String targetPath) throws FileNotFoundException
FileNotFoundException
public void setFileFolderService(FileFolderService fileFolderService)
public void setRepository(Repository repository)
Copyright © 2005–2017 Alfresco Software. All rights reserved.