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

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.ContactListJspBean

public class ContactListJspBean
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
ContactListJspBean()
           
 
Method Summary
 java.lang.String doAssignContactsToList(javax.servlet.http.HttpServletRequest request)
          assigns a contact to a list in database
 java.lang.String doAssignListsToContact(javax.servlet.http.HttpServletRequest request)
          assigns lists to one contact
 java.lang.String doCreateContactList(javax.servlet.http.HttpServletRequest request)
          Inserts a contactList into Database
 java.lang.String doModifyContactList(javax.servlet.http.HttpServletRequest request)
          updates the contactList in database
 java.lang.String doModifyContactListsOrder(javax.servlet.http.HttpServletRequest request)
          Modifies the order in the list of contactLists
 java.lang.String doModifyContactsOrder(javax.servlet.http.HttpServletRequest request)
          Modifies the order in the list of contacts
 java.lang.String doRemoveContactList(javax.servlet.http.HttpServletRequest request)
          removes a record from database
 java.lang.String doUnAssignContact(javax.servlet.http.HttpServletRequest request)
          unassigns contact from list
 java.lang.String doUnAssignList(javax.servlet.http.HttpServletRequest request)
          unassigns list from a contact
 java.lang.String getConfirmRemoveContactList(javax.servlet.http.HttpServletRequest request)
          Manages the removal form of a contact list
 java.lang.String getCreateContactList(javax.servlet.http.HttpServletRequest request)
          returns the form of contactList creation
 java.lang.String getManageContactAssignations(javax.servlet.http.HttpServletRequest request)
          gets the assignations page of a contact
 java.lang.String getManageContactLists(javax.servlet.http.HttpServletRequest request)
          returns the template of the contactLists management
 java.lang.String getManageListAssignations(javax.servlet.http.HttpServletRequest request)
          returns the template of list assignations
 java.lang.String getModifyContactList(javax.servlet.http.HttpServletRequest request)
          returns the template of modification form
 
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

ContactListJspBean

public ContactListJspBean()
Method Detail

getManageContactLists

public java.lang.String getManageContactLists(javax.servlet.http.HttpServletRequest request)
returns the template of the contactLists management

Parameters:
request - The HttpRequest
Returns:
template of lists management

getCreateContactList

public java.lang.String getCreateContactList(javax.servlet.http.HttpServletRequest request)
returns the form of contactList creation

Parameters:
request - The HttpRequest
Returns:
the HTML code of contactList form

doCreateContactList

public java.lang.String doCreateContactList(javax.servlet.http.HttpServletRequest request)
Inserts a contactList into Database

Parameters:
request - The HttpRequest
Returns:
the lsit of contactLists

getModifyContactList

public java.lang.String getModifyContactList(javax.servlet.http.HttpServletRequest request)
returns the template of modification form

Parameters:
request - The HttpRequest
Returns:
the HTML code of modify contactList form

doModifyContactList

public java.lang.String doModifyContactList(javax.servlet.http.HttpServletRequest request)
updates the contactList in database

Parameters:
request - The HttpRequest
Returns:
the contactList list

getConfirmRemoveContactList

public java.lang.String getConfirmRemoveContactList(javax.servlet.http.HttpServletRequest request)
Manages the removal form of a contact list

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

doRemoveContactList

public java.lang.String doRemoveContactList(javax.servlet.http.HttpServletRequest request)
removes a record from database

Parameters:
request - The HttpRequest
Returns:
the contactList list

getManageListAssignations

public java.lang.String getManageListAssignations(javax.servlet.http.HttpServletRequest request)
returns the template of list assignations

Parameters:
request - The HttpRequest
Returns:
the HTML code of list assignations

doAssignContactsToList

public java.lang.String doAssignContactsToList(javax.servlet.http.HttpServletRequest request)
assigns a contact to a list in database

Parameters:
request - The HttpRequest
Returns:
the template of list assignations

doUnAssignContact

public java.lang.String doUnAssignContact(javax.servlet.http.HttpServletRequest request)
unassigns contact from list

Parameters:
request - The HttpRequest
Returns:
the HTML code of list assignations

doUnAssignList

public java.lang.String doUnAssignList(javax.servlet.http.HttpServletRequest request)
unassigns list from a contact

Parameters:
request - The HttpRequest
Returns:
the html code of contact assignations

getManageContactAssignations

public java.lang.String getManageContactAssignations(javax.servlet.http.HttpServletRequest request)
gets the assignations page of a contact

Parameters:
request - The HttpRequest
Returns:
the HTML code of contact assignations

doAssignListsToContact

public java.lang.String doAssignListsToContact(javax.servlet.http.HttpServletRequest request)
assigns lists to one contact

Parameters:
request - The HttpRequest
Returns:
the HTML code of contact assignations

doModifyContactsOrder

public java.lang.String doModifyContactsOrder(javax.servlet.http.HttpServletRequest request)
Modifies the order in the list of contacts

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

doModifyContactListsOrder

public java.lang.String doModifyContactListsOrder(javax.servlet.http.HttpServletRequest request)
Modifies the order in the list of contactLists

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


Copyright © 2009 Mairie de Paris. All Rights Reserved.