public interface LocalConfigurationService
LocalConfiguration
classes.Modifier and Type | Method and Description |
---|---|
<T extends LocalConfiguration> |
getConfiguration(Class<T> configurationClass,
String configurationFacet,
DocumentModel currentDoc)
Returns the first
LocalConfiguration accessible from the currentDoc , null otherwise. |
<T extends LocalConfiguration> T getConfiguration(Class<T> configurationClass, String configurationFacet, DocumentModel currentDoc)
LocalConfiguration
accessible from the currentDoc
, null
otherwise.
Find the first parent of the currentDoc
having the given configurationFacet
, if any, and adapt it
on the configurationClass
.
Copyright © 2015 Nuxeo SA. All rights reserved.