java.lang.Object
fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
fr.paris.lutece.plugins.myluteceaccessrules.web.RuleJspBean
All Implemented Interfaces:
Serializable

@RequestScoped @Named @Controller(controllerJsp="ManageRules.jsp", controllerPath="jsp/admin/plugins/myluteceaccessrules/", right="ACCESSRULES_MANAGEMENT") public class RuleJspBean extends fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
This class provides the user interface to manage Rule features ( manage, create, modify, remove ).
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    doAddProtectedUrlCreate(@Valid Rule rule, jakarta.servlet.http.HttpServletRequest request)
    Process the data capture form of a new rule.
    doAddProtectedUrlModify(@Valid Rule rule, jakarta.servlet.http.HttpServletRequest request)
    Process the data capture form of a new rule.
    doAddPublicUrlCreate(@Valid Rule rule, jakarta.servlet.http.HttpServletRequest request)
    Process the data capture form of a new rule.
    doAddPublicUrlModify(@Valid Rule rule, jakarta.servlet.http.HttpServletRequest request)
    Process the data capture form of a new rule.
    doCreateRule(@Valid Rule rule, fr.paris.lutece.portal.util.mvc.binding.BindingResult bindingResult, jakarta.servlet.http.HttpServletRequest request)
    Process the data capture form of a new rule.
    doDecreaseRulePriority(jakarta.servlet.http.HttpServletRequest request)
    Process the change form of a rule.
    doIncreaseRulePriority(jakarta.servlet.http.HttpServletRequest request)
    Process the change form of a rule.
    doModifyRule(@Valid Rule rule, fr.paris.lutece.portal.util.mvc.binding.BindingResult bindingResult, jakarta.servlet.http.HttpServletRequest request)
    Process the change form of a rule.
    doRemoveProtectedUrlCreate(@Valid Rule rule, jakarta.servlet.http.HttpServletRequest request)
    Process the data capture form of a new rule.
    doRemoveProtectedUrlModify(@Valid Rule rule, jakarta.servlet.http.HttpServletRequest request)
    Process the data capture form of a new rule.
    doRemovePublicUrlCreate(@Valid Rule rule, jakarta.servlet.http.HttpServletRequest request)
    Process the data capture form of a new rule.
    doRemovePublicUrlModify(@Valid Rule rule, jakarta.servlet.http.HttpServletRequest request)
    Process the data capture form of a new rule.
    doRemoveRule(jakarta.servlet.http.HttpServletRequest request)
    Handles the removal form of a rule.
    getConfirmRemoveRule(jakarta.servlet.http.HttpServletRequest request)
    Manages the removal form of a rule whose identifier is in the http request.
    getCreateRule(jakarta.servlet.http.HttpServletRequest request)
    Returns the form to create a rule.
    getCreateRule(jakarta.servlet.http.HttpServletRequest request, Rule rule)
    Returns the form to create a rule.
    getManageRules(jakarta.servlet.http.HttpServletRequest request)
    Build the Manage View.
    getModifyRule(jakarta.servlet.http.HttpServletRequest request)
    Returns the form to update info about a rule.

    Methods inherited from class fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean

    processController

    Methods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean

    getPlugin, init

    Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean

    getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getSecurityTokenService, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RuleJspBean

      public RuleJspBean()
  • Method Details

    • getManageRules

      @View(value="manageRules", defaultView=true) public String getManageRules(jakarta.servlet.http.HttpServletRequest request)
      Build the Manage View.
      Parameters:
      request - The HTTP request
      Returns:
      The page
    • getCreateRule

      @View("createRule") public String getCreateRule(jakarta.servlet.http.HttpServletRequest request)
      Returns the form to create a rule.
      Parameters:
      request - The Http request
      Returns:
      the html code of the rule form
    • getCreateRule

      public String getCreateRule(jakarta.servlet.http.HttpServletRequest request, Rule rule)
      Returns the form to create a rule.
      Parameters:
      request - The Http request
      rule - the rule
      Returns:
      the html code of the rule form
    • doCreateRule

      @Action("createRule") public String doCreateRule(@Valid @Valid Rule rule, fr.paris.lutece.portal.util.mvc.binding.BindingResult bindingResult, jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Process the data capture form of a new rule.
      Parameters:
      rule - the rule
      bindingResult - the bindingResult
      request - The Http Request
      Returns:
      The Jsp URL of the process result
      Throws:
      fr.paris.lutece.portal.service.admin.AccessDeniedException - the access denied exception
    • doAddProtectedUrlCreate

      @Action("addProtectedUrlCreate") public String doAddProtectedUrlCreate(@Valid @Valid Rule rule, jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Process the data capture form of a new rule.
      Parameters:
      rule - the rule
      request - The Http Request
      Returns:
      The Jsp URL of the process result
      Throws:
      fr.paris.lutece.portal.service.admin.AccessDeniedException - the access denied exception
    • doAddProtectedUrlModify

      @Action("addProtectedUrlModify") public String doAddProtectedUrlModify(@Valid @Valid Rule rule, jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Process the data capture form of a new rule.
      Parameters:
      rule - the rule
      request - The Http Request
      Returns:
      The Jsp URL of the process result
      Throws:
      fr.paris.lutece.portal.service.admin.AccessDeniedException - the access denied exception
    • doAddPublicUrlCreate

      @Action("addPublicUrlCreate") public String doAddPublicUrlCreate(@Valid @Valid Rule rule, jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Process the data capture form of a new rule.
      Parameters:
      rule - the rule
      request - The Http Request
      Returns:
      The Jsp URL of the process result
      Throws:
      fr.paris.lutece.portal.service.admin.AccessDeniedException - the access denied exception
    • doAddPublicUrlModify

      @Action("addPublicUrlModify") public String doAddPublicUrlModify(@Valid @Valid Rule rule, jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Process the data capture form of a new rule.
      Parameters:
      rule - the rule
      request - The Http Request
      Returns:
      The Jsp URL of the process result
      Throws:
      fr.paris.lutece.portal.service.admin.AccessDeniedException - the access denied exception
    • doRemoveProtectedUrlCreate

      @Action("removeProtectedUrlCreate") public String doRemoveProtectedUrlCreate(@Valid @Valid Rule rule, jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Process the data capture form of a new rule.
      Parameters:
      rule - the rule
      request - The Http Request
      Returns:
      The Jsp URL of the process result
      Throws:
      fr.paris.lutece.portal.service.admin.AccessDeniedException - the access denied exception
    • doRemoveProtectedUrlModify

      @Action("removeProtectedUrlModify") public String doRemoveProtectedUrlModify(@Valid @Valid Rule rule, jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Process the data capture form of a new rule.
      Parameters:
      rule - the rule
      request - The Http Request
      Returns:
      The Jsp URL of the process result
      Throws:
      fr.paris.lutece.portal.service.admin.AccessDeniedException - the access denied exception
    • doRemovePublicUrlCreate

      @Action("removePublicUrlCreate") public String doRemovePublicUrlCreate(@Valid @Valid Rule rule, jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Process the data capture form of a new rule.
      Parameters:
      rule - the rule
      request - The Http Request
      Returns:
      The Jsp URL of the process result
      Throws:
      fr.paris.lutece.portal.service.admin.AccessDeniedException - the access denied exception
    • doRemovePublicUrlModify

      @Action("removePublicUrlModify") public String doRemovePublicUrlModify(@Valid @Valid Rule rule, jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Process the data capture form of a new rule.
      Parameters:
      rule - the rule
      request - The Http Request
      Returns:
      The Jsp URL of the process result
      Throws:
      fr.paris.lutece.portal.service.admin.AccessDeniedException - the access denied exception
    • getConfirmRemoveRule

      @Action("confirmRemoveRule") public String getConfirmRemoveRule(jakarta.servlet.http.HttpServletRequest request)
      Manages the removal form of a rule whose identifier is in the http request.
      Parameters:
      request - The Http request
      Returns:
      the html code to confirm
    • doRemoveRule

      @Action("removeRule") public String doRemoveRule(jakarta.servlet.http.HttpServletRequest request)
      Handles the removal form of a rule.
      Parameters:
      request - The Http request
      Returns:
      the jsp URL to display the form to manage rules
    • getModifyRule

      @View("modifyRule") public String getModifyRule(jakarta.servlet.http.HttpServletRequest request)
      Returns the form to update info about a rule.
      Parameters:
      request - The Http request
      Returns:
      The HTML form to update info
    • doModifyRule

      @Action("modifyRule") public String doModifyRule(@Valid @Valid Rule rule, fr.paris.lutece.portal.util.mvc.binding.BindingResult bindingResult, jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Process the change form of a rule.
      Parameters:
      request - The Http request
      Returns:
      The Jsp URL of the process result
      Throws:
      fr.paris.lutece.portal.service.admin.AccessDeniedException - the access denied exception
    • doIncreaseRulePriority

      @Action("increasePriority") public String doIncreaseRulePriority(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Process the change form of a rule.
      Parameters:
      request - The Http request
      Returns:
      The Jsp URL of the process result
      Throws:
      fr.paris.lutece.portal.service.admin.AccessDeniedException - the access denied exception
    • doDecreaseRulePriority

      @Action("decreasePriority") public String doDecreaseRulePriority(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Process the change form of a rule.
      Parameters:
      request - The Http request
      Returns:
      The Jsp URL of the process result
      Throws:
      fr.paris.lutece.portal.service.admin.AccessDeniedException - the access denied exception