public class SearchPagesAction extends ServiceableAction
Modifier and Type | Field and Description |
---|---|
protected QueryBuilder |
_queryBuilder
The query builder
|
protected AmetysObjectResolver |
_resolver
The Ametys object resolver
|
protected SearcherFactory |
_searcherFactory
The searcher factory
|
protected SiteManager |
_siteManager
The site manager
|
manager
EMPTY_MAP
Constructor and Description |
---|
SearchPagesAction() |
Modifier and Type | Method and Description |
---|---|
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
protected Map<String,Object> |
page2json(Page page)
Convert page to JSON object
|
void |
service(ServiceManager smanager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
protected AmetysObjectResolver _resolver
protected SearcherFactory _searcherFactory
protected QueryBuilder _queryBuilder
protected SiteManager _siteManager
public SearchPagesAction()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableAction
ServiceException
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
Exception