Class LocalThemeConfigAdapter
java.lang.Object
org.nuxeo.ecm.core.api.localconfiguration.AbstractLocalConfiguration<LocalThemeConfig>
org.nuxeo.theme.localconfiguration.LocalThemeConfigAdapter
- All Implemented Interfaces:
DetachedAdapter
,LocalConfiguration<LocalThemeConfig>
,LocalThemeConfig
public class LocalThemeConfigAdapter
extends AbstractLocalConfiguration<LocalThemeConfig>
implements LocalThemeConfig
Default implementation of
LocalThemeConfig
.- Author:
- Quentin Lamerand
-
Field Summary
Modifier and TypeFieldDescriptionprotected DocumentRef
protected String
protected String
protected String
protected String
protected String
protected String
Fields inherited from interface org.nuxeo.theme.localconfiguration.LocalThemeConfig
OLD_THEME_CONFIGURATION_PROPERTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canMerge()
Returnstrue
if thisLocalConfiguration
accepted to be merged with a parent configuration,false
otherwise.Returns the relatedDocumentRef
of this local configuration.Returns the flavor (collection) to use for current pagemerge
(LocalThemeConfig other) Merge thisLocalConfiguration
with another one.Methods inherited from class org.nuxeo.ecm.core.api.localconfiguration.AbstractLocalConfiguration
save
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.nuxeo.ecm.core.api.localconfiguration.LocalConfiguration
save
-
Field Details
-
documentRef
-
theme
-
page
-
perspective
-
engine
-
mode
-
flavor
-
-
Constructor Details
-
LocalThemeConfigAdapter
-
-
Method Details
-
getDocumentRef
Description copied from interface:LocalConfiguration
Returns the relatedDocumentRef
of this local configuration.- Specified by:
getDocumentRef
in interfaceLocalConfiguration<LocalThemeConfig>
-
canMerge
public boolean canMerge()Description copied from interface:LocalConfiguration
Returnstrue
if thisLocalConfiguration
accepted to be merged with a parent configuration,false
otherwise.- Specified by:
canMerge
in interfaceLocalConfiguration<LocalThemeConfig>
- Overrides:
canMerge
in classAbstractLocalConfiguration<LocalThemeConfig>
-
merge
Description copied from interface:LocalConfiguration
Merge thisLocalConfiguration
with another one.- Specified by:
merge
in interfaceLocalConfiguration<LocalThemeConfig>
- Overrides:
merge
in classAbstractLocalConfiguration<LocalThemeConfig>
-
getFlavor
Description copied from interface:LocalThemeConfig
Returns the flavor (collection) to use for current page- Specified by:
getFlavor
in interfaceLocalThemeConfig
- Since:
- 5.5
-