public class GlobalStatisticsAction extends SiteStatisticsAction
Modifier and Type | Field and Description |
---|---|
protected AmetysObjectResolver |
_ametysResolver
The ametys object resolver.
|
_pageCacheHelper, _serviceExtPt, _siteManager
manager
EMPTY_MAP
Constructor and Description |
---|
GlobalStatisticsAction() |
Modifier and Type | Method and Description |
---|---|
private Map<String,Object> |
_contents2json() |
private Map<String,Object> |
_global2json() |
protected Map<String,Object> |
_resources2json()
Convert resources to JSON
|
protected Map<String,Object> |
_sitemaps2json()
Convert sitemaps to JSON
|
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
void |
service(ServiceManager serviceManager) |
_contents2json, _processContents, _processPages, _processResources, _resources2json, _sitemap2json
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
protected AmetysObjectResolver _ametysResolver
public GlobalStatisticsAction()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class SiteStatisticsAction
ServiceException
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
act
in interface Action
act
in class SiteStatisticsAction
Exception
private Map<String,Object> _global2json()
private Map<String,Object> _contents2json() throws RepositoryException
RepositoryException
protected Map<String,Object> _resources2json()
protected Map<String,Object> _sitemaps2json()