Class CalendarTemplateJspBean

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.CalendarTemplateJspBean
All Implemented Interfaces:
Serializable

@SessionScoped @Named @Controller(controllerJsp="ManageCalendarTemplates.jsp", controllerPath="jsp/admin/plugins/appointment/", right="APPOINTMENT_CALENDAR_TEMPLATE") public class CalendarTemplateJspBean extends fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
This class provides the user interface to manage calendar templates
Author:
Laurent Payen
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Name of the JSP of this controller
    static final String
    Folder of the JSP of this controller
    static final String
    URL of the JSP of this controller
    static final String
    Right to manage appointment calendar templates
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    doCreateModifyTemplate(jakarta.servlet.http.HttpServletRequest request)
    Do the creation or the modification of a calendar template
    doDownloadTemplate(jakarta.servlet.http.HttpServletRequest request)
    Do download a template
    doRemoveTemplate(jakarta.servlet.http.HttpServletRequest request)
    Do remove a template
    getConfirmRemoveTemplate(jakarta.servlet.http.HttpServletRequest request)
    Get the confirmation page before removing a template
    getCreateModifyTemplate(jakarta.servlet.http.HttpServletRequest request)
    Get the page to create or modify an existing template
    getManageAppointmentCalendarTemplates(jakarta.servlet.http.HttpServletRequest request)
    Get the page to manage calendar templates.

    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

    Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean

    getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getSecurityTokenService, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • RIGHT_MANAGE_CALENDAR_TEMPLATES

      public static final String RIGHT_MANAGE_CALENDAR_TEMPLATES
      Right to manage appointment calendar templates
      See Also:
    • CONTROLLER_PATH

      public static final String CONTROLLER_PATH
      Folder of the JSP of this controller
      See Also:
    • CONTROLLER_JSP

      public static final String CONTROLLER_JSP
      Name of the JSP of this controller
      See Also:
    • JSP_URL_MANAGE_CALENDAR_TEMPLATE

      public static final String JSP_URL_MANAGE_CALENDAR_TEMPLATE
      URL of the JSP of this controller
      See Also:
  • Constructor Details

    • CalendarTemplateJspBean

      public CalendarTemplateJspBean()
  • Method Details

    • getManageAppointmentCalendarTemplates

      @View(value="viewManageCalendarTemplates", defaultView=true) public String getManageAppointmentCalendarTemplates(jakarta.servlet.http.HttpServletRequest request)
      Get the page to manage calendar templates.
      Parameters:
      request - The request
      Returns:
      The HTML code to display
    • getCreateModifyTemplate

      @View("getCreateModifyTemplate") public String getCreateModifyTemplate(jakarta.servlet.http.HttpServletRequest request)
      Get the page to create or modify an existing template
      Parameters:
      request - The request
      Returns:
      The page to create or modify an existing template
    • doCreateModifyTemplate

      @Action("doCreateModifyTemplate") public String doCreateModifyTemplate(jakarta.servlet.http.HttpServletRequest request)
      Do the creation or the modification of a calendar template
      Parameters:
      request - The request
      Returns:
      The next URL to redirect to
    • getConfirmRemoveTemplate

      @View("getConfirmRemoveTemplate") public String getConfirmRemoveTemplate(jakarta.servlet.http.HttpServletRequest request)
      Get the confirmation page before removing a template
      Parameters:
      request - The request
      Returns:
      The next URL to redirect to
    • doRemoveTemplate

      @Action("doRemoveTemplate") public String doRemoveTemplate(jakarta.servlet.http.HttpServletRequest request)
      Do remove a template
      Parameters:
      request - The request
      Returns:
      The next URL to redirect to
    • doDownloadTemplate

      @Action("doDownloadTemplate") public String doDownloadTemplate(jakarta.servlet.http.HttpServletRequest request)
      Do download a template
      Parameters:
      request - The request
      Returns:
      The next URL to redirect to