Interface ContentViewConfiguration
-
- All Superinterfaces:
DetachedAdapter
,LocalConfiguration<ContentViewConfiguration>
- All Known Implementing Classes:
ContentViewConfigurationAdapter
public interface ContentViewConfiguration extends LocalConfiguration<ContentViewConfiguration>
Local configuration class to handle configuration of DocumentContentView.- Author:
- Quentin Lamerand
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
getContentViewsForType(String docType)
Returns the ContentView name for a specified document type if any is configured.Map<String,List<String>>
getTypeToContentViewNames()
Returns the ContentView names for all the configured types.-
Methods inherited from interface org.nuxeo.ecm.core.api.localconfiguration.LocalConfiguration
canMerge, getDocumentRef, merge, save
-
-
-
-
Method Detail
-
getContentViewsForType
List<String> getContentViewsForType(String docType)
Returns the ContentView name for a specified document type if any is configured. Else, returns null.
-
getTypeToContentViewNames
Map<String,List<String>> getTypeToContentViewNames()
Returns the ContentView names for all the configured types. Used for merging configurations.
-
-