Class ContactJspBean
- java.lang.Object
-
- fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
-
- fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
-
- fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
-
- fr.paris.lutece.plugins.contact.web.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.MVCAdminJspBeanThis 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 StringRIGHT_MANAGE_CONTACT
-
Constructor Summary
Constructors Constructor Description ContactJspBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdoCreateContact(javax.servlet.http.HttpServletRequest request)Process the data capture form of a new contactStringdoModifyContact(javax.servlet.http.HttpServletRequest request)Process the change form of a contactStringdoRemoveContact(javax.servlet.http.HttpServletRequest request)Treats the removal form of a contactStringgetConfirmRemoveContact(javax.servlet.http.HttpServletRequest request)Manages the removal form of a contact whose identifier is in the http requestStringgetCreateContact(javax.servlet.http.HttpServletRequest request)Returns the form to create a contactStringgetManageContacts(javax.servlet.http.HttpServletRequest request)Returns the list of people to contact by emailStringgetManageContactsHome(javax.servlet.http.HttpServletRequest request)returns the template, with the 2 features: contacts, and contactListStringgetModifyContact(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
-
-
-
-
Field Detail
-
RIGHT_MANAGE_CONTACT
public static final String RIGHT_MANAGE_CONTACT
- See Also:
- Constant Field Values
-
-
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
-
-