Class DirectoryConfigurationAdapter
java.lang.Object
org.nuxeo.ecm.core.api.localconfiguration.AbstractLocalConfiguration<DirectoryConfiguration>
org.nuxeo.ecm.directory.localconfiguration.DirectoryConfigurationAdapter
- All Implemented Interfaces:
DetachedAdapter
,LocalConfiguration<DirectoryConfiguration>
,DirectoryConfiguration
public class DirectoryConfigurationAdapter
extends AbstractLocalConfiguration<DirectoryConfiguration>
implements DirectoryConfiguration
Default implementation of
DirectoryConfiguration
.- Since:
- 5.4.2
- Author:
- Benjamin JALON
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canMerge()
Returnstrue
if thisLocalConfiguration
accepted to be merged with a parent configuration,false
otherwise.Returns the directory suffix if any is configured.Returns the relatedDocumentRef
of this local configuration.merge
(DirectoryConfiguration 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
-
lcDirectorySuffix
-
-
Constructor Details
-
DirectoryConfigurationAdapter
-
-
Method Details
-
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<DirectoryConfiguration>
- Overrides:
canMerge
in classAbstractLocalConfiguration<DirectoryConfiguration>
-
getDocumentRef
Description copied from interface:LocalConfiguration
Returns the relatedDocumentRef
of this local configuration.- Specified by:
getDocumentRef
in interfaceLocalConfiguration<DirectoryConfiguration>
-
merge
Description copied from interface:LocalConfiguration
Merge thisLocalConfiguration
with another one.- Specified by:
merge
in interfaceLocalConfiguration<DirectoryConfiguration>
- Overrides:
merge
in classAbstractLocalConfiguration<DirectoryConfiguration>
-
getDirectorySuffix
Description copied from interface:DirectoryConfiguration
Returns the directory suffix if any is configured. Else, returns null.- Specified by:
getDirectorySuffix
in interfaceDirectoryConfiguration
-