Class CartsStatisticsProvider
java.lang.Object
org.ametys.plugins.cart.statistics.CartsStatisticsProvider
- All Implemented Interfaces:
 PluginAware,StatisticsProvider,Serviceable
public class CartsStatisticsProvider
extends Object
implements StatisticsProvider, Serviceable, PluginAware
Stats about carts
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionGet the statistics to send anonymouslyvoidservice(ServiceManager manager) voidsetPluginInfo(String pluginName, String featureName, String id) Sets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level. 
- 
Field Details
- 
_resolver
The Ametys object resolver 
 - 
 - 
Constructor Details
- 
CartsStatisticsProvider
public CartsStatisticsProvider() 
 - 
 - 
Method Details
- 
service
- Specified by:
 servicein interfaceServiceable- Throws:
 ServiceException
 - 
setPluginInfo
Description copied from interface:PluginAwareSets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level.- Specified by:
 setPluginInfoin interfacePluginAware- Parameters:
 pluginName- Unique identifier for the plugin hosting the extensionfeatureName- Unique feature identifier (unique for a given pluginName)id- Unique identifier of this component
 - 
getStatistics
Description copied from interface:StatisticsProviderGet the statistics to send anonymously- Specified by:
 getStatisticsin interfaceStatisticsProvider- Returns:
 - A jsonizable object
 
 
 -