Fix for ALF-4830 Rating Service needs to suspend auditing behaviour during rating updated.

Added the necessary boilerplate to disable auditing on the rated node during rating.
  Added some asserts to the RatingService JUnit test code to test same.

Also some trivial doc changes.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22708 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Neil McErlean
2010-09-27 09:48:14 +00:00
parent b4b432b21b
commit 7323502141
4 changed files with 63 additions and 25 deletions

View File

@@ -22,7 +22,9 @@ package org.alfresco.service.cmr.rating;
import org.alfresco.repo.rating.RatingSchemeRegistry;
/**
* This data type represents a rating scheme as used in the {@link RatingService}.
* This interface defines a Rating Scheme, which is a named scheme for user-supplied
* ratings with a defined minimum value and a defined maximum value. The minimum must
* not be greater than the maximum but the two values can be equal.
* These schemes are defined within spring context files and injected into the
* {@link RatingSchemeRegistry} at startup.
*