Class FormQuestionJspBean
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.AbstractFormQuestionJspBean
fr.paris.lutece.plugins.forms.web.admin.FormQuestionJspBean
- All Implemented Interfaces:
Serializable
@Controller(controllerJsp="ManageQuestions.jsp",
controllerPath="jsp/admin/plugins/forms/",
right="FORMS_MANAGEMENT")
public class FormQuestionJspBean
extends AbstractFormQuestionJspBean
This class provides the user interface to manage Form features ( manage, create, modify, remove )
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCreateGroup(javax.servlet.http.HttpServletRequest request) Perform the Group creationdoCreateQuestion(javax.servlet.http.HttpServletRequest request) Perform the Question creation with its EntrydoCreateQuestionAndManageEntries(javax.servlet.http.HttpServletRequest request) Perform the Question creation with its Entry and redirect to Entry fields management viewdoDuplicateQuestion(javax.servlet.http.HttpServletRequest request) Action for duplicate a question of the formdoModifyGroup(javax.servlet.http.HttpServletRequest request) Perform the Group creationdoModifyQuestion(javax.servlet.http.HttpServletRequest request) Perform the Question update with its EntrydoMoveComposite(javax.servlet.http.HttpServletRequest request) Process the FormDisplay moving actiondoRemoveComposite(javax.servlet.http.HttpServletRequest request) Perform the question suppressiondoRemoveFileComment(javax.servlet.http.HttpServletRequest request) doSaveQuestion(javax.servlet.http.HttpServletRequest request) Perform the Question update with its Entry and redirect to the ModifyQuestion viewgetConfirmRemoveComposite(javax.servlet.http.HttpServletRequest request) Gets the confirmation page of question/group deletiongetCreateGroup(javax.servlet.http.HttpServletRequest request) Gets the entry creation pagegetCreateQuestion(javax.servlet.http.HttpServletRequest request) Gets the entry creation pagegetManageQuestions(javax.servlet.http.HttpServletRequest request) Build the Manage ViewgetModifyGroup(javax.servlet.http.HttpServletRequest request) Gets the entry creation pagegetModifyQuestion(javax.servlet.http.HttpServletRequest request) Gets the Question entry modification pagegetMoveComposite(javax.servlet.http.HttpServletRequest request) Gets the Move component pageMethods 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, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
Constructor Details
-
FormQuestionJspBean
public FormQuestionJspBean()
-
-
Method Details
-
getManageQuestions
@View(value="manageQuestions", defaultView=true) public String getManageQuestions(javax.servlet.http.HttpServletRequest request) Build the Manage View- Parameters:
request- The HTTP request- Returns:
- The page
-
getCreateQuestion
@View("createQuestion") public String getCreateQuestion(javax.servlet.http.HttpServletRequest request) Gets the entry creation page- Parameters:
request- The HTTP request- Returns:
- The entry creation page
-
getCreateGroup
Gets the entry creation page- Parameters:
request- The HTTP request- Returns:
- The entry creation page
-
doCreateGroup
@Action("createGroup") public String doCreateGroup(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Perform the Group creation- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException
-
getModifyGroup
Gets the entry creation page- Parameters:
request- The HTTP request- Returns:
- The entry creation page
-
doModifyGroup
@Action("modifyGroup") public String doModifyGroup(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Perform the Group creation- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException
-
doCreateQuestion
@Action("createQuestion") public String doCreateQuestion(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Perform the Question creation with its Entry- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException
-
doCreateQuestionAndManageEntries
@Action("createQuestionAndManageEntries") public String doCreateQuestionAndManageEntries(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Perform the Question creation with its Entry and redirect to Entry fields management view- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException
-
getModifyQuestion
@View("modifyQuestion") public String getModifyQuestion(javax.servlet.http.HttpServletRequest request) Gets the Question entry modification page- Parameters:
request- The HTTP request- Returns:
- The entry modification page
-
doModifyQuestion
@Action("modifyQuestion") public String doModifyQuestion(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Perform the Question update with its Entry- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException
-
doSaveQuestion
@Action("saveQuestion") public String doSaveQuestion(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Perform the Question update with its Entry and redirect to the ModifyQuestion view- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException
-
doDuplicateQuestion
@Action("duplicateQuestion") public String doDuplicateQuestion(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Action for duplicate a question of the form- Parameters:
request- The HttpServletRequest the request- Returns:
- the manage questions page
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException
-
doRemoveFileComment
@Action("removeFileComment") public String doRemoveFileComment(javax.servlet.http.HttpServletRequest request) -
getConfirmRemoveComposite
@View("getConfirmRemoveComposite") public String getConfirmRemoveComposite(javax.servlet.http.HttpServletRequest request) Gets the confirmation page of question/group deletion- Parameters:
request- The HTTP request- Returns:
- the confirmation page of delete entry
-
doRemoveComposite
@Action("removeComposite") public String doRemoveComposite(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Perform the question suppression- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException
-
getMoveComposite
@View("moveComposite") public String getMoveComposite(javax.servlet.http.HttpServletRequest request) Gets the Move component page- Parameters:
request- The HTTP request- Returns:
- The move component page
-
doMoveComposite
@Action("moveComposite") public String doMoveComposite(javax.servlet.http.HttpServletRequest request) Process the FormDisplay moving action- Parameters:
request- The HTTP request- Returns:
- The move component page
-