Class AbstractLocalConfiguration<T>
- java.lang.Object
-
- org.nuxeo.ecm.core.api.localconfiguration.AbstractLocalConfiguration<T>
-
- All Implemented Interfaces:
DetachedAdapter
,LocalConfiguration<T>
- Direct Known Subclasses:
ContentViewConfigurationAdapter
,DirectoryConfigurationAdapter
,LocalThemeConfigAdapter
,SimpleConfigurationAdapter
,UITypesConfigurationAdapter
public abstract class AbstractLocalConfiguration<T> extends Object implements LocalConfiguration<T>
Base class forLocalConfiguration
implementers.Provides default implementation for most methods.
- Since:
- 5.5
- Author:
- Thomas Roger
-
-
Constructor Summary
Constructors Constructor Description AbstractLocalConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canMerge()
Returnstrue
if thisLocalConfiguration
accepted to be merged with a parent configuration,false
otherwise.T
merge(T other)
Merge thisLocalConfiguration
with another one.void
save(CoreSession session)
Save this LocalConfiguration.-
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
getDocumentRef
-
-
-
-
Method Detail
-
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<T>
-
merge
public T merge(T other)
Description copied from interface:LocalConfiguration
Merge thisLocalConfiguration
with another one.- Specified by:
merge
in interfaceLocalConfiguration<T>
-
save
public void save(CoreSession session)
Description copied from interface:LocalConfiguration
Save this LocalConfiguration.- Specified by:
save
in interfaceLocalConfiguration<T>
-
-