Class 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:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      RuleJspBean()  
    • Method Summary

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

      • RuleJspBean

        public RuleJspBean()
    • Method Detail

      • 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