Class FeedbackTypeJspBean
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.extend.modules.feedback.web.FeedbackTypeJspBean
- All Implemented Interfaces:
Serializable
@SessionScoped
@Named
@Controller(controllerJsp="ManageFeedbackType.jsp",
controllerPath="jsp/admin/plugins/extend/modules/feedback/",
right="FEEDBACK_TYPE_MANAGEMENT",
securityTokenEnabled=true)
public class FeedbackTypeJspBean
extends fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
FeedbackTypeJspBean
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoMoveOrder(jakarta.servlet.http.HttpServletRequest request) Moves a feedback type up or down, according to the button posted.doRemoveField(jakarta.servlet.http.HttpServletRequest request) Perform suppression feedback typedoSaveFeedback(jakarta.servlet.http.HttpServletRequest request) Creates or updates a feedback type.getConfirmRemoveField(jakarta.servlet.http.HttpServletRequest request) Gets the confirmation page of delete feedback typegetDetailFeedbackType(jakarta.servlet.http.HttpServletRequest request, fr.paris.lutece.portal.web.cdi.mvc.Models model) Displays the creation or modification form of a feedback type.getManageFeedbackTypes(jakarta.servlet.http.HttpServletRequest request, fr.paris.lutece.portal.web.cdi.mvc.Models model) Displays the list of feedback types; a request that names no view is redirected to this view by name, so that it issues its token on a core that gives none to a bare default view.Methods 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
-
FeedbackTypeJspBean
public FeedbackTypeJspBean()
-
-
Method Details
-
getManageFeedbackTypes
@View(value="manageView", defaultView=true, securityTokenAction="moveOrder") public String getManageFeedbackTypes(jakarta.servlet.http.HttpServletRequest request, fr.paris.lutece.portal.web.cdi.mvc.Models model) Displays the list of feedback types; a request that names no view is redirected to this view by name, so that it issues its token on a core that gives none to a bare default view.- Parameters:
request- the HTTP requestmodel- the model- Returns:
- the page
-
getDetailFeedbackType
@View(value="detailView", securityTokenAction="saveFeedbackType") public String getDetailFeedbackType(jakarta.servlet.http.HttpServletRequest request, fr.paris.lutece.portal.web.cdi.mvc.Models model) Displays the creation or modification form of a feedback type.- Parameters:
request- the HTTP requestmodel- the model- Returns:
- the page
-
doSaveFeedback
@Action("saveFeedbackType") public String doSaveFeedback(jakarta.servlet.http.HttpServletRequest request) Creates or updates a feedback type.- Parameters:
request- the HTTP request- Returns:
- the URL of the list
-
doMoveOrder
Moves a feedback type up or down, according to the button posted.- Parameters:
request- the HTTP request- Returns:
- the URL of the list
-
getConfirmRemoveField
@View(value="removeView", securityTokenAction="removeFeedbackType") public String getConfirmRemoveField(jakarta.servlet.http.HttpServletRequest request) Gets the confirmation page of delete feedback type- Parameters:
request- The HTTP request- Returns:
- the html code to confirm
-
doRemoveField
@Action("removeFeedbackType") public String doRemoveField(jakarta.servlet.http.HttpServletRequest request) Perform suppression feedback type- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-