|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.rating.AbstractRatingRollupAlgorithm
org.alfresco.repo.rating.RatingTotalRollupAlgorithm
public class RatingTotalRollupAlgorithm
An implementation of AbstractRatingRollupAlgorithm which calculates the total (sum) of all
ratings in a given scheme.
| Field Summary | |
|---|---|
static java.lang.String |
ROLLUP_NAME
|
| Fields inherited from class org.alfresco.repo.rating.AbstractRatingRollupAlgorithm |
|---|
namespaceService, nodeService, ratingSchemeName, ratingServiceImpl, rollupName |
| Constructor Summary | |
|---|---|
RatingTotalRollupAlgorithm()
|
|
| Method Summary | |
|---|---|
java.lang.Float |
recalculate(org.alfresco.service.cmr.repository.NodeRef ratedNode)
|
| Methods inherited from class org.alfresco.repo.rating.AbstractRatingRollupAlgorithm |
|---|
afterPropertiesSet, getRollupName, setNamespaceService, setNodeService, setRatingSchemeName, setRatingService |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ROLLUP_NAME
| Constructor Detail |
|---|
public RatingTotalRollupAlgorithm()
| Method Detail |
|---|
public java.lang.Float recalculate(org.alfresco.service.cmr.repository.NodeRef ratedNode)
recalculate in class AbstractRatingRollupAlgorithm
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||