public class DefaultPageEditorStatus extends Object implements PageEditorStatus
PageEditorStatus
.CHANNEL_PARAMETER, PREVIEW_PARAMETER, VERSION_PARAMETER
Constructor and Description |
---|
DefaultPageEditorStatus(info.magnolia.ui.api.i18n.I18NAuthoringSupport i18NAuthoringSupport) |
Modifier and Type | Method and Description |
---|---|
protected String |
createUri(String nodePath,
boolean isPreview,
String version,
info.magnolia.ui.vaadin.editor.gwt.shared.PlatformType platformType,
Locale locale) |
Locale |
getLocale() |
String |
getNodePath() |
info.magnolia.ui.vaadin.gwt.client.shared.PageEditorParameters |
getParameters() |
info.magnolia.ui.vaadin.editor.gwt.shared.PlatformType |
getPlatformType() |
String |
getVersion() |
boolean |
isLocationChanged(info.magnolia.ui.contentapp.detail.DetailLocation location) |
boolean |
isPreview() |
void |
setLocale(Locale locale) |
void |
setNodePath(String nodePath) |
void |
setPlatformType(info.magnolia.ui.vaadin.editor.gwt.shared.PlatformType platform) |
void |
updateStatusFromLocation(info.magnolia.ui.contentapp.detail.DetailLocation location) |
@Inject public DefaultPageEditorStatus(info.magnolia.ui.api.i18n.I18NAuthoringSupport i18NAuthoringSupport)
public void updateStatusFromLocation(info.magnolia.ui.contentapp.detail.DetailLocation location)
updateStatusFromLocation
in interface PageEditorStatus
public boolean isLocationChanged(info.magnolia.ui.contentapp.detail.DetailLocation location)
isLocationChanged
in interface PageEditorStatus
public String getNodePath()
getNodePath
in interface PageEditorStatus
public info.magnolia.ui.vaadin.editor.gwt.shared.PlatformType getPlatformType()
getPlatformType
in interface PageEditorStatus
public Locale getLocale()
getLocale
in interface PageEditorStatus
public String getVersion()
getVersion
in interface PageEditorStatus
public boolean isPreview()
isPreview
in interface PageEditorStatus
public void setNodePath(String nodePath)
setNodePath
in interface PageEditorStatus
public void setPlatformType(info.magnolia.ui.vaadin.editor.gwt.shared.PlatformType platform)
setPlatformType
in interface PageEditorStatus
public void setLocale(Locale locale)
setLocale
in interface PageEditorStatus
public info.magnolia.ui.vaadin.gwt.client.shared.PageEditorParameters getParameters()
getParameters
in interface PageEditorStatus
Copyright © 2016 Magnolia International Ltd.. All rights reserved.