Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.api.localconfiguration
Interface LocalConfigurationService

All Known Implementing Classes:
LocalConfigurationServiceImpl

public interface LocalConfigurationService

Service handling LocalConfiguration classes.

Since:
5.4.2
Author:
Thomas Roger

Method Summary
<T extends LocalConfiguration>
T
getConfiguration(Class<T> configurationClass, String configurationFacet, DocumentModel currentDoc)
          Returns the first LocalConfiguration accessible from the currentDoc, null otherwise.
 

Method Detail

getConfiguration

<T extends LocalConfiguration> T getConfiguration(Class<T> configurationClass,
                                                  String configurationFacet,
                                                  DocumentModel currentDoc)
Returns the first 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.


Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.