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

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

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

JspBean to manage appointment form entries

See Also:
Serialized Form

Constructor Summary
AppointmentFormEntryJspBean()
           
 
Method Summary
 String doChangeOrderEntry(javax.servlet.http.HttpServletRequest request)
          Change the attribute's order (move up or move down in the list)
 String doCopyEntry(javax.servlet.http.HttpServletRequest request)
          Copy the entry whose key is specified in the HTTP request
 String doCreateEntry(javax.servlet.http.HttpServletRequest request)
          Do create an entry
 String doInsertRegularExpression(javax.servlet.http.HttpServletRequest request)
          Insert an association between a field and a regular expression
 String doModifyEntry(javax.servlet.http.HttpServletRequest request)
          Perform the entry modification
 String doMoveDownEntryConditional(javax.servlet.http.HttpServletRequest request)
          Do move down an conditional entry of a field
 String doMoveOutEntry(javax.servlet.http.HttpServletRequest request)
          Remove an entry from a group
 String doMoveUpEntryConditional(javax.servlet.http.HttpServletRequest request)
          Do move up an conditional entry of a field
 String doRemoveEntry(javax.servlet.http.HttpServletRequest request)
          Perform the entry removal
 String doRemoveRegularExpression(javax.servlet.http.HttpServletRequest request)
          Delete the association between a field and and regular expression
 String getConfirmRemoveEntry(javax.servlet.http.HttpServletRequest request)
          Gets the confirmation page of delete entry
 String getCreateEntry(javax.servlet.http.HttpServletRequest request)
          Get the HTML code to create an entry
 String getModifyEntry(javax.servlet.http.HttpServletRequest request)
          Gets the entry modification page
static String getURLModifyEntry(javax.servlet.http.HttpServletRequest request, int nIdEntry)
          Get the URL to modify an entry
 
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

AppointmentFormEntryJspBean

public AppointmentFormEntryJspBean()
Method Detail

getCreateEntry

@View(value="getCreateEntry")
public String getCreateEntry(javax.servlet.http.HttpServletRequest request)
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

doCreateEntry

@Action(value="doCreateEntry")
public String doCreateEntry(javax.servlet.http.HttpServletRequest request)
Do create an entry

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

getModifyEntry

@View(value="getModifyEntry")
public String getModifyEntry(javax.servlet.http.HttpServletRequest request)
Gets the entry modification page

Parameters:
request - The HTTP request
Returns:
The entry modification page

doModifyEntry

@Action(value="doModifyEntry")
public String doModifyEntry(javax.servlet.http.HttpServletRequest request)
Perform the entry modification

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

getConfirmRemoveEntry

@View(value="confirmRemoveEntry")
public String getConfirmRemoveEntry(javax.servlet.http.HttpServletRequest request)
Gets the confirmation page of delete entry

Parameters:
request - The HTTP request
Returns:
the confirmation page of delete entry

doRemoveEntry

@Action(value="doRemoveEntry")
public String doRemoveEntry(javax.servlet.http.HttpServletRequest request)
Perform the entry removal

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

doMoveUpEntryConditional

@Action(value="doMoveUpEntryConditional")
public String doMoveUpEntryConditional(javax.servlet.http.HttpServletRequest request)
Do move up an conditional entry of a field

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

doMoveDownEntryConditional

@Action(value="doMoveDownEntryConditional")
public String doMoveDownEntryConditional(javax.servlet.http.HttpServletRequest request)
Do move down an conditional entry of a field

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

doCopyEntry

@Action(value="doCopyEntry")
public String doCopyEntry(javax.servlet.http.HttpServletRequest request)
Copy the entry whose key is specified in the HTTP request

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

doChangeOrderEntry

@Action(value="doChangeOrderEntry")
public String doChangeOrderEntry(javax.servlet.http.HttpServletRequest request)
Change the attribute's order (move up or move down in the list)

Parameters:
request - the request
Returns:
The URL of the form management page

doMoveOutEntry

@Action(value="doMoveOutEntry")
public String doMoveOutEntry(javax.servlet.http.HttpServletRequest request)
Remove an entry from a group

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

doRemoveRegularExpression

@Action(value="doRemoveRegularExpression")
public String doRemoveRegularExpression(javax.servlet.http.HttpServletRequest request)
Delete the association between a field and and regular expression

Parameters:
request - the HTTP Request
Returns:
The URL to go after performing the action

doInsertRegularExpression

@Action(value="doInsertRegularExpression")
public String doInsertRegularExpression(javax.servlet.http.HttpServletRequest request)
Insert an association between a field and a regular expression

Parameters:
request - the HTTP Request
Returns:
The URL to go after performing the action

getURLModifyEntry

public static String getURLModifyEntry(javax.servlet.http.HttpServletRequest request,
                                       int nIdEntry)
Get the URL to modify an entry

Parameters:
request - The request
nIdEntry - The id of the entry
Returns:
The URL to modify the given entry


Copyright © 2014 Mairie de Paris. All Rights Reserved.