Class RuleJspBean
- 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:
java.io.Serializable
@Controller(controllerJsp="ManageRules.jsp", controllerPath="jsp/admin/plugins/myluteceaccessrules/", right="ACCESSRULES_MANAGEMENT") public class RuleJspBean extends AbstractManageRulesJspBeanThis class provides the user interface to manage Rule features ( manage, create, modify, remove ).- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class fr.paris.lutece.plugins.myluteceaccessrules.web.AbstractManageRulesJspBean
RIGHT_MANAGERULES
-
-
Constructor Summary
Constructors Constructor Description RuleJspBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringdoAddProtectedUrlCreate(javax.servlet.http.HttpServletRequest request)Process the data capture form of a new rule.java.lang.StringdoAddProtectedUrlModify(javax.servlet.http.HttpServletRequest request)Process the data capture form of a new rule.java.lang.StringdoAddPublicUrlCreate(javax.servlet.http.HttpServletRequest request)Process the data capture form of a new rule.java.lang.StringdoAddPublicUrlModify(javax.servlet.http.HttpServletRequest request)Process the data capture form of a new rule.java.lang.StringdoCreateRule(javax.servlet.http.HttpServletRequest request)Process the data capture form of a new rule.java.lang.StringdoDecreaseRulePriority(javax.servlet.http.HttpServletRequest request)Process the change form of a rule.java.lang.StringdoIncreaseRulePriority(javax.servlet.http.HttpServletRequest request)Process the change form of a rule.java.lang.StringdoModifyRule(javax.servlet.http.HttpServletRequest request)Process the change form of a rule.java.lang.StringdoRemoveProtectedUrlCreate(javax.servlet.http.HttpServletRequest request)Process the data capture form of a new rule.java.lang.StringdoRemoveProtectedUrlModify(javax.servlet.http.HttpServletRequest request)Process the data capture form of a new rule.java.lang.StringdoRemovePublicUrlCreate(javax.servlet.http.HttpServletRequest request)Process the data capture form of a new rule.java.lang.StringdoRemovePublicUrlModify(javax.servlet.http.HttpServletRequest request)Process the data capture form of a new rule.java.lang.StringdoRemoveRule(javax.servlet.http.HttpServletRequest request)Handles the removal form of a rule.java.lang.StringgetConfirmRemoveRule(javax.servlet.http.HttpServletRequest request)Manages the removal form of a rule whose identifier is in the http request.java.lang.StringgetCreateRule(javax.servlet.http.HttpServletRequest request)Returns the form to create a rule.java.lang.StringgetManageRules(javax.servlet.http.HttpServletRequest request)Build the Manage View.java.lang.StringgetModifyRule(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
-
-
-
-
Method Detail
-
getManageRules
@View(value="manageRules", defaultView=true) public java.lang.String getManageRules(javax.servlet.http.HttpServletRequest request)Build the Manage View.- Parameters:
request- The HTTP request- Returns:
- The page
-
getCreateRule
@View("createRule") public java.lang.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 java.lang.String doCreateRule(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionProcess 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 java.lang.String doAddProtectedUrlCreate(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionProcess 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 java.lang.String doAddProtectedUrlModify(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionProcess 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 java.lang.String doAddPublicUrlCreate(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionProcess 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 java.lang.String doAddPublicUrlModify(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionProcess 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 java.lang.String doRemoveProtectedUrlCreate(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionProcess 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 java.lang.String doRemoveProtectedUrlModify(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionProcess 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 java.lang.String doRemovePublicUrlCreate(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionProcess 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 java.lang.String doRemovePublicUrlModify(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionProcess 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 java.lang.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 java.lang.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 java.lang.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 java.lang.String doModifyRule(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionProcess 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 java.lang.String doIncreaseRulePriority(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionProcess 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 java.lang.String doDecreaseRulePriority(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionProcess 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
-
-