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

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 )


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

ContactJspBean

public ContactJspBean()
Method Detail

getManageContactsHome

public java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 © 2009 Mairie de Paris. All Rights Reserved.