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,
int nVoteValue)
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, int nVoteValue)
request
- The requestuser
- The user that wants to rate a resourcestrIdResource
- the id of the resourcestrResourceTypeKey
- The resource type keynVoteValue
- The vote valueCopyright © 2015 City of Paris. All rights reserved.