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

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

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


Field Summary
 
Fields inherited from class fr.paris.lutece.portal.web.portlet.PortletJspBean
RIGHT_MANAGE_ADMIN_SITE
 
Constructor Summary
NewsLetterSubscriptionPortletJspBean()
           
 
Method Summary
 java.lang.String doCreate(javax.servlet.http.HttpServletRequest request)
          Processes the creation of the portlet
 java.lang.String doModify(javax.servlet.http.HttpServletRequest request)
          Processes the modification of the portlet
static java.lang.String doRegister(javax.servlet.http.HttpServletRequest request)
          Performs the registration action
 java.lang.String getCreate(javax.servlet.http.HttpServletRequest request)
          Returns the creation form for the portlet
 java.lang.String getModify(javax.servlet.http.HttpServletRequest request)
          Returns the modification form for the portlet
 java.lang.String getPropertiesPrefix()
          Returns portlet's properties prefix
 
Methods inherited from class fr.paris.lutece.portal.web.portlet.PortletJspBean
getCreateTemplate, getCreateTemplate, getModifyTemplate, getModifyTemplate, getPageUrl, setPortletCommonData
 
Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, init, 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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String getPropertiesPrefix()
Returns portlet's properties prefix

Returns:
prefix

doRegister

public static java.lang.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 © 2011 Mairie de Paris. All Rights Reserved.