public class DirectoryConfigurationAdapter extends AbstractLocalConfiguration<DirectoryConfiguration> implements DirectoryConfiguration
DirectoryConfiguration
.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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
save
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 © 2013 Nuxeo SA. All Rights Reserved.