Class ContactJspBean

  • All Implemented Interfaces:
    Serializable

    @Controller(controllerJsp="ManageContacts.jsp",
                controllerPath="jsp/admin/plugins/contact/",
                right="CONTACT_MANAGEMENT")
    public class ContactJspBean
    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 Summary

      Constructors 
      Constructor Description
      ContactJspBean()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String doCreateContact​(javax.servlet.http.HttpServletRequest request)
      Process the data capture form of a new contact
      String doModifyContact​(javax.servlet.http.HttpServletRequest request)
      Process the change form of a contact
      String doRemoveContact​(javax.servlet.http.HttpServletRequest request)
      Treats the removal form of a contact
      String getConfirmRemoveContact​(javax.servlet.http.HttpServletRequest request)
      Manages the removal form of a contact whose identifier is in the http request
      String getCreateContact​(javax.servlet.http.HttpServletRequest request)
      Returns the form to create a contact
      String getManageContacts​(javax.servlet.http.HttpServletRequest request)
      Returns the list of people to contact by email
      String getManageContactsHome​(javax.servlet.http.HttpServletRequest request)
      returns the template, with the 2 features: contacts, and contactList
      String getModifyContact​(javax.servlet.http.HttpServletRequest request)
      Returns the form to update info about a contact
      • 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
    • Constructor Detail

      • ContactJspBean

        public ContactJspBean()
    • Method Detail

      • getManageContactsHome

        public 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

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

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

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

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

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

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

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