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:
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 StringdoAddProtectedUrlCreate(javax.servlet.http.HttpServletRequest request)Process the data capture form of a new rule.StringdoAddProtectedUrlModify(javax.servlet.http.HttpServletRequest request)Process the data capture form of a new rule.StringdoAddPublicUrlCreate(javax.servlet.http.HttpServletRequest request)Process the data capture form of a new rule.StringdoAddPublicUrlModify(javax.servlet.http.HttpServletRequest request)Process the data capture form of a new rule.StringdoCreateRule(javax.servlet.http.HttpServletRequest request)Process the data capture form of a new rule.StringdoDecreaseRulePriority(javax.servlet.http.HttpServletRequest request)Process the change form of a rule.StringdoIncreaseRulePriority(javax.servlet.http.HttpServletRequest request)Process the change form of a rule.StringdoModifyRule(javax.servlet.http.HttpServletRequest request)Process the change form of a rule.StringdoRemoveProtectedUrlCreate(javax.servlet.http.HttpServletRequest request)Process the data capture form of a new rule.StringdoRemoveProtectedUrlModify(javax.servlet.http.HttpServletRequest request)Process the data capture form of a new rule.StringdoRemovePublicUrlCreate(javax.servlet.http.HttpServletRequest request)Process the data capture form of a new rule.StringdoRemovePublicUrlModify(javax.servlet.http.HttpServletRequest request)Process the data capture form of a new rule.StringdoRemoveRule(javax.servlet.http.HttpServletRequest request)Handles the removal form of a rule.StringgetConfirmRemoveRule(javax.servlet.http.HttpServletRequest request)Manages the removal form of a rule whose identifier is in the http request.StringgetCreateRule(javax.servlet.http.HttpServletRequest request)Returns the form to create a rule.StringgetManageRules(javax.servlet.http.HttpServletRequest request)Build the Manage View.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 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.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 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 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 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 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 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 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 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 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 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.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 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 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
-
-