Class RMMetaDataGet

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

    public class RMMetaDataGet
    extends org.springframework.extensions.webscripts.DeclarativeWebScript
    RM metadata used by form extension
    Author:
    Roy Wetherall
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      class  RMMetaDataGet.Aspect
      Aspect wrapper class
      class  RMMetaDataGet.QNameBean
      Qname wrapper class
      • Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript

        org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails
    • Constructor Summary

      Constructors 
      Constructor Description
      RMMetaDataGet()  
    • 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)  
      List<RMMetaDataGet.Aspect> getAspects​(org.alfresco.service.cmr.repository.NodeRef nodeRef)
      Gets the current node aspects
      void setFilePlanService​(FilePlanService filePlanService)  
      void setNamespaceService​(org.alfresco.service.namespace.NamespaceService namespaceService)  
      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

      • RMMetaDataGet

        public RMMetaDataGet()
    • Method Detail

      • setNamespaceService

        public void setNamespaceService​(org.alfresco.service.namespace.NamespaceService namespaceService)
        Parameters:
        namespaceService - namespace service
      • setFilePlanService

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

        public void setNodeService​(org.alfresco.service.cmr.repository.NodeService nodeService)
        Parameters:
        nodeService - node 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
      • getAspects

        public List<RMMetaDataGet.Aspect> getAspects​(org.alfresco.service.cmr.repository.NodeRef nodeRef)
        Gets the current node aspects
        Returns:
        node aspects