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
All Implemented Interfaces:
Serializable

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

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

See Also:
Serialized Form

Field Summary
static String RIGHT_MANAGE_HIPOLITE
           
 
Constructor Summary
HipoliteJspBean()
           
 
Method Summary
 String doCancelValidation(javax.servlet.http.HttpServletRequest request)
          Cancels the validation of the site
 String doValidateSite(javax.servlet.http.HttpServletRequest request)
          Processes the site validation.
 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, validate, validate, validate
 
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 String RIGHT_MANAGE_HIPOLITE
See Also:
Constant Field Values
Constructor Detail

HipoliteJspBean

public HipoliteJspBean()
Method Detail

getValidateSite

public 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 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 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 © 2014 Mairie de Paris. All Rights Reserved.