public class LocalThemeConfigAdapter extends org.nuxeo.ecm.core.api.localconfiguration.AbstractLocalConfiguration<LocalThemeConfig> implements LocalThemeConfig
LocalThemeConfig.| Modifier and Type | Field and Description |
|---|---|
protected org.nuxeo.ecm.core.api.DocumentRef |
documentRef |
protected String |
engine |
protected String |
flavor |
protected String |
mode |
protected String |
page |
protected String |
perspective |
protected String |
theme |
OLD_THEME_CONFIGURATION_PROPERTY| Constructor and Description |
|---|
LocalThemeConfigAdapter(org.nuxeo.ecm.core.api.DocumentModel doc) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canMerge() |
String |
computePagePath()
Returns the page path used in the
LocalTheme negociation scheme |
org.nuxeo.ecm.core.api.DocumentRef |
getDocumentRef() |
String |
getEngine()
Returns the configured engine.
|
String |
getFlavor()
Returns the flavor (collection) to use for current page
|
String |
getMode()
Returns the configured mode.
|
String |
getPage()
Returns the configured page for the selected theme.
|
String |
getPerspective()
Returns the configured perspective used in the
LocalPerspective
negociation scheme. |
String |
getTheme()
Returns the configured theme.
|
LocalThemeConfig |
merge(LocalThemeConfig other) |
saveprotected org.nuxeo.ecm.core.api.DocumentRef documentRef
protected String theme
protected String page
protected String perspective
protected String engine
protected String mode
protected String flavor
public LocalThemeConfigAdapter(org.nuxeo.ecm.core.api.DocumentModel doc)
public org.nuxeo.ecm.core.api.DocumentRef getDocumentRef()
getDocumentRef in interface org.nuxeo.ecm.core.api.localconfiguration.LocalConfiguration<LocalThemeConfig>public boolean canMerge()
canMerge in interface org.nuxeo.ecm.core.api.localconfiguration.LocalConfiguration<LocalThemeConfig>canMerge in class org.nuxeo.ecm.core.api.localconfiguration.AbstractLocalConfiguration<LocalThemeConfig>public LocalThemeConfig merge(LocalThemeConfig other)
merge in interface org.nuxeo.ecm.core.api.localconfiguration.LocalConfiguration<LocalThemeConfig>merge in class org.nuxeo.ecm.core.api.localconfiguration.AbstractLocalConfiguration<LocalThemeConfig>public String getTheme()
LocalThemeConfiggetTheme in interface LocalThemeConfigpublic String getPage()
LocalThemeConfiggetPage in interface LocalThemeConfigpublic String getPerspective()
LocalThemeConfigLocalPerspective
negociation scheme.getPerspective in interface LocalThemeConfigpublic String getEngine()
LocalThemeConfiggetEngine in interface LocalThemeConfigpublic String getMode()
LocalThemeConfiggetMode in interface LocalThemeConfigpublic String getFlavor()
LocalThemeConfiggetFlavor in interface LocalThemeConfigpublic String computePagePath()
LocalThemeConfigLocalTheme negociation schemecomputePagePath in interface LocalThemeConfigCopyright © 2020 Chalmers University. All rights reserved.