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 DictionaryService
protected FilePlanRoleService
protected FilePlanService
protected ImporterService
protected static final String
protected NodeService
protected static final String
protected static final String
protected static final String
protected 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) void
setDictionaryService
(DictionaryService dictionaryService) Sets the data dictionary servicevoid
setFilePlanRoleService
(FilePlanRoleService filePlanRoleService) void
setFilePlanService
(FilePlanService filePlanService) void
setImporterService
(ImporterService importerService) Sets the ImporterService to usevoid
setNodeService
(NodeService nodeService) Methods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate
Methods 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:
executeImpl
in classorg.springframework.extensions.webscripts.DeclarativeWebScript
-