Class CalendarTemplateJspBean

  • All Implemented Interfaces:
    java.io.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String doCreateModifyTemplate​(javax.servlet.http.HttpServletRequest request)
      Do the creation or the modification of a calendar template
      java.lang.String doDownloadTemplate​(javax.servlet.http.HttpServletRequest request)
      Do download a template
      java.lang.String doRemoveTemplate​(javax.servlet.http.HttpServletRequest request)
      Do remove a template
      java.lang.String getConfirmRemoveTemplate​(javax.servlet.http.HttpServletRequest request)
      Get the confirmation page before removing a template
      java.lang.String getCreateModifyTemplate​(javax.servlet.http.HttpServletRequest request)
      Get the page to create or modify an existing template
      java.lang.String getManageAppointmentCalendarTemplates​(javax.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, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
      • Methods inherited from class java.lang.Object

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

      • RIGHT_MANAGE_CALENDAR_TEMPLATES

        public static final java.lang.String RIGHT_MANAGE_CALENDAR_TEMPLATES
        Right to manage appointment calendar templates
        See Also:
        Constant Field Values
      • CONTROLLER_PATH

        public static final java.lang.String CONTROLLER_PATH
        Folder of the JSP of this controller
        See Also:
        Constant Field Values
      • CONTROLLER_JSP

        public static final java.lang.String CONTROLLER_JSP
        Name of the JSP of this controller
        See Also:
        Constant Field Values
      • JSP_URL_MANAGE_CALENDAR_TEMPLATE

        public static final java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String doDownloadTemplate​(javax.servlet.http.HttpServletRequest request)
        Do download a template
        Parameters:
        request - The request
        Returns:
        The next URL to redirect to