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.AbstractManageRulesJspBean
fr.paris.lutece.plugins.myluteceaccessrules.web.RuleJspBean
All Implemented Interfaces:
Serializable

@Controller(controllerJsp="ManageRules.jsp", controllerPath="jsp/admin/plugins/myluteceaccessrules/", right="ACCESSRULES_MANAGEMENT") public class RuleJspBean extends AbstractManageRulesJspBean
This class provides the user interface to manage Rule features ( manage, create, modify, remove ).
See Also:
  • Field Summary

    Fields inherited from class fr.paris.lutece.plugins.myluteceaccessrules.web.AbstractManageRulesJspBean

    RIGHT_MANAGERULES
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    doAddProtectedUrlCreate(javax.servlet.http.HttpServletRequest request)
    Process the data capture form of a new rule.
    doAddProtectedUrlModify(javax.servlet.http.HttpServletRequest request)
    Process the data capture form of a new rule.
    doAddPublicUrlCreate(javax.servlet.http.HttpServletRequest request)
    Process the data capture form of a new rule.
    doAddPublicUrlModify(javax.servlet.http.HttpServletRequest request)
    Process the data capture form of a new rule.
    doCreateRule(javax.servlet.http.HttpServletRequest request)
    Process the data capture form of a new rule.
    doDecreaseRulePriority(javax.servlet.http.HttpServletRequest request)
    Process the change form of a rule.
    doIncreaseRulePriority(javax.servlet.http.HttpServletRequest request)
    Process the change form of a rule.
    doModifyRule(javax.servlet.http.HttpServletRequest request)
    Process the change form of a rule.
    doRemoveProtectedUrlCreate(javax.servlet.http.HttpServletRequest request)
    Process the data capture form of a new rule.
    doRemoveProtectedUrlModify(javax.servlet.http.HttpServletRequest request)
    Process the data capture form of a new rule.
    doRemovePublicUrlCreate(javax.servlet.http.HttpServletRequest request)
    Process the data capture form of a new rule.
    doRemovePublicUrlModify(javax.servlet.http.HttpServletRequest request)
    Process the data capture form of a new rule.
    doRemoveRule(javax.servlet.http.HttpServletRequest request)
    Handles the removal form of a rule.
    getConfirmRemoveRule(javax.servlet.http.HttpServletRequest request)
    Manages the removal form of a rule whose identifier is in the http request.
    getCreateRule(javax.servlet.http.HttpServletRequest request)
    Returns the form to create a rule.
    getManageRules(javax.servlet.http.HttpServletRequest request)
    Build the Manage View.
    getModifyRule(javax.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, 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(javax.servlet.http.HttpServletRequest request)
      Build the Manage View.
      Parameters:
      request - The HTTP request
      Returns:
      The page
    • getCreateRule

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

      @Action("createRule") public String doCreateRule(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Process the data capture form of a new 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
    • doAddProtectedUrlCreate

      @Action("addProtectedUrlCreate") public String doAddProtectedUrlCreate(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Process the data capture form of a new 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
    • doAddProtectedUrlModify

      @Action("addProtectedUrlModify") public String doAddProtectedUrlModify(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Process the data capture form of a new 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
    • doAddPublicUrlCreate

      @Action("addPublicUrlCreate") public String doAddPublicUrlCreate(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Process the data capture form of a new 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
    • doAddPublicUrlModify

      @Action("addPublicUrlModify") public String doAddPublicUrlModify(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Process the data capture form of a new 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
    • doRemoveProtectedUrlCreate

      @Action("removeProtectedUrlCreate") public String doRemoveProtectedUrlCreate(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Process the data capture form of a new 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
    • doRemoveProtectedUrlModify

      @Action("removeProtectedUrlModify") public String doRemoveProtectedUrlModify(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Process the data capture form of a new 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
    • doRemovePublicUrlCreate

      @Action("removePublicUrlCreate") public String doRemovePublicUrlCreate(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Process the data capture form of a new 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
    • doRemovePublicUrlModify

      @Action("removePublicUrlModify") public String doRemovePublicUrlModify(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
      Process the data capture form of a new 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
    • getConfirmRemoveRule

      @Action("confirmRemoveRule") public String getConfirmRemoveRule(javax.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(javax.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(javax.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(javax.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(javax.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(javax.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