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. |
save
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
save
protected DocumentRef documentRef
protected String perspective
public LocalThemeConfigAdapter(DocumentModel doc)
public DocumentRef getDocumentRef()
LocalConfiguration
DocumentRef
of this local configuration.getDocumentRef
in interface LocalConfiguration<LocalThemeConfig>
public boolean canMerge()
LocalConfiguration
true
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)
LocalConfiguration
LocalConfiguration
with another one.merge
in interface LocalConfiguration<LocalThemeConfig>
merge
in class AbstractLocalConfiguration<LocalThemeConfig>
public String getFlavor()
LocalThemeConfig
getFlavor
in interface LocalThemeConfig
Copyright © 2018 Nuxeo. All rights reserved.