@AlfrescoPublicApi public interface RatingScheme extends Comparable<RatingScheme>
RatingSchemeRegistry
at startup.Modifier and Type | Method and Description |
---|---|
float |
getMaxRating()
This method returns the maximum rating defined for this scheme.
|
float |
getMinRating()
This method returns the minimum rating defined for this scheme.
|
String |
getModelPrefix()
This method returns the namespace (prefix e.g.
|
String |
getName()
This method returns the name which uniquely identifies the rating scheme.
|
List<AbstractRatingRollupAlgorithm> |
getPropertyRollups()
This method returns a List of
property rollup algorithms
which are used in order to calculate rating totals, counts etc for a rated node. |
boolean |
isSelfRatingAllowed()
This method returns
true if the cm:creator of the node is allowed
to apply a rating to it, else false . |
compareTo
String getName()
float getMinRating()
float getMaxRating()
String getModelPrefix()
RatingNamingConventionsUtil
boolean isSelfRatingAllowed()
true
if the cm:creator of the node is allowed
to apply a rating to it, else false
.List<AbstractRatingRollupAlgorithm> getPropertyRollups()
property rollup algorithms
which are used in order to calculate rating totals, counts etc for a rated node.Copyright © 2005–2017 Alfresco Software. All rights reserved.