public class AbstractBulkFileSystemImportWebScript
extends org.springframework.extensions.webscripts.DeclarativeWebScript
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
COMPANY_HOME_NAME |
protected static java.lang.String |
COMPANY_HOME_PATH |
protected org.alfresco.service.cmr.model.FileFolderService |
fileFolderService |
protected static java.lang.String |
IMPORT_ALREADY_IN_PROGRESS_ERROR_KEY |
protected static java.lang.String |
IMPORT_ALREADY_IN_PROGRESS_MODEL_KEY |
protected boolean |
importInProgress |
protected static org.apache.commons.logging.Log |
logger |
protected static java.lang.String |
PARAMETER_BATCH_SIZE |
protected static java.lang.String |
PARAMETER_DISABLE_RULES |
protected static java.lang.String |
PARAMETER_NUM_THREADS |
protected static java.lang.String |
PARAMETER_REPLACE_EXISTING |
protected static java.lang.String |
PARAMETER_SOURCE_DIRECTORY |
protected static java.lang.String |
PARAMETER_TARGET_NODEREF |
protected static java.lang.String |
PARAMETER_TARGET_PATH |
protected static java.lang.String |
PARAMETER_VALUE_DISABLE_RULES |
protected static java.lang.String |
PARAMETER_VALUE_REPLACE_EXISTING |
protected org.alfresco.repo.model.Repository |
repository |
protected static java.lang.String |
WEB_SCRIPT_URI_BULK_FILESYSTEM_IMPORT_STATUS |
| Constructor and Description |
|---|
AbstractBulkFileSystemImportWebScript() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
buildTextMessage(java.lang.Throwable t) |
protected org.alfresco.service.cmr.repository.NodeRef |
convertPathToNodeRef(java.lang.String targetPath) |
protected org.alfresco.service.cmr.repository.NodeRef |
getTargetNodeRef(java.lang.String targetNodeRefStr,
java.lang.String targetPath) |
void |
setFileFolderService(org.alfresco.service.cmr.model.FileFolderService fileFolderService) |
void |
setRepository(org.alfresco.repo.model.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 java.lang.String WEB_SCRIPT_URI_BULK_FILESYSTEM_IMPORT_STATUS
protected static final java.lang.String PARAMETER_TARGET_NODEREF
protected static final java.lang.String PARAMETER_TARGET_PATH
protected static final java.lang.String COMPANY_HOME_NAME
protected static final java.lang.String COMPANY_HOME_PATH
protected static final java.lang.String PARAMETER_REPLACE_EXISTING
protected static final java.lang.String PARAMETER_VALUE_REPLACE_EXISTING
protected static final java.lang.String PARAMETER_SOURCE_DIRECTORY
protected static final java.lang.String PARAMETER_DISABLE_RULES
protected static final java.lang.String PARAMETER_VALUE_DISABLE_RULES
protected static final java.lang.String IMPORT_ALREADY_IN_PROGRESS_MODEL_KEY
protected static final java.lang.String IMPORT_ALREADY_IN_PROGRESS_ERROR_KEY
protected static final java.lang.String PARAMETER_BATCH_SIZE
protected static final java.lang.String PARAMETER_NUM_THREADS
protected org.alfresco.service.cmr.model.FileFolderService fileFolderService
protected org.alfresco.repo.model.Repository repository
protected volatile boolean importInProgress
public AbstractBulkFileSystemImportWebScript()
protected org.alfresco.service.cmr.repository.NodeRef getTargetNodeRef(java.lang.String targetNodeRefStr,
java.lang.String targetPath)
throws org.alfresco.service.cmr.model.FileNotFoundException
org.alfresco.service.cmr.model.FileNotFoundExceptionprotected org.alfresco.service.cmr.repository.NodeRef convertPathToNodeRef(java.lang.String targetPath)
throws org.alfresco.service.cmr.model.FileNotFoundException
org.alfresco.service.cmr.model.FileNotFoundExceptionprotected java.lang.String buildTextMessage(java.lang.Throwable t)
public void setFileFolderService(org.alfresco.service.cmr.model.FileFolderService fileFolderService)
public void setRepository(org.alfresco.repo.model.Repository repository)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.