Interface IFormsMultiviewAuthorizationService

  • All Known Implementing Classes:
    FormsMultiviewAuthorizationService

    public interface IFormsMultiviewAuthorizationService
    Forms service for managing the authorization on access form response from the multiview page
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isUserAuthorizedOnFormResponse​(javax.servlet.http.HttpServletRequest request, int nIdFormResponse)
      Return the boolean which tell if the connected user is authorized to access the form response details or not
      boolean isUserAuthorizedOnFormResponseWithinWorkgroup​(javax.servlet.http.HttpServletRequest request, Form form)
      Return the boolean which tells if the connected user is authorized to access the form response details or not, depending on their Workgroup and the Workgroup of the Form
    • Method Detail

      • isUserAuthorizedOnFormResponse

        boolean isUserAuthorizedOnFormResponse​(javax.servlet.http.HttpServletRequest request,
                                               int nIdFormResponse)
        Return the boolean which tell if the connected user is authorized to access the form response details or not
        Parameters:
        request - The request to use to determine if the user can access the details of the given form response
        nIdFormResponse - The identifier of the form response to access
        Returns:
        the boolean which tell if the connected user is authorized to access the form response or not
      • isUserAuthorizedOnFormResponseWithinWorkgroup

        boolean isUserAuthorizedOnFormResponseWithinWorkgroup​(javax.servlet.http.HttpServletRequest request,
                                                              Form form)
        Return the boolean which tells if the connected user is authorized to access the form response details or not, depending on their Workgroup and the Workgroup of the Form
        Parameters:
        request - The request to use to determine if the user can access the details of the given Form
        form - The Form whose Workgroup is compared to the user's one
        Returns:
        true if the connected user is authorized to access the form response, returns false otherwise