public class RatingTotalRollupAlgorithm extends AbstractRatingRollupAlgorithm
AbstractRatingRollupAlgorithm which calculates the total (sum) of all
ratings in a given scheme.| Modifier and Type | Field and Description |
|---|---|
static String |
ROLLUP_NAME |
namespaceService, nodeService, ratingSchemeName, ratingServiceImpl, rollupName| Constructor and Description |
|---|
RatingTotalRollupAlgorithm() |
| Modifier and Type | Method and Description |
|---|---|
Float |
recalculate(org.alfresco.service.cmr.repository.NodeRef ratedNode) |
afterPropertiesSet, getRollupName, setNamespaceService, setNodeService, setRatingSchemeName, setRatingServicepublic static final String ROLLUP_NAME
public Float recalculate(org.alfresco.service.cmr.repository.NodeRef ratedNode)
recalculate in class AbstractRatingRollupAlgorithmCopyright © 2005–2018 Alfresco Software. All rights reserved.