Class CustomRefPost

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

    public class CustomRefPost
    extends AbstractRmWebScript
    Implementation for Java backed webscript to add RM custom relationship to a node.
    Author:
    Neil McErlean, Tuna Aksoy
    • Constructor Detail

      • CustomRefPost

        public CustomRefPost()
    • Method Detail

      • getRelationshipService

        protected RelationshipService getRelationshipService()
        Gets the relationship service instance
        Returns:
        The relationship service instance
      • setRelationshipService

        public void setRelationshipService​(RelationshipService relationshipService)
        Sets the relationship service instance
        Parameters:
        relationshipService - The relationship service instance
      • getRuleService

        protected RuleService getRuleService()
        Gets the rule service instance
        Returns:
        The rule service instance
      • setRuleService

        public void setRuleService​(RuleService ruleService)
        Sets the rule service instance
        Parameters:
        ruleService - The rule service instance
      • 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)
      • addCustomRelationship

        protected void addCustomRelationship​(org.springframework.extensions.webscripts.WebScriptRequest req)
        Adds a custom relationship
        Parameters:
        req - The webscript request