Class BaseCustomPropertyWebScript

java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
org.alfresco.module.org_alfresco_module_rm.script.AbstractRmWebScript
org.alfresco.module.org_alfresco_module_rm.script.BaseCustomPropertyWebScript
All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
Direct Known Subclasses:
CustomPropertyDefinitionPost, CustomPropertyDefinitionPut, CustomPropertyDefinitionsGet

public class BaseCustomPropertyWebScript extends AbstractRmWebScript
Base class for all custom property webscripts.
Author:
Roy Wetherall
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript

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

    Fields inherited from class org.alfresco.module.org_alfresco_module_rm.script.AbstractRmWebScript

    ID, INVERT, PATH_SEPARATOR, STORE_ID, STORE_TYPE, SUCCESS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected QName
    mapToTypeQName(String elementName)
    Takes the element name and maps it to the QName of the customisable type.

    Methods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript

    execute, executeFinallyImpl, executeImpl, 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • BaseCustomPropertyWebScript

      public BaseCustomPropertyWebScript()
  • Method Details

    • mapToTypeQName

      protected QName mapToTypeQName(String elementName)
      Takes the element name and maps it to the QName of the customisable type. The passed element name should be a prefixed qname string, but to support previous versions of this API a couple of hard coded checks are made first.
      Parameters:
      elementName -
      Returns: