Class IsSearchResultCacheableAction
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.acting.AbstractAction
-
- org.apache.cocoon.acting.ServiceableAction
-
- org.ametys.web.frontoffice.search.requesttime.IsSearchResultCacheableAction
-
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,Action
public class IsSearchResultCacheableAction extends ServiceableAction
Action to determine if the result search page of theSearchService
instance corresponding to the givenZoneItem
id is cacheable.
-
-
Field Summary
Fields Modifier and Type Field Description protected AmetysObjectResolver
_ametysObjectResolver
The resolver for Ametys objectsprotected SearchService
_searchService
The searchService
-
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
-
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
-
Constructor Summary
Constructors Constructor Description IsSearchResultCacheableAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map
act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)
void
service(ServiceManager smanager)
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
_searchService
protected SearchService _searchService
The searchService
-
_ametysObjectResolver
protected AmetysObjectResolver _ametysObjectResolver
The resolver for Ametys objects
-
-
Constructor Detail
-
IsSearchResultCacheableAction
public IsSearchResultCacheableAction()
-
-
Method Detail
-
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classServiceableAction
- Throws:
ServiceException
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
- Throws:
Exception
-
-