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

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

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

JspBean to manage calendar slots

See Also:
Serialized Form

Field Summary
static String JSP_MANAGE_APPOINTMENT_SLOTS
          JSP of this JSP Bean
 
Constructor Summary
AppointmentSlotJspBean()
           
 
Method Summary
 String doChangeSlotEnabling(javax.servlet.http.HttpServletRequest request)
          Do change the enabling of a slot
 String getManageSlots(javax.servlet.http.HttpServletRequest request)
          Get the page to manage slots of a form or a day
static String getUrlManageSlotsByIdDay(javax.servlet.http.HttpServletRequest request, int nIdDay)
          Get the URL to manage slots associated with a day
static String getUrlManageSlotsByIdDay(javax.servlet.http.HttpServletRequest request, String strIdDay)
          Get the URL to manage slots associated with a day
static String getUrlManageSlotsByIdForm(javax.servlet.http.HttpServletRequest request, int nIdForm)
          Get the URL to manage slots associated with a form
static String getUrlManageSlotsByIdForm(javax.servlet.http.HttpServletRequest request, String strIdForm)
          Get the URL to manage slots associated with a form
 
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
 

Field Detail

JSP_MANAGE_APPOINTMENT_SLOTS

public static final String JSP_MANAGE_APPOINTMENT_SLOTS
JSP of this JSP Bean

See Also:
Constant Field Values
Constructor Detail

AppointmentSlotJspBean

public AppointmentSlotJspBean()
Method Detail

getManageSlots

@View(value="manageAppointmentSlots")
public String getManageSlots(javax.servlet.http.HttpServletRequest request)
Get the page to manage slots of a form or a day

Parameters:
request - The request
Returns:
The HTML content to display or the next URL to redirect to

doChangeSlotEnabling

@Action(value="doChangeSlotEnabling")
public String doChangeSlotEnabling(javax.servlet.http.HttpServletRequest request)
Do change the enabling of a slot

Parameters:
request - The request
Returns:
The next URL to redirect to

getUrlManageSlotsByIdForm

public static String getUrlManageSlotsByIdForm(javax.servlet.http.HttpServletRequest request,
                                               int nIdForm)
Get the URL to manage slots associated with a form

Parameters:
request - The request
nIdForm - The id of the form
Returns:
The URL to manage slots

getUrlManageSlotsByIdForm

public static String getUrlManageSlotsByIdForm(javax.servlet.http.HttpServletRequest request,
                                               String strIdForm)
Get the URL to manage slots associated with a form

Parameters:
request - The request
strIdForm - The id of the form
Returns:
The URL to manage slots

getUrlManageSlotsByIdDay

public static String getUrlManageSlotsByIdDay(javax.servlet.http.HttpServletRequest request,
                                              int nIdDay)
Get the URL to manage slots associated with a day

Parameters:
request - The request
nIdDay - The id of the day
Returns:
The URL to manage slots

getUrlManageSlotsByIdDay

public static String getUrlManageSlotsByIdDay(javax.servlet.http.HttpServletRequest request,
                                              String strIdDay)
Get the URL to manage slots associated with a day

Parameters:
request - The request
strIdDay - The id of the day
Returns:
The URL to manage slots


Copyright © 2014 Mairie de Paris. All Rights Reserved.