Class CalendarTemplateJspBean

  • All Implemented Interfaces:
    Serializable

    @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:
    Serialized Form
    • Field Detail

      • RIGHT_MANAGE_CALENDAR_TEMPLATES

        public static final String RIGHT_MANAGE_CALENDAR_TEMPLATES
        Right to manage appointment calendar templates
        See Also:
        Constant Field Values
      • JSP_URL_MANAGE_CALENDAR_TEMPLATE

        public static final String JSP_URL_MANAGE_CALENDAR_TEMPLATE
        URL of the JSP of this controller
        See Also:
        Constant Field Values
    • Constructor Detail

      • CalendarTemplateJspBean

        public CalendarTemplateJspBean()
    • Method Detail

      • getManageAppointmentCalendarTemplates

        @View(value="viewManageCalendarTemplates",
              defaultView=true)
        public String getManageAppointmentCalendarTemplates​(javax.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​(javax.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​(javax.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​(javax.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​(javax.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​(javax.servlet.http.HttpServletRequest request)
        Do download a template
        Parameters:
        request - The request
        Returns:
        The next URL to redirect to