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

public class StatisticJspBean
extends AbstractJspBean

The Class StatisticJspBean.

See Also:
Serialized Form

Field Summary
static String CONSTANT_GROUP_BY_DAY
          The constant String CONSTANT_GROUP_BY_DAY
static String CONSTANT_GROUP_BY_MONTH
          The constant String CONSTANT_GROUP_BY_MONTH
static String CONSTANT_GROUP_BY_WEEK
          The constant String CONSTANT_GROUP_BY_WEEK
static String CONSTANT_PRODUCT_TYPE
          The constant String CONSTANT_PRODUCT_TYPE
static String CONSTANT_PURCHASE_TYPE
          The constant String CONSTANT_PURCHASE_TYPE
static String RIGHT_MANAGE_STATISTICS
          The constant String RIGHT_MANAGE_STATISTICS
 
Fields inherited from class fr.paris.lutece.plugins.stock.modules.billetterie.web.AbstractJspBean
_nItemsPerPage, ERROR_MESSAGE_KEY, ERROR_TEMPLATE, FIELD_MESSAGE_PREFIX, MARK_ASC_SORT, MARK_DATA_TABLE_MANAGER, MARK_FILTER, MARK_MESSAGE_LIST, MARK_NB_ITEMS_PER_PAGE, MARK_PAGINATOR, MARK_PLUGIN_NAME, N_DEFAULT_ITEMS_PER_PAGE, PARAMETER_FIND_BY_FILTER_NAME_METHOD, PARAMETER_TRUE
 
Constructor Summary
StatisticJspBean()
          Instantiates a new statistic jsp bean.
 
Method Summary
 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.
 String getManageProducts(javax.servlet.http.HttpServletRequest request)
          Gets the form result page.
 String getManagePurchases(javax.servlet.http.HttpServletRequest request)
          Gets the form result page.
 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
getAbstractDataTableManager, getDataTableToUse, getErrorOnce, getFilterToUse, getHtmlError, getMessage, getMessage, loadDataTableFromSession, manageFunctionnalException, saveDataTableInSession, validateBilletterie
 
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

CONSTANT_PRODUCT_TYPE

public static final String CONSTANT_PRODUCT_TYPE
The constant String CONSTANT_PRODUCT_TYPE

See Also:
Constant Field Values

CONSTANT_GROUP_BY_DAY

public static final String CONSTANT_GROUP_BY_DAY
The constant String CONSTANT_GROUP_BY_DAY

See Also:
Constant Field Values

CONSTANT_GROUP_BY_WEEK

public static final String CONSTANT_GROUP_BY_WEEK
The constant String CONSTANT_GROUP_BY_WEEK

See Also:
Constant Field Values

CONSTANT_GROUP_BY_MONTH

public static final String CONSTANT_GROUP_BY_MONTH
The constant String CONSTANT_GROUP_BY_MONTH

See Also:
Constant Field Values

CONSTANT_PURCHASE_TYPE

public static final String CONSTANT_PURCHASE_TYPE
The constant String CONSTANT_PURCHASE_TYPE

See Also:
Constant Field Values

RIGHT_MANAGE_STATISTICS

public static final String RIGHT_MANAGE_STATISTICS
The constant String RIGHT_MANAGE_STATISTICS

See Also:
Constant Field Values
Constructor Detail

StatisticJspBean

public StatisticJspBean()
Instantiates a new statistic jsp bean.

Method Detail

getManageStatistics

public 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 String getManageProducts(javax.servlet.http.HttpServletRequest request)
Gets the form result page.

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

getManagePurchases

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