int result = (int) getXWiki().ParamAsLong("xwiki.ratings", 0);
return (getXWiki().getXWikiPreferenceAsInt("ratings", result, getXWikiContext()) == 1);
}
public boolean isAverageRatingStored()
{
<BUG>int result = (int) getXWiki().ParamAsLong("xwiki.ratings.averagerating.stored", 1);

return (getXWiki().getXWikiPreferenceAsInt("ratings_averagerating_stored", result, getXWikiContext()) == 1);

}</BUG>
public boolean isReputationStored()

int result = (int) getXWiki().ParamAsLong("xwiki.ratings", 0);
return (getXWiki().getXWikiPreferenceAsInt("ratings", result, getXWikiContext()) == 1);
}
public boolean isAverageRatingStored()
{
String result = getXWiki().Param("xwiki.ratings.averagerating.stored", "1");
result = getXWiki().getXWikiPreference("ratings_averagerating_stored", result, getXWikiContext());
return (getConfigParameter(RatingsManager.RATINGS_CONFIG_CLASS_FIELDNAME_STORE_AVERAGE_RATING, result) == "1");
}
