Class SetSearchServiceRequestAttributesAction
- 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.SetSearchServiceRequestAttributesAction
-
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,Action
public class SetSearchServiceRequestAttributesAction extends ServiceableAction
Set some request attibutes beforeSearchServiceGenerator
is processed.
-
-
Field Summary
Fields Modifier and Type Field Description protected AmetysObjectResolver
_ametysObjectResolver
The resolver for Ametys objectsprotected org.slf4j.Logger
_logger
The SL4j logger-
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 SetSearchServiceRequestAttributesAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private Page
_getPage(ZoneItem zoneItem)
private void
_setSite(Request request, Page page)
private void
_setSitemap(Request request, Page page)
private void
_setSkin(Request request, Page page)
private ZoneItem
_setZoneItem(Request request, Parameters parameters)
Map
act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)
void
enableLogging(Logger logger)
void
service(ServiceManager smanager)
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
_logger
protected org.slf4j.Logger _logger
The SL4j logger
-
_ametysObjectResolver
protected AmetysObjectResolver _ametysObjectResolver
The resolver for Ametys objects
-
-
Constructor Detail
-
SetSearchServiceRequestAttributesAction
public SetSearchServiceRequestAttributesAction()
-
-
Method Detail
-
enableLogging
public void enableLogging(Logger logger)
- Specified by:
enableLogging
in interfaceLogEnabled
- Overrides:
enableLogging
in classAbstractLogEnabled
-
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
-
_setZoneItem
private ZoneItem _setZoneItem(Request request, Parameters parameters)
-
_setSitemap
private void _setSitemap(Request request, Page page)
-
-