fr.paris.lutece.plugins.hipolite.web
Class HipoliteJspBean

java.lang.Object
  extended by fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
      extended by fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
          extended by fr.paris.lutece.plugins.hipolite.web.HipoliteJspBean

public class HipoliteJspBean
extends fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean

This class provides the validation interface of the site (prod and preprod management)


Field Summary
static java.lang.String RIGHT_MANAGE_HIPOLITE
           
 
Constructor Summary
HipoliteJspBean()
           
 
Method Summary
 java.lang.String doCancelValidation(javax.servlet.http.HttpServletRequest request)
          Cancels the validation of the site
 java.lang.String doValidateSite(javax.servlet.http.HttpServletRequest request)
          Processes the site validation.
 java.lang.String getValidateSite(javax.servlet.http.HttpServletRequest request)
          Displays the site validation page
 
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, populate, setFeatureIcon, setPageTitleProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RIGHT_MANAGE_HIPOLITE

public static final java.lang.String RIGHT_MANAGE_HIPOLITE
See Also:
Constant Field Values
Constructor Detail

HipoliteJspBean

public HipoliteJspBean()
Method Detail

getValidateSite

public java.lang.String getValidateSite(javax.servlet.http.HttpServletRequest request)
Displays the site validation page

Parameters:
request - The http request
Returns:
The html code of the validation page

doValidateSite

public java.lang.String doValidateSite(javax.servlet.http.HttpServletRequest request)
Processes the site validation. Creation of a flag file which indicates that the site has been validated and is ready to be toggled in production.

Parameters:
request - The http request
Returns:
the jsp url of the confirm message

doCancelValidation

public java.lang.String doCancelValidation(javax.servlet.http.HttpServletRequest request)
Cancels the validation of the site

Parameters:
request - The http request
Returns:
the jsp url of the confirm message


Copyright © 2012 Mairie de Paris. All Rights Reserved.