Interface IFollowValidationService


public interface IFollowValidationService
Interface of follow validation services
  • Method Summary

    Modifier and Type
    Method
    Description
    validateFollow(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
  • Method Details

    • validateFollow

      String validateFollow(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
      Parameters:
      request - The request
      user - The user that wants to rate a resource
      strIdResource - the id of the resource
      strResourceTypeKey - The resource type key
      nVoteValue - The value of the vote
      Returns:
      The URL to redirect the user if he is not allowed to rate the resource, or null if he is allowed