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
FieldsModifier and TypeFieldDescriptionprotected DocumentRefprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected StringFields inherited from interface org.nuxeo.theme.localconfiguration.LocalThemeConfig
OLD_THEME_CONFIGURATION_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanMerge()Returnstrueif thisLocalConfigurationaccepted to be merged with a parent configuration,falseotherwise.Returns the relatedDocumentRefof this local configuration.Returns the flavor (collection) to use for current pagemerge(LocalThemeConfig other) Merge thisLocalConfigurationwith another one.Methods inherited from class org.nuxeo.ecm.core.api.localconfiguration.AbstractLocalConfiguration
saveMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:LocalConfigurationReturns the relatedDocumentRefof this local configuration.- Specified by:
getDocumentRefin interfaceLocalConfiguration<LocalThemeConfig>
-
canMerge
public boolean canMerge()Description copied from interface:LocalConfigurationReturnstrueif thisLocalConfigurationaccepted to be merged with a parent configuration,falseotherwise.- Specified by:
canMergein interfaceLocalConfiguration<LocalThemeConfig>- Overrides:
canMergein classAbstractLocalConfiguration<LocalThemeConfig>
-
merge
Description copied from interface:LocalConfigurationMerge thisLocalConfigurationwith another one.- Specified by:
mergein interfaceLocalConfiguration<LocalThemeConfig>- Overrides:
mergein classAbstractLocalConfiguration<LocalThemeConfig>
-
getFlavor
Description copied from interface:LocalThemeConfigReturns the flavor (collection) to use for current page- Specified by:
getFlavorin interfaceLocalThemeConfig- Since:
- 5.5
-