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, setRatingService
public static final String ROLLUP_NAME
public Float recalculate(org.alfresco.service.cmr.repository.NodeRef ratedNode)
recalculate
in class AbstractRatingRollupAlgorithm
Copyright © 2005–2017 Alfresco Software. All rights reserved.