@Model(adaptables=org.apache.sling.api.SlingHttpServletRequest.class) @ProviderType public final class WcmInit extends Object
Constructor and Description |
---|
WcmInit(com.day.cq.wcm.api.AuthoringUIMode authoringUIMode,
com.day.cq.wcm.api.components.ComponentContext componentContext,
com.day.cq.wcm.undo.UndoConfigService undoConfigService) |
Modifier and Type | Method and Description |
---|---|
String |
getPagePropertiesDialogPath() |
String |
getUndoConfig() |
boolean |
isClassicUI() |
boolean |
isTouchUI() |
@Inject public WcmInit(com.day.cq.wcm.api.AuthoringUIMode authoringUIMode, com.day.cq.wcm.api.components.ComponentContext componentContext, com.day.cq.wcm.undo.UndoConfigService undoConfigService) throws IOException
authoringUIMode
- Authoring UI modecomponentContext
- Component contextundoConfigService
- Undo Config ServiceIOException
- I/O exceptionpublic boolean isTouchUI()
public boolean isClassicUI()
public String getPagePropertiesDialogPath()
public String getUndoConfig()
Copyright © 2014–2018 wcm.io. All rights reserved.