Class ImportPost
java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
org.alfresco.module.org_alfresco_module_rm.script.ImportPost
- All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
public class ImportPost
extends org.springframework.extensions.webscripts.DeclarativeWebScript
Imports an ACP file into a records management container.
- Author:
- Gavin Cornwell
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DictionaryServiceprotected FilePlanRoleServiceprotected FilePlanServiceprotected ImporterServiceprotected static final Stringprotected NodeServiceprotected static final Stringprotected static final Stringprotected static final Stringprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache) voidsetDictionaryService(DictionaryService dictionaryService) Sets the data dictionary servicevoidsetFilePlanRoleService(FilePlanRoleService filePlanRoleService) voidsetFilePlanService(FilePlanService filePlanService) voidsetImporterService(ImporterService importerService) Sets the ImporterService to usevoidsetNodeService(NodeService nodeService) Methods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplateMethods inherited from class org.springframework.extensions.webscripts.AbstractWebScript
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
-
Field Details
-
MULTIPART_FORMDATA
- See Also:
-
PARAM_DESTINATION
- See Also:
-
PARAM_ARCHIVE
- See Also:
-
PARAM_FILEDATA
- See Also:
-
TEMP_FILE_PREFIX
- See Also:
-
nodeService
-
dictionaryService
-
importerService
-
filePlanRoleService
-
filePlanService
-
-
Constructor Details
-
ImportPost
public ImportPost()
-
-
Method Details
-
setNodeService
- Parameters:
nodeService-
-
setDictionaryService
Sets the data dictionary service- Parameters:
dictionaryService- The DictionaryService instance
-
setImporterService
Sets the ImporterService to use- Parameters:
importerService- The ImporterService
-
setFilePlanRoleService
- Parameters:
filePlanRoleService- file plan role service
-
setFilePlanService
- Parameters:
filePlanService- file plan service
-
executeImpl
protected Map<String,Object> executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache) - Overrides:
executeImplin classorg.springframework.extensions.webscripts.DeclarativeWebScript
-