public class DirectoryConfigurationAdapter extends AbstractLocalConfiguration<DirectoryConfiguration> implements DirectoryConfiguration
DirectoryConfiguration
.Modifier and Type | Field and Description |
---|---|
protected DocumentRef |
documentRef |
protected String |
lcDirectorySuffix |
Constructor and Description |
---|
DirectoryConfigurationAdapter(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. |
String |
getDirectorySuffix()
Returns the directory suffix if any is configured.
|
DocumentRef |
getDocumentRef()
Returns the related
DocumentRef of this local configuration. |
DirectoryConfiguration |
merge(DirectoryConfiguration 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 lcDirectorySuffix
public DirectoryConfigurationAdapter(DocumentModel doc)
public boolean canMerge()
LocalConfiguration
true
if this LocalConfiguration
accepted to be merged with a parent configuration,
false
otherwise.canMerge
in interface LocalConfiguration<DirectoryConfiguration>
canMerge
in class AbstractLocalConfiguration<DirectoryConfiguration>
public DocumentRef getDocumentRef()
LocalConfiguration
DocumentRef
of this local configuration.getDocumentRef
in interface LocalConfiguration<DirectoryConfiguration>
public DirectoryConfiguration merge(DirectoryConfiguration other)
LocalConfiguration
LocalConfiguration
with another one.merge
in interface LocalConfiguration<DirectoryConfiguration>
merge
in class AbstractLocalConfiguration<DirectoryConfiguration>
public String getDirectorySuffix()
DirectoryConfiguration
getDirectorySuffix
in interface DirectoryConfiguration
Copyright © 2018 Nuxeo. All rights reserved.