Class CmsLiveEditEventHandler
- java.lang.Object
-
- de.hybris.platform.cockpit.session.impl.AbstractRequestEventHandler
-
- de.hybris.platform.cmscockpit.session.impl.CmsNavigationEventHandler
-
- de.hybris.platform.cmscockpit.session.impl.CmsLiveEditEventHandler
-
- All Implemented Interfaces:
RequestEventHandler
public class CmsLiveEditEventHandler extends CmsNavigationEventHandler
The Class CmsLiveEditEventHandler.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringURL_KEY-
Fields inherited from class de.hybris.platform.cmscockpit.session.impl.CmsNavigationEventHandler
CATALOG_KEY, PAGE_KEY, SITE_KEY
-
Fields inherited from class de.hybris.platform.cockpit.session.impl.AbstractRequestEventHandler
DELIMITER
-
-
Constructor Summary
Constructors Constructor Description CmsLiveEditEventHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringcheckUrl(CMSSiteModel site, java.lang.String url)protected java.lang.StringgetURL(java.util.Map<java.lang.String,java.lang.String[]> params)Gets the URL.voidhandleEvent(UICockpitPerspective perspective, java.util.Map<java.lang.String,java.lang.String[]> params)Called by the activeRequestHandlerwhen a cockpit event is triggered for which thisRequestEventHandleris registered.-
Methods inherited from class de.hybris.platform.cmscockpit.session.impl.CmsNavigationEventHandler
getCmsAdminSiteService, getModelService, getObject
-
Methods inherited from class de.hybris.platform.cockpit.session.impl.AbstractRequestEventHandler
getParameter, getPrefix, setPrefix
-
-
-
-
Field Detail
-
URL_KEY
public static final java.lang.String URL_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
handleEvent
public void handleEvent(UICockpitPerspective perspective, java.util.Map<java.lang.String,java.lang.String[]> params)
Description copied from interface:RequestEventHandlerCalled by the activeRequestHandlerwhen a cockpit event is triggered for which thisRequestEventHandleris registered.- Specified by:
handleEventin interfaceRequestEventHandler- Overrides:
handleEventin classCmsNavigationEventHandler- Parameters:
perspective- the current perspective ornullif no perspective has been specifiedparams- HTTP request parameters
-
getURL
protected java.lang.String getURL(java.util.Map<java.lang.String,java.lang.String[]> params)
Gets the URL.- Parameters:
params- the params- Returns:
- the URL
-
checkUrl
protected java.lang.String checkUrl(CMSSiteModel site, java.lang.String url)
-
-