fr.paris.lutece.plugins.appointment.web
Class AppointmentFormDayJspBean

java.lang.Object
  extended by fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
      extended by fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
          extended by fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
              extended by fr.paris.lutece.plugins.appointment.web.AppointmentFormDayJspBean
All Implemented Interfaces:
Serializable

@Controller(controllerJsp="ManageAppointmentFormDays.jsp",
            controllerPath="jsp/admin/plugins/appointment/",
            right="APPOINTMENT_FORM_MANAGEMENT")
public class AppointmentFormDayJspBean
extends fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean

JspBean to manage days

See Also:
Serialized Form

Constructor Summary
AppointmentFormDayJspBean()
           
 
Method Summary
 String doCreateDay(javax.servlet.http.HttpServletRequest request)
          Do create a day
 String doModifyDay(javax.servlet.http.HttpServletRequest request)
          Perform the entry modification
 String doRefreshDays(javax.servlet.http.HttpServletRequest request)
          Do remove days of the comings weeks and recreate them
 String getConfirmRefreshDays(javax.servlet.http.HttpServletRequest request)
          Get the page to confirm the refreshment of days of a form
 String getCreateDay(javax.servlet.http.HttpServletRequest request)
          Get the HTML code to create an entry
 String getModifyDay(javax.servlet.http.HttpServletRequest request)
          Gets the entry modification page
 String getModifyFormDays(javax.servlet.http.HttpServletRequest request)
          Get the page to manage days of an appointment form
static String getURLManageAppointmentFormDays(javax.servlet.http.HttpServletRequest request, String strIdForm)
          Get the URL to manage appointment forms
 
Methods inherited from class fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
addError, addError, addInfo, addInfo, fillCommons, getActionUrl, getControllerJsp, getControllerPath, getModel, getPage, getPage, getPage, getViewFullUrl, getViewUrl, processController, redirect, redirect, redirect, redirect, redirectView, validateBean
 
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, populate, setFeatureIcon, setPageTitleProperty, validate, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppointmentFormDayJspBean

public AppointmentFormDayJspBean()
Method Detail

getModifyFormDays

@View(value="modifyAppointmentFormDays")
public String getModifyFormDays(javax.servlet.http.HttpServletRequest request)
                         throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Get the page to manage days of an appointment form

Parameters:
request - The request
Returns:
the HTML content to display, or the next URL to redirect to
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - If the user is not authorized to access this feature.

getCreateDay

@View(value="getCreateDay")
public String getCreateDay(javax.servlet.http.HttpServletRequest request)
                    throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Get the HTML code to create an entry

Parameters:
request - The request
Returns:
The HTML code to display or the next URL to redirect to
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - If the user is not authorized to access this feature.

doCreateDay

@Action(value="doCreateDay")
public String doCreateDay(javax.servlet.http.HttpServletRequest request)
                   throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Do create a day

Parameters:
request - the request
Returns:
The HTML code to display or the next URL to redirect to
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - If the user is not authorized to access this feature.

getModifyDay

@View(value="getModifyDay")
public String getModifyDay(javax.servlet.http.HttpServletRequest request)
                    throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Gets the entry modification page

Parameters:
request - The HTTP request
Returns:
The entry modification page
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - If the user is not authorized to access this feature.

doModifyDay

@Action(value="doModifyDay")
public String doModifyDay(javax.servlet.http.HttpServletRequest request)
                   throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Perform the entry modification

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - If the user is not authorized to access this feature.

getConfirmRefreshDays

@View(value="confirmRefreshDays")
public String getConfirmRefreshDays(javax.servlet.http.HttpServletRequest request)
                             throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Get the page to confirm the refreshment of days of a form

Parameters:
request - The request
Returns:
The next URL to redirect to
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - If the user is not authorized to access this feature.

doRefreshDays

@Action(value="doRefreshDays")
public String doRefreshDays(javax.servlet.http.HttpServletRequest request)
                     throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Do remove days of the comings weeks and recreate them

Parameters:
request - The request
Returns:
The next URL to redirect to
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - If the user is not authorized to access this feature.

getURLManageAppointmentFormDays

public static String getURLManageAppointmentFormDays(javax.servlet.http.HttpServletRequest request,
                                                     String strIdForm)
Get the URL to manage appointment forms

Parameters:
request - The request
strIdForm - The id of the form to manage days of
Returns:
The URL to manage appointment forms


Copyright © 2014 Mairie de Paris. All Rights Reserved.