public class LocalThemeConfigAdapter extends AbstractLocalConfiguration<LocalThemeConfig> implements LocalThemeConfig
LocalThemeConfig.| Modifier and Type | Field and Description |
|---|---|
protected 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(DocumentModel doc) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canMerge()
Returns
true if this LocalConfiguration accepted to be merged with a parent configuration,
false otherwise. |
DocumentRef |
getDocumentRef()
Returns the related
DocumentRef of this local configuration. |
String |
getFlavor()
Returns the flavor (collection) to use for current page
|
LocalThemeConfig |
merge(LocalThemeConfig other)
Merge this
LocalConfiguration with another one. |
saveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsaveprotected DocumentRef documentRef
protected String perspective
public LocalThemeConfigAdapter(DocumentModel doc)
public DocumentRef getDocumentRef()
LocalConfigurationDocumentRef of this local configuration.getDocumentRef in interface LocalConfiguration<LocalThemeConfig>public boolean canMerge()
LocalConfigurationtrue if this LocalConfiguration accepted to be merged with a parent configuration,
false otherwise.canMerge in interface LocalConfiguration<LocalThemeConfig>canMerge in class AbstractLocalConfiguration<LocalThemeConfig>public LocalThemeConfig merge(LocalThemeConfig other)
LocalConfigurationLocalConfiguration with another one.merge in interface LocalConfiguration<LocalThemeConfig>merge in class AbstractLocalConfiguration<LocalThemeConfig>public String getFlavor()
LocalThemeConfiggetFlavor in interface LocalThemeConfigCopyright © 2019 Nuxeo. All rights reserved.