fr.paris.lutece.plugins.stock.modules.billetterie.web
Class StatisticJspBean

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.stock.modules.billetterie.web.AbstractJspBean
              extended by fr.paris.lutece.plugins.stock.modules.billetterie.web.StatisticJspBean

public class StatisticJspBean
extends AbstractJspBean

The Class StatisticJspBean.


Field Summary
static java.lang.String CONSTANT_GROUP_BY_DAY
           
static java.lang.String CONSTANT_GROUP_BY_MONTH
           
static java.lang.String CONSTANT_GROUP_BY_WEEK
           
static java.lang.String CONSTANT_PRODUCT_TYPE
           
static java.lang.String CONSTANT_PURCHASE_TYPE
           
static java.lang.String RIGHT_MANAGE_STATISTICS
           
 
Fields inherited from class fr.paris.lutece.plugins.stock.modules.billetterie.web.AbstractJspBean
MARK_FILTER, MARK_NB_ITEMS_PER_PAGE, MARK_PAGINATOR, N_DEFAULT_ITEMS_PER_PAGE
 
Constructor Summary
StatisticJspBean()
          Instantiates a new statistic jsp bean.
 
Method Summary
 java.lang.String doExportStatistics(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Exports all the statistics visitors filtered.
 void doGenerateGraph(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          write in the http response the statistic graph of all response submit who verify the date filter.
 java.lang.String getManageProducts(javax.servlet.http.HttpServletRequest request)
          Gets the form result page.
 java.lang.String getManagePurchases(javax.servlet.http.HttpServletRequest request)
          Gets the form result page.
 java.lang.String getManageStatistics(javax.servlet.http.HttpServletRequest request)
          Generates a HTML form that displays the link to manage the visitors statistics and polls.
 
Methods inherited from class fr.paris.lutece.plugins.stock.modules.billetterie.web.AbstractJspBean
getErrorOnce, getHtmlError, getMessage, getMessage, getPaginationProperties, getPaginator, manageFunctionnalException, validate
 
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

CONSTANT_PRODUCT_TYPE

public static final java.lang.String CONSTANT_PRODUCT_TYPE
See Also:
Constant Field Values

CONSTANT_GROUP_BY_DAY

public static final java.lang.String CONSTANT_GROUP_BY_DAY
See Also:
Constant Field Values

CONSTANT_GROUP_BY_WEEK

public static final java.lang.String CONSTANT_GROUP_BY_WEEK
See Also:
Constant Field Values

CONSTANT_GROUP_BY_MONTH

public static final java.lang.String CONSTANT_GROUP_BY_MONTH
See Also:
Constant Field Values

CONSTANT_PURCHASE_TYPE

public static final java.lang.String CONSTANT_PURCHASE_TYPE
See Also:
Constant Field Values

RIGHT_MANAGE_STATISTICS

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

StatisticJspBean

public StatisticJspBean()
Instantiates a new statistic jsp bean.

Method Detail

getManageStatistics

public java.lang.String getManageStatistics(javax.servlet.http.HttpServletRequest request)
Generates a HTML form that displays the link to manage the visitors statistics and polls.

Parameters:
request - the Http request
Returns:
HTML

getManageProducts

public java.lang.String getManageProducts(javax.servlet.http.HttpServletRequest request)
Gets the form result page.

Parameters:
request - the http request
Returns:
the form test page

getManagePurchases

public java.lang.String getManagePurchases(javax.servlet.http.HttpServletRequest request)
Gets the form result page.

Parameters:
request - the http request
Returns:
the form test page

doGenerateGraph

public void doGenerateGraph(javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response)
write in the http response the statistic graph of all response submit who verify the date filter.

Parameters:
request - the http request
response - The http response

doExportStatistics

public java.lang.String doExportStatistics(javax.servlet.http.HttpServletRequest request,
                                           javax.servlet.http.HttpServletResponse response)
Exports all the statistics visitors filtered.

Parameters:
request - The Http request
response - The Http response
Returns:
The Url after the export


Copyright © 2012 Mairie de Paris. All Rights Reserved.