Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.types.localconfiguration
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
 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.


Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.