Class ContactListJspBean

  • All Implemented Interfaces:
    java.io.Serializable

    @Controller(controllerJsp="ManageContactLists.jsp",
                controllerPath="jsp/admin/plugins/contact/",
                right="CONTACT_MANAGEMENT")
    public class ContactListJspBean
    extends fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
    This class provides the user interface to manage contact features ( manage, create, modify, remove, change order of contact )
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String RIGHT_MANAGE_CONTACT  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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.util.mvc.admin.MVCAdminJspBean

        processController
      • 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, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
      • Methods inherited from class java.lang.Object

        equals, 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

        @View(value="viewManageContactLists",
              defaultView=true)
        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

        @View("viewCreateContactList")
        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

        @Action("actionCreateContactList")
        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

        @View("viewModifyContactList")
        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

        @Action("actionModifyContactList")
        public java.lang.String doModifyContactList​(javax.servlet.http.HttpServletRequest request)
        updates the contactList in database
        Parameters:
        request - The HttpRequest
        Returns:
        the contactList list
      • getConfirmRemoveContactList

        @View("viewConfirmRemoveContactList")
        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

        @Action("actionRemoveContactList")
        public java.lang.String doRemoveContactList​(javax.servlet.http.HttpServletRequest request)
        removes a record from database
        Parameters:
        request - The HttpRequest
        Returns:
        the contactList list
      • getManageListAssignations

        @View("viewManageContactListAssignation")
        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

        @Action("actionAssignContactsToList")
        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

        @Action("actionRevokeContactsFromList")
        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

        @Action("actionRevokeListsFromContact")
        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

        @View("viewManageContactAssignation")
        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

        @Action("actionAssignListsToContact")
        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

        @Action("actionModifyContactOrder")
        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

        @Action("actionModifyContactListOrder")
        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