Class AbstractRatingWebScript

java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
org.alfresco.repo.web.scripts.rating.AbstractRatingWebScript
All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
Direct Known Subclasses:
RatingDefinitionsGet, RatingDelete, RatingPost, RatingsGet

public abstract class AbstractRatingWebScript extends org.springframework.extensions.webscripts.DeclarativeWebScript
This class is an abstract base class for the various webscript controllers in the RatingService.
Since:
3.4
Author:
Neil McErlean
  • Nested Class Summary

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

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

    Fields
    Modifier and Type
    Field
    Description
    protected static final String
     
    protected static final String
     
    protected NodeService
     
    protected static final String
     
    protected static final String
     
    protected static final String
     
    protected static final String
     
    protected static final String
     
    protected static final String
     
    protected RatingService
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected NodeRef
    parseRequestForNodeRef(org.springframework.extensions.webscripts.WebScriptRequest req)
     
    void
    Sets the node service instance
    void
    Sets the rating service instance

    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
  • Field Details

  • Constructor Details

    • AbstractRatingWebScript

      public AbstractRatingWebScript()
  • Method Details

    • setNodeService

      public void setNodeService(NodeService nodeService)
      Sets the node service instance
      Parameters:
      nodeService - the node service to set
    • setRatingService

      public void setRatingService(RatingService ratingService)
      Sets the rating service instance
      Parameters:
      ratingService - the rating service to set
    • parseRequestForNodeRef

      protected NodeRef parseRequestForNodeRef(org.springframework.extensions.webscripts.WebScriptRequest req)