Class HoldsGet

  • All Implemented Interfaces:
    org.springframework.extensions.webscripts.WebScript

    public class HoldsGet
    extends org.springframework.extensions.webscripts.DeclarativeWebScript
    Implementation for Java backed webscript to return the list of holds in the hold container.
    Since:
    2.2
    Author:
    Tuna Aksoy
    • 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
      HoldsGet()  
    • 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 setFilePlanService​(FilePlanService filePlanService)
      Set the file plan service
      void setHoldService​(HoldService holdService)
      Set the hold service
      void setNodeService​(org.alfresco.service.cmr.repository.NodeService nodeService)
      Set the node service
      void setPermissionService​(org.alfresco.service.cmr.security.PermissionService permissionService)
      Set the permission service
      • 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

      • HoldsGet

        public HoldsGet()
    • Method Detail

      • setFilePlanService

        public void setFilePlanService​(FilePlanService filePlanService)
        Set the file plan service
        Parameters:
        filePlanService - the file plan service
      • setNodeService

        public void setNodeService​(org.alfresco.service.cmr.repository.NodeService nodeService)
        Set the node service
        Parameters:
        nodeService - the node service
      • setHoldService

        public void setHoldService​(HoldService holdService)
        Set the hold service
        Parameters:
        holdService - the hold service
      • setPermissionService

        public void setPermissionService​(org.alfresco.service.cmr.security.PermissionService permissionService)
        Set the permission service
        Parameters:
        permissionService - the permission 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
        See Also:
        DeclarativeWebScript.executeImpl(org.springframework.extensions.webscripts.WebScriptRequest, org.springframework.extensions.webscripts.Status, org.springframework.extensions.webscripts.Cache)