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
This is a preliminary JavaScript API for the RatingService.
The intention is to get something committed to enable possible feedback and to lay the basis for any improvements that be needed later.
It's the normal Alfresco JS API changes. The root object is 'ratingService' and all the methods are on that object.
Highly non-OO.
But it is tested.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21145 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261