Class FormCategoriesJspBean
- 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.forms.web.admin.AbstractJspBean
-
- fr.paris.lutece.plugins.forms.web.admin.FormCategoriesJspBean
-
- All Implemented Interfaces:
java.io.Serializable
@Controller(controllerJsp="ManageFormsCategories.jsp", controllerPath="jsp/admin/plugins/forms/", right="FORMS_CATEGORIES") public class FormCategoriesJspBean extends AbstractJspBeanThis class provides the user interface to manage FormCategory features ( manage, create, modify, remove )- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FormCategoriesJspBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringdoCreateForm(javax.servlet.http.HttpServletRequest request)Process the data capture form of a new formCategoryjava.lang.StringdoModifyCategory(javax.servlet.http.HttpServletRequest request)Modify a categoryjava.lang.StringdoRemoveCategory(javax.servlet.http.HttpServletRequest request)Remove the category selectedjava.lang.StringgetConfirmRemoveCategory(javax.servlet.http.HttpServletRequest request)Display a popup to ask the user if he really wants to delete the category he selectedjava.lang.StringgetCreateForm(javax.servlet.http.HttpServletRequest request)Returns the form to create a formCategoryjava.lang.StringgetManageCategories(javax.servlet.http.HttpServletRequest request)Build the Manage Viewjava.lang.StringgetModifyCategory(javax.servlet.http.HttpServletRequest request)Get the view to modify an existed category-
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
-
getManageCategories
@View(value="manageCategories", defaultView=true) public java.lang.String getManageCategories(javax.servlet.http.HttpServletRequest request)Build the Manage View- Parameters:
request- The HTTP request- Returns:
- The page
-
getCreateForm
@View("createCategory") public java.lang.String getCreateForm(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedExceptionReturns the form to create a formCategory- Parameters:
request- The Http request- Returns:
- the html code of the formCategory form
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- the possible AccessDeniedException
-
doCreateForm
@Action("createCategory") public java.lang.String doCreateForm(javax.servlet.http.HttpServletRequest request)Process the data capture form of a new formCategory- Parameters:
request- The Http Request- Returns:
- The Jsp URL of the process result
-
doRemoveCategory
@Action("removeCategory") public java.lang.String doRemoveCategory(javax.servlet.http.HttpServletRequest request)Remove the category selected- Parameters:
request- the request- Returns:
- The JSP URL of the process result
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- If the user is not authorized
-
getConfirmRemoveCategory
@Action("confirmRemoveCategory") public java.lang.String getConfirmRemoveCategory(javax.servlet.http.HttpServletRequest request)Display a popup to ask the user if he really wants to delete the category he selected- Parameters:
request- the request- Returns:
- the HTML code to confirm
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- If the user is not authorized
-
getModifyCategory
@View("modifyCategory") public java.lang.String getModifyCategory(javax.servlet.http.HttpServletRequest request)Get the view to modify an existed category- Parameters:
request- the request- Returns:
- The HTML content to display
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- If the user is not authorized
-
doModifyCategory
@Action("modifyCategory") public java.lang.String doModifyCategory(javax.servlet.http.HttpServletRequest request)Modify a category- Parameters:
request- the request- Returns:
- The JSP URL of the process result
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException- If the user is not authorized
-
-