public abstract class AbstractRatingWebScript
extends org.springframework.extensions.webscripts.DeclarativeWebScript
Modifier and Type | Field and Description |
---|---|
protected static String |
AVERAGE_RATINGS |
protected static String |
NODE_REF |
protected org.alfresco.service.cmr.repository.NodeService |
nodeService |
protected static String |
RATED_NODE |
protected static String |
RATING |
protected static String |
RATING_SCHEME |
protected static String |
RATINGS |
protected static String |
RATINGS_COUNTS |
protected static String |
RATINGS_TOTALS |
protected RatingService |
ratingService |
Constructor and Description |
---|
AbstractRatingWebScript() |
Modifier and Type | Method and Description |
---|---|
protected org.alfresco.service.cmr.repository.NodeRef |
parseRequestForNodeRef(org.springframework.extensions.webscripts.WebScriptRequest req) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Sets the node service instance
|
void |
setRatingService(RatingService ratingService)
Sets the rating service instance
|
execute, executeFinallyImpl, executeImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
protected static final String RATING_SCHEME
protected static final String RATING
protected static final String RATED_NODE
protected static final String NODE_REF
protected static final String RATINGS
protected static final String AVERAGE_RATINGS
protected static final String RATINGS_TOTALS
protected static final String RATINGS_COUNTS
protected org.alfresco.service.cmr.repository.NodeService nodeService
protected RatingService ratingService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService
- the node service to setpublic void setRatingService(RatingService ratingService)
ratingService
- the rating service to setprotected org.alfresco.service.cmr.repository.NodeRef parseRequestForNodeRef(org.springframework.extensions.webscripts.WebScriptRequest req)
Copyright © 2005–2017 Alfresco Software. All rights reserved.