Package org.ametys.web.analytics
Class WebAnalyticsHelper
java.lang.Object
org.ametys.web.analytics.WebAnalyticsHelper
- All Implemented Interfaces:
Component,Contextualizable,Serviceable
Web analytics provider interface
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ContextThe contextprotected SiteManagerThe site managerprotected WebAnalyticsProviderExtensionPointThe web analytics provider extension pointstatic final StringAvalon Rolestatic final StringThe web analytics empty id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcontextualize(Context context) Get the current web analytics providergetSelectedProvider(Site site) Get the current web analytics providervoidservice(ServiceManager manager)
-
Field Details
-
ROLE
Avalon Role -
WEB_ANALYTICS_EMPTY_ID
The web analytics empty id- See Also:
-
_webAnalyticsProviderEP
The web analytics provider extension point -
_siteManager
The site manager -
_context
The context
-
-
Constructor Details
-
WebAnalyticsHelper
public WebAnalyticsHelper()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
contextualize
- Specified by:
contextualizein interfaceContextualizable- Throws:
ContextException
-
getSelectedProvider
Get the current web analytics provider- Returns:
- the current web analytics provider
-
getSelectedProvider
Get the current web analytics provider- Parameters:
site- the site- Returns:
- the current web analytics provider
-