public class RatingValidationService extends Object implements IRatingValidationService
| Constructor and Description |
|---|
RatingValidationService() |
| Modifier and Type | Method and Description |
|---|---|
String |
validateRating(javax.servlet.http.HttpServletRequest request,
fr.paris.lutece.portal.service.security.LuteceUser user,
String strIdResource,
String strResourceTypeKey,
float fRatingValue)
Check if a user is allowed to validate a resource
|
public String validateRating(javax.servlet.http.HttpServletRequest request, fr.paris.lutece.portal.service.security.LuteceUser user, String strIdResource, String strResourceTypeKey, float fRatingValue)
IRatingValidationServicevalidateRating in interface IRatingValidationServicerequest - The requestuser - The user that wants to rate a resourcestrIdResource - the id of the resourcestrResourceTypeKey - The resource type keyfRatingValue - The value of the voteCopyright © 2022 City of Paris. All rights reserved.