Interface LocalConfigurationService
- All Known Implementing Classes:
LocalConfigurationServiceImpl
public interface LocalConfigurationService
Service handling
LocalConfiguration
classes.- Since:
- 5.4.2
- Author:
- Thomas Roger
-
Method Summary
Modifier and TypeMethodDescription<T extends LocalConfiguration>
TgetConfiguration
(Class<T> configurationClass, String configurationFacet, DocumentModel currentDoc) Returns the firstLocalConfiguration
accessible from thecurrentDoc
,null
otherwise.
-
Method Details
-
getConfiguration
<T extends LocalConfiguration> T getConfiguration(Class<T> configurationClass, String configurationFacet, DocumentModel currentDoc) Returns the firstLocalConfiguration
accessible from thecurrentDoc
,null
otherwise.Find the first parent of the
currentDoc
having the givenconfigurationFacet
, if any, and adapt it on theconfigurationClass
.
-