Interface LocalConfigurationService
-
- All Known Implementing Classes:
LocalConfigurationServiceImpl
public interface LocalConfigurationServiceService handlingLocalConfigurationclasses.- Since:
- 5.4.2
- Author:
- Thomas Roger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends LocalConfiguration>
TgetConfiguration(Class<T> configurationClass, String configurationFacet, DocumentModel currentDoc)Returns the firstLocalConfigurationaccessible from thecurrentDoc,nullotherwise.
-
-
-
Method Detail
-
getConfiguration
<T extends LocalConfiguration> T getConfiguration(Class<T> configurationClass, String configurationFacet, DocumentModel currentDoc)
Returns the firstLocalConfigurationaccessible from thecurrentDoc,nullotherwise.Find the first parent of the
currentDochaving the givenconfigurationFacet, if any, and adapt it on theconfigurationClass.
-
-