fr.paris.lutece.plugins.contact.web
Class ContactJspBean

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.plugins.contact.web.ContactJspBean
All Implemented Interfaces:
Serializable

public class ContactJspBean
extends fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean

This class provides the user interface to manage contact features ( manage, create, modify, remove, change order of contact )

See Also:
Serialized Form

Field Summary
static String RIGHT_MANAGE_CONTACT
           
 
Constructor Summary
ContactJspBean()
           
 
Method Summary
 String doCreateContact(javax.servlet.http.HttpServletRequest request)
          Process the data capture form of a new contact
 String doModifyContact(javax.servlet.http.HttpServletRequest request)
          Process the change form of a contact
 String doRemoveContact(javax.servlet.http.HttpServletRequest request)
          Treats the removal form of a contact
 String getConfirmRemoveContact(javax.servlet.http.HttpServletRequest request)
          Manages the removal form of a contact whose identifier is in the http request
 String getCreateContact(javax.servlet.http.HttpServletRequest request)
          Returns the form to create a contact
 String getManageContacts(javax.servlet.http.HttpServletRequest request)
          Returns the list of people to contact by email
 String getManageContactsHome(javax.servlet.http.HttpServletRequest request)
          returns the template, with the 2 features: contacts, and contactList
 String getModifyContact(javax.servlet.http.HttpServletRequest request)
          Returns the form to update info about a contact
 
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

RIGHT_MANAGE_CONTACT

public static final String RIGHT_MANAGE_CONTACT
See Also:
Constant Field Values
Constructor Detail

ContactJspBean

public ContactJspBean()
Method Detail

getManageContactsHome

public String getManageContactsHome(javax.servlet.http.HttpServletRequest request)
returns the template, with the 2 features: contacts, and contactList

Parameters:
request - the HttpRequest
Returns:
template model

getManageContacts

public String getManageContacts(javax.servlet.http.HttpServletRequest request)
Returns the list of people to contact by email

Parameters:
request - The Http request
Returns:
the contacts list

getCreateContact

public String getCreateContact(javax.servlet.http.HttpServletRequest request)
Returns the form to create a contact

Parameters:
request - The Http request
Returns:
the html code of the contact form

doCreateContact

public String doCreateContact(javax.servlet.http.HttpServletRequest request)
Process the data capture form of a new contact

Parameters:
request - The Http Request
Returns:
The Jsp URL of the process result

getModifyContact

public String getModifyContact(javax.servlet.http.HttpServletRequest request)
Returns the form to update info about a contact

Parameters:
request - The Http request
Returns:
The HTML form to update info

doModifyContact

public String doModifyContact(javax.servlet.http.HttpServletRequest request)
Process the change form of a contact

Parameters:
request - The Http request
Returns:
The Jsp URL of the process result

getConfirmRemoveContact

public String getConfirmRemoveContact(javax.servlet.http.HttpServletRequest request)
Manages the removal form of a contact whose identifier is in the http request

Parameters:
request - The Http request
Returns:
the html code to confirm

doRemoveContact

public String doRemoveContact(javax.servlet.http.HttpServletRequest request)
Treats the removal form of a contact

Parameters:
request - The Http request
Returns:
the jsp URL to display the form to manage contacts


Copyright © 2013 Mairie de Paris. All Rights Reserved.