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
- Direct Known Subclasses:
IsSearchResultCacheableAction
Action to determine if the result search page of the
SearchService
instance corresponding to the given ZoneItem
id is cacheable.-
Field Summary
Modifier and TypeFieldDescriptionprotected AmetysObjectResolver
The resolver for Ametys objectsprotected 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
-
Method Summary
Modifier and TypeMethodDescriptionact
(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 Details
-
_searchService
The searchService
-
_ametysObjectResolver
The resolver for Ametys objects
-
-
Constructor Details
-
IsSearchResultCacheableAction
public IsSearchResultCacheableAction()
-
-
Method Details
-
service
- 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
-