Class MultiviewFormsJspBean
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.MultiviewFormsJspBean
- All Implemented Interfaces:
Serializable
@SessionScoped
@Named
@Controller(controllerJsp="MultiviewForms.jsp",
controllerPath="jsp/admin/plugins/forms/",
right="FORMS_MULTIVIEW")
public class MultiviewFormsJspBean
extends AbstractJspBean
Controller which manage the multiview of responses of all Forms
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoExportResponses(jakarta.servlet.http.HttpServletRequest request) Perform the responses exportdoReorderMultiviewColumns(jakarta.servlet.http.HttpServletRequest request) Persists the multiview column order sent by the drag and drop reordering of the response table columns.doSaveMultiviewConfig(jakarta.servlet.http.HttpServletRequest request) View the multiview config pagegetMultiviewConfig(jakarta.servlet.http.HttpServletRequest request) View the multiview config pagegetMultiviewFormsView(jakarta.servlet.http.HttpServletRequest request) Return the view with the responses of all the formsMethods inherited from class fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
processControllerMethods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
getPlugin, initMethods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getSecurityTokenService, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
Constructor Details
-
MultiviewFormsJspBean
public MultiviewFormsJspBean()
-
-
Method Details
-
getMultiviewFormsView
@View(value="view_multiview_forms", defaultView=true) public String getMultiviewFormsView(jakarta.servlet.http.HttpServletRequest request) Return the view with the responses of all the forms- Parameters:
request- The request on which to retrieve informations- Returns:
- the view associated to the responses value of all forms
-
doExportResponses
@Action("doExportResponses") public String doExportResponses(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Perform the responses export- Parameters:
request- The HTTP request- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException
-
getMultiviewConfig
@View("view_multiview_config") public String getMultiviewConfig(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException View the multiview config page- Parameters:
request- The HTTP request- Returns:
- The multiview config page
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException
-
doSaveMultiviewConfig
@Action("doSaveMultiviewConfig") public String doSaveMultiviewConfig(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException View the multiview config page- Parameters:
request- The HTTP request- Returns:
- The multiview config page
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException
-
doReorderMultiviewColumns
@Action(value="doReorderMultiviewColumns", securityTokenDisabled=true) @ResponseBody public String doReorderMultiviewColumns(jakarta.servlet.http.HttpServletRequest request) Persists the multiview column order sent by the drag and drop reordering of the response table columns. Called through AJAX : the request holds onemultiview_column_order_<idQuestion>parameter per question backing a reordered column, whose value is the new order of the column. After persisting, the cached column list is rebuilt so the new order is reflected on the next reload of the page.- Parameters:
request- The Http request- Returns:
- a JSON response ( SUCCESS or ERROR )
-