org.alfresco.repo.web.scripts.bulkimport
Class AbstractBulkFileSystemImportWebScript
java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
org.alfresco.repo.web.scripts.bulkimport.AbstractBulkFileSystemImportWebScript
- All Implemented Interfaces:
- org.springframework.extensions.webscripts.WebScript
- Direct Known Subclasses:
- BulkFilesystemImportWebScript
public class AbstractBulkFileSystemImportWebScript
- extends org.springframework.extensions.webscripts.DeclarativeWebScript
contains common fields and methods for the import web scripts.
Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript |
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails |
Method Summary |
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)
|
Methods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript |
execute, executeFinallyImpl, executeImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate |
Methods inherited from class org.springframework.extensions.webscripts.AbstractWebScript |
createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
logger
protected static final org.apache.commons.logging.Log logger
WEB_SCRIPT_URI_BULK_FILESYSTEM_IMPORT_STATUS
protected static final java.lang.String WEB_SCRIPT_URI_BULK_FILESYSTEM_IMPORT_STATUS
- See Also:
- Constant Field Values
PARAMETER_TARGET_NODEREF
protected static final java.lang.String PARAMETER_TARGET_NODEREF
- See Also:
- Constant Field Values
PARAMETER_TARGET_PATH
protected static final java.lang.String PARAMETER_TARGET_PATH
- See Also:
- Constant Field Values
COMPANY_HOME_NAME
protected static final java.lang.String COMPANY_HOME_NAME
- See Also:
- Constant Field Values
COMPANY_HOME_PATH
protected static final java.lang.String COMPANY_HOME_PATH
- See Also:
- Constant Field Values
PARAMETER_REPLACE_EXISTING
protected static final java.lang.String PARAMETER_REPLACE_EXISTING
- See Also:
- Constant Field Values
PARAMETER_VALUE_REPLACE_EXISTING
protected static final java.lang.String PARAMETER_VALUE_REPLACE_EXISTING
- See Also:
- Constant Field Values
PARAMETER_SOURCE_DIRECTORY
protected static final java.lang.String PARAMETER_SOURCE_DIRECTORY
- See Also:
- Constant Field Values
PARAMETER_DISABLE_RULES
protected static final java.lang.String PARAMETER_DISABLE_RULES
- See Also:
- Constant Field Values
PARAMETER_VALUE_DISABLE_RULES
protected static final java.lang.String PARAMETER_VALUE_DISABLE_RULES
- See Also:
- Constant Field Values
IMPORT_ALREADY_IN_PROGRESS_MODEL_KEY
protected static final java.lang.String IMPORT_ALREADY_IN_PROGRESS_MODEL_KEY
- See Also:
- Constant Field Values
IMPORT_ALREADY_IN_PROGRESS_ERROR_KEY
protected static final java.lang.String IMPORT_ALREADY_IN_PROGRESS_ERROR_KEY
- See Also:
- Constant Field Values
PARAMETER_BATCH_SIZE
protected static final java.lang.String PARAMETER_BATCH_SIZE
- See Also:
- Constant Field Values
PARAMETER_NUM_THREADS
protected static final java.lang.String PARAMETER_NUM_THREADS
- See Also:
- Constant Field Values
fileFolderService
protected org.alfresco.service.cmr.model.FileFolderService fileFolderService
repository
protected org.alfresco.repo.model.Repository repository
importInProgress
protected volatile boolean importInProgress
AbstractBulkFileSystemImportWebScript
public AbstractBulkFileSystemImportWebScript()
getTargetNodeRef
protected org.alfresco.service.cmr.repository.NodeRef getTargetNodeRef(java.lang.String targetNodeRefStr,
java.lang.String targetPath)
throws org.alfresco.service.cmr.model.FileNotFoundException
- Throws:
org.alfresco.service.cmr.model.FileNotFoundException
convertPathToNodeRef
protected org.alfresco.service.cmr.repository.NodeRef convertPathToNodeRef(java.lang.String targetPath)
throws org.alfresco.service.cmr.model.FileNotFoundException
- Throws:
org.alfresco.service.cmr.model.FileNotFoundException
buildTextMessage
protected java.lang.String buildTextMessage(java.lang.Throwable t)
setFileFolderService
public void setFileFolderService(org.alfresco.service.cmr.model.FileFolderService fileFolderService)
setRepository
public void setRepository(org.alfresco.repo.model.Repository repository)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.