Class AppointmentFormEntryJspBean
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.appointment.web.AppointmentFormEntryJspBean
- All Implemented Interfaces:
Serializable
@SessionScoped
@Named
@Controller(controllerJsp="ManageAppointmentFormEntries.jsp",
controllerPath="jsp/admin/plugins/appointment/",
right="APPOINTMENT_FORM_MANAGEMENT")
public class AppointmentFormEntryJspBean
extends fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
JspBean to manage appointment form entries
- Author:
- Laurent Payen
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoChangeActive(jakarta.servlet.http.HttpServletRequest request) doChangeOrderEntry(jakarta.servlet.http.HttpServletRequest request) Change the attribute's order (move up or move down in the list)doCopyEntry(jakarta.servlet.http.HttpServletRequest request) Copy the entry whose key is specified in the HTTP requestdoCreateEntry(jakarta.servlet.http.HttpServletRequest request) Do create an entrydoInsertRegularExpression(jakarta.servlet.http.HttpServletRequest request) Insert an association between a field and a regular expressiondoModifyEntry(jakarta.servlet.http.HttpServletRequest request) Perform the entry modificationdoMoveDownEntryConditional(jakarta.servlet.http.HttpServletRequest request) Do move down an conditional entry of a fielddoMoveOutEntry(jakarta.servlet.http.HttpServletRequest request) Remove an entry from a groupdoMoveUpEntryConditional(jakarta.servlet.http.HttpServletRequest request) Do move up an conditional entry of a fielddoRemoveEntry(jakarta.servlet.http.HttpServletRequest request) Perform the entry removaldoRemoveRegularExpression(jakarta.servlet.http.HttpServletRequest request) Delete the association between a field and and regular expressiongetConfirmRemoveEntry(jakarta.servlet.http.HttpServletRequest request) Gets the confirmation page of delete entrygetCreateEntry(jakarta.servlet.http.HttpServletRequest request) Get the HTML code to create an entry.getModifyAppointmentFormEntries(jakarta.servlet.http.HttpServletRequest request) Get the view of the entries of the formgetModifyEntry(jakarta.servlet.http.HttpServletRequest request) Gets the entry modification pagestatic StringgetURLModifyAppointmentForm(jakarta.servlet.http.HttpServletRequest request, int nIdForm) Get the URL to modify an appointment formstatic StringgetURLModifyAppointmentForm(jakarta.servlet.http.HttpServletRequest request, String strIdForm) Get the URL to modify an appointment formstatic StringgetURLModifyEntry(jakarta.servlet.http.HttpServletRequest request, int nIdEntry) Get the URL to modify an entryMethods 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
-
AppointmentFormEntryJspBean
public AppointmentFormEntryJspBean()
-
-
Method Details
-
getModifyAppointmentFormEntries
@View("modifyAppointmentFormEntries") public String getModifyAppointmentFormEntries(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Get the view of the entries of the form- Parameters:
request- the request- Returns:
- the page
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException
-
getCreateEntry
@View("getCreateEntry") public String getCreateEntry(jakarta.servlet.http.HttpServletRequest request) Get the HTML code to create an entry. A type without a creation screen is not created here: the request asks for a confirmation whose form posts the creation action.- Parameters:
request- The request- Returns:
- The HTML code to display or the next URL to redirect to
-
doCreateEntry
@Action("doCreateEntry") public String doCreateEntry(jakarta.servlet.http.HttpServletRequest request) Do create an entry- Parameters:
request- the request- Returns:
- The HTML code to display or the next URL to redirect to
-
getModifyEntry
@View("getModifyEntry") public String getModifyEntry(jakarta.servlet.http.HttpServletRequest request) Gets the entry modification page- Parameters:
request- The HTTP request- Returns:
- The entry modification page
-
doModifyEntry
@Action("doModifyEntry") public String doModifyEntry(jakarta.servlet.http.HttpServletRequest request) Perform the entry modification- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
getConfirmRemoveEntry
@View("confirmRemoveEntry") public String getConfirmRemoveEntry(jakarta.servlet.http.HttpServletRequest request) Gets the confirmation page of delete entry- Parameters:
request- The HTTP request- Returns:
- the confirmation page of delete entry
-
doRemoveEntry
@Action("doRemoveEntry") public String doRemoveEntry(jakarta.servlet.http.HttpServletRequest request) Perform the entry removal- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
doMoveUpEntryConditional
@Action("doMoveUpEntryConditional") public String doMoveUpEntryConditional(jakarta.servlet.http.HttpServletRequest request) Do move up an conditional entry of a field- Parameters:
request- The request- Returns:
- The next URL to redirect to
-
doMoveDownEntryConditional
@Action("doMoveDownEntryConditional") public String doMoveDownEntryConditional(jakarta.servlet.http.HttpServletRequest request) Do move down an conditional entry of a field- Parameters:
request- The request- Returns:
- The next URL to redirect to
-
doCopyEntry
Copy the entry whose key is specified in the HTTP request- Parameters:
request- The HTTP request- Returns:
- The URL to go after performing the action
-
doChangeOrderEntry
@Action("doChangeOrderEntry") public String doChangeOrderEntry(jakarta.servlet.http.HttpServletRequest request) Change the attribute's order (move up or move down in the list)- Parameters:
request- the request- Returns:
- The URL of the form management page
-
doMoveOutEntry
@Action("doMoveOutEntry") public String doMoveOutEntry(jakarta.servlet.http.HttpServletRequest request) Remove an entry from a group- Parameters:
request- The request- Returns:
- The newt URL to redirect to
-
doRemoveRegularExpression
@Action("doRemoveRegularExpression") public String doRemoveRegularExpression(jakarta.servlet.http.HttpServletRequest request) Delete the association between a field and and regular expression- Parameters:
request- the HTTP Request- Returns:
- The URL to go after performing the action
-
doInsertRegularExpression
@Action("doInsertRegularExpression") public String doInsertRegularExpression(jakarta.servlet.http.HttpServletRequest request) Insert an association between a field and a regular expression- Parameters:
request- the HTTP Request- Returns:
- The URL to go after performing the action
-
doChangeActive
@Action("doChangeDisabled") public String doChangeActive(jakarta.servlet.http.HttpServletRequest request) -
getURLModifyEntry
public static String getURLModifyEntry(jakarta.servlet.http.HttpServletRequest request, int nIdEntry) Get the URL to modify an entry- Parameters:
request- The requestnIdEntry- The id of the entry- Returns:
- The URL to modify the given entry
-
getURLModifyAppointmentForm
public static String getURLModifyAppointmentForm(jakarta.servlet.http.HttpServletRequest request, int nIdForm) Get the URL to modify an appointment form- Parameters:
request- The requestnIdForm- The id of the form to modify- Returns:
- The URL to modify the given Appointment form
-
getURLModifyAppointmentForm
public static String getURLModifyAppointmentForm(jakarta.servlet.http.HttpServletRequest request, String strIdForm) Get the URL to modify an appointment form- Parameters:
request- The requeststrIdForm- The id of the form to modify- Returns:
- The URL to modify the given Appointment form
-