public class LocalConfigurationServiceImpl extends DefaultComponent implements LocalConfigurationService
LocalConfigurationService
.lastModified
Constructor and Description |
---|
LocalConfigurationServiceImpl() |
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. |
activate, deactivate, getAdapter, getLastModified, registerContribution, registerExtension, setLastModified, setModifiedNow, start, stop, unregisterContribution, unregisterExtension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applicationStarted, getApplicationStartedOrder
public LocalConfigurationServiceImpl()
public <T extends LocalConfiguration> T getConfiguration(Class<T> configurationClass, String configurationFacet, DocumentModel currentDoc)
LocalConfigurationService
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
.
getConfiguration
in interface LocalConfigurationService
Copyright © 2018 Nuxeo. All rights reserved.