Class CustomPropertyDefinitionDelete

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

    public class CustomPropertyDefinitionDelete
    extends AbstractRmWebScript
    Implementation for Java backed webscript to remove RM custom property definitions from the custom model.
    Author:
    Neil McErlean
    • Constructor Detail

      • CustomPropertyDefinitionDelete

        public CustomPropertyDefinitionDelete()
    • Method Detail

      • 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
      • removePropertyDefinition

        protected Map<String,​Object> removePropertyDefinition​(org.alfresco.service.namespace.QName propQName)
                                                             throws org.json.JSONException
        Applies custom properties to the specified record node.
        Throws:
        org.json.JSONException