Package org.ametys.web.content
Class GetSiteAction
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.acting.AbstractAction
-
- org.apache.cocoon.acting.ServiceableAction
-
- org.ametys.web.content.GetSiteAction
-
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,Action
public class GetSiteAction extends ServiceableAction
This action exports the current site and skin name.
-
-
Field Summary
Fields Modifier and Type Field Description static String
OVERRIDE_SITE_REQUEST_ATTR
Deprecated.static String
OVERRIDE_SKIN_REQUEST_ATTR
Deprecated.-
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 GetSiteAction()
-
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
-
OVERRIDE_SKIN_REQUEST_ATTR
@Deprecated public static final String OVERRIDE_SKIN_REQUEST_ATTR
Deprecated.request attribute to force skin choice (instead of choosing the skin associated of the content)- See Also:
- Constant Field Values
-
OVERRIDE_SITE_REQUEST_ATTR
@Deprecated public static final String OVERRIDE_SITE_REQUEST_ATTR
Deprecated.request attribute to force site choice (instead of choosing the site associated of the content)- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetSiteAction
public GetSiteAction()
-
-
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
-
-