fr.paris.lutece.plugins.newsletter.web.portlet
Class NewsLetterSubscriptionPortletJspBean

java.lang.Object
  extended by fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
      extended by fr.paris.lutece.portal.web.portlet.PortletJspBean
          extended by fr.paris.lutece.plugins.newsletter.web.portlet.NewsLetterSubscriptionPortletJspBean
All Implemented Interfaces:
Serializable

public class NewsLetterSubscriptionPortletJspBean
extends fr.paris.lutece.portal.web.portlet.PortletJspBean

This class provides the user interface to manage newsletter subscription portlets.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class fr.paris.lutece.portal.web.portlet.PortletJspBean
PARAMETER_PAGE_ID, PARAMETER_PORTLET_ID, PARAMETER_PORTLET_TYPE_ID, RIGHT_MANAGE_ADMIN_SITE
 
Constructor Summary
NewsLetterSubscriptionPortletJspBean()
           
 
Method Summary
 String doCreate(javax.servlet.http.HttpServletRequest request)
          Processes the creation of the portlet
 String doModify(javax.servlet.http.HttpServletRequest request)
          Processes the modification of the portlet
static String doRegister(javax.servlet.http.HttpServletRequest request)
          Performs the registration action
 String getCreate(javax.servlet.http.HttpServletRequest request)
          Returns the creation form for the portlet
 String getModify(javax.servlet.http.HttpServletRequest request)
          Returns the modification form for the portlet
 String getPropertiesPrefix()
          Returns portlet's properties prefix
 
Methods inherited from class fr.paris.lutece.portal.web.portlet.PortletJspBean
getCreateTemplate, getCreateTemplate, getModifyTemplate, getModifyTemplate, getPageUrl, putCheckBox, setPortletCommonData
 
Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, init, populate, setFeatureIcon, setPageTitleProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewsLetterSubscriptionPortletJspBean

public NewsLetterSubscriptionPortletJspBean()
Method Detail

getCreate

public String getCreate(javax.servlet.http.HttpServletRequest request)
Returns the creation form for the portlet

Specified by:
getCreate in class fr.paris.lutece.portal.web.portlet.PortletJspBean
Parameters:
request - the HTML request
Returns:
the HTML code for the page

doCreate

public String doCreate(javax.servlet.http.HttpServletRequest request)
Processes the creation of the portlet

Specified by:
doCreate in class fr.paris.lutece.portal.web.portlet.PortletJspBean
Parameters:
request - the HTML request
Returns:
the URL to redirect to

getModify

public String getModify(javax.servlet.http.HttpServletRequest request)
Returns the modification form for the portlet

Specified by:
getModify in class fr.paris.lutece.portal.web.portlet.PortletJspBean
Parameters:
request - the HTML request
Returns:
the HTML code for the page

doModify

public String doModify(javax.servlet.http.HttpServletRequest request)
Processes the modification of the portlet

Specified by:
doModify in class fr.paris.lutece.portal.web.portlet.PortletJspBean
Parameters:
request - the HTTP request
Returns:
the URL to redirect to

getPropertiesPrefix

public String getPropertiesPrefix()
Returns portlet's properties prefix

Returns:
prefix

doRegister

public static String doRegister(javax.servlet.http.HttpServletRequest request)
                         throws fr.paris.lutece.portal.service.message.SiteMessageException
Performs the registration action

Parameters:
request - The http request
Returns:
An error message
Throws:
fr.paris.lutece.portal.service.message.SiteMessageException - A message handled by the front office


Copyright © 2013 Mairie de Paris. All Rights Reserved.