Interface IAccessControllerType

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default void deleteConfig​(int idController)
      Delete the config of the controller
      java.lang.String getBeanName()
      Gets The bean name of the controllerType
      default java.lang.String getControllerConfigForm​(javax.servlet.http.HttpServletRequest request, java.util.Locale locale, AccessController controller)
      Get the html form for the config of the controller.
      java.lang.String getControllerForm​(javax.servlet.http.HttpServletRequest request, java.util.Locale locale, AccessController controller)
      Get the html form for the config of the controller.
      java.lang.String getTitle​(java.util.Locale locale)
      Gets The display title of the controllerType
      default boolean hasConfig()
      Indicates if the controllerType needs a config
      default void saveControllerConfig​(javax.servlet.http.HttpServletRequest request, java.util.Locale locale, AccessController controller)
      Save the config of the controller.
      default java.lang.String validate​(javax.servlet.http.HttpServletRequest request, AccessController controller)
      Validate the controller
    • Method Detail

      • getBeanName

        java.lang.String getBeanName()
        Gets The bean name of the controllerType
        Returns:
      • getTitle

        java.lang.String getTitle​(java.util.Locale locale)
        Gets The display title of the controllerType
        Parameters:
        locale -
        Returns:
      • hasConfig

        default boolean hasConfig()
        Indicates if the controllerType needs a config
        Returns:
      • deleteConfig

        default void deleteConfig​(int idController)
        Delete the config of the controller
      • getControllerConfigForm

        default java.lang.String getControllerConfigForm​(javax.servlet.http.HttpServletRequest request,
                                                         java.util.Locale locale,
                                                         AccessController controller)
        Get the html form for the config of the controller.
        Parameters:
        idController -
        Returns:
      • saveControllerConfig

        default void saveControllerConfig​(javax.servlet.http.HttpServletRequest request,
                                          java.util.Locale locale,
                                          AccessController controller)
        Save the config of the controller.
        Parameters:
        idController -
      • validate

        default java.lang.String validate​(javax.servlet.http.HttpServletRequest request,
                                          AccessController controller)
                                   throws fr.paris.lutece.portal.service.security.UserNotSignedException
        Validate the controller
        Parameters:
        request -
        Returns:
        null if OK, an error message otherwise
        Throws:
        fr.paris.lutece.portal.service.security.UserNotSignedException
      • getControllerForm

        java.lang.String getControllerForm​(javax.servlet.http.HttpServletRequest request,
                                           java.util.Locale locale,
                                           AccessController controller)
        Get the html form for the config of the controller. if there is nothing to ask or display to the user And to skip form return null
        Parameters:
        idController -
        Returns:
        controllerForm