Class 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
    • Constructor Summary

      Constructors 
      Constructor Description
      ImportPost()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected Map<String,​Object> executeImpl​(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)  
      void setDictionaryService​(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
      Sets the data dictionary service
      void setFilePlanRoleService​(FilePlanRoleService filePlanRoleService)  
      void setFilePlanService​(FilePlanService filePlanService)  
      void setImporterService​(org.alfresco.service.cmr.view.ImporterService importerService)
      Sets the ImporterService to use
      void setNodeService​(org.alfresco.service.cmr.repository.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
    • Constructor Detail

      • ImportPost

        public ImportPost()
    • Method Detail

      • setNodeService

        public void setNodeService​(org.alfresco.service.cmr.repository.NodeService nodeService)
        Parameters:
        nodeService -
      • setDictionaryService

        public void setDictionaryService​(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
        Sets the data dictionary service
        Parameters:
        dictionaryService - The DictionaryService instance
      • setImporterService

        public void setImporterService​(org.alfresco.service.cmr.view.ImporterService importerService)
        Sets the ImporterService to use
        Parameters:
        importerService - The ImporterService
      • setFilePlanRoleService

        public void setFilePlanRoleService​(FilePlanRoleService filePlanRoleService)
        Parameters:
        filePlanRoleService - file plan role service
      • setFilePlanService

        public void setFilePlanService​(FilePlanService filePlanService)
        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 class org.springframework.extensions.webscripts.DeclarativeWebScript