From 40a6a8caf6c2994daa55cfdf1e05d44daf0c1f78 Mon Sep 17 00:00:00 2001 From: Neil McErlean Date: Wed, 4 Aug 2010 07:44:07 +0000 Subject: [PATCH] Rating Service. Now limited to one rating scheme per user per node. Without an explicit requirement for multiple rating schemes being applied to a node by a user and in order to simplify the code and ease maintenance, the RatingService now only supports one rating scheme per node per user. A rating can be applied, removed and a new rating in another scheme applied. But if the first is not removed, an exception will be thrown by the service. This change was a simple edit in the model with changes to the service implementation and test code. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21585 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../org/alfresco/repo/web/scripts/rating/AllRatingTests.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/java/org/alfresco/repo/web/scripts/rating/AllRatingTests.java b/source/java/org/alfresco/repo/web/scripts/rating/AllRatingTests.java index 0f789a7332..d145a9212c 100644 --- a/source/java/org/alfresco/repo/web/scripts/rating/AllRatingTests.java +++ b/source/java/org/alfresco/repo/web/scripts/rating/AllRatingTests.java @@ -18,7 +18,6 @@ */ package org.alfresco.repo.web.scripts.rating; -import org.alfresco.repo.rating.RatingNodePropertiesTest; import org.alfresco.repo.rating.RatingServiceIntegrationTest; import org.junit.runner.RunWith; import org.junit.runners.Suite; @@ -33,7 +32,6 @@ import org.junit.runners.Suite; */ @RunWith(Suite.class) @Suite.SuiteClasses({ - RatingNodePropertiesTest.class, RatingServiceIntegrationTest.class, RatingRestApiTest.class })