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

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 )

See Also:
Serialized Form

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

ContactListJspBean

public ContactListJspBean()
Method Detail

getManageContactLists

public 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 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 String doCreateContactList(javax.servlet.http.HttpServletRequest request)
Inserts a contactList into Database

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

getModifyContactList

public 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 String doModifyContactList(javax.servlet.http.HttpServletRequest request)
updates the contactList in database

Parameters:
request - The HttpRequest
Returns:
the contactList list

getConfirmRemoveContactList

public 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 String doRemoveContactList(javax.servlet.http.HttpServletRequest request)
removes a record from database

Parameters:
request - The HttpRequest
Returns:
the contactList list

getManageListAssignations

public 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 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 String doUnAssignContact(javax.servlet.http.HttpServletRequest request)
unassigns contact from list

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

doUnAssignList

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