Class ContactListJspBean

  • All Implemented Interfaces:
    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
    • Constructor Detail

      • ContactListJspBean

        public ContactListJspBean()
    • Method Detail

      • getManageContactLists

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

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

        @Action("actionCreateContactList")
        public 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 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 String doModifyContactList​(javax.servlet.http.HttpServletRequest request)
        updates the contactList in database
        Parameters:
        request - The HttpRequest
        Returns:
        the contactList list
      • getConfirmRemoveContactList

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

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

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

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

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