public final class RatingValidationManagementService extends Object
| Constructor and Description |
|---|
RatingValidationManagementService() |
| Modifier and Type | Method and Description |
|---|---|
static String |
validateRating(javax.servlet.http.HttpServletRequest request,
fr.paris.lutece.portal.service.security.LuteceUser user,
String strIdResource,
String strResourceTypeKey,
double dVoteValue)
Check if a user is allowed to validate a resource
|
public static String validateRating(javax.servlet.http.HttpServletRequest request, fr.paris.lutece.portal.service.security.LuteceUser user, String strIdResource, String strResourceTypeKey, double dVoteValue)
request - The requestuser - The user that wants to rate a resourcestrIdResource - the id of the resourcestrResourceTypeKey - The resource type keydVoteValue - The vote valueCopyright © 2022 City of Paris. All rights reserved.