|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.core.api.localconfiguration.AbstractLocalConfiguration<ContentViewConfiguration> org.nuxeo.ecm.platform.types.localconfiguration.ContentViewConfigurationAdapter
public class ContentViewConfigurationAdapter
Default implementation of ContentViewConfiguration
.
Constructor Summary | |
---|---|
ContentViewConfigurationAdapter(DocumentModel doc)
|
Method Summary | |
---|---|
boolean |
canMerge()
Returns true if this LocalConfiguration accepted to be
merged with a parent configuration, false otherwise. |
List<String> |
getContentViewsForType(String docType)
Returns the ContentView name for a specified document type if any is configured. |
DocumentRef |
getDocumentRef()
Returns the related DocumentRef of this local configuration. |
Map<String,List<String>> |
getTypeToContentViewNames()
Returns the ContentView names for all the configured types. |
ContentViewConfiguration |
merge(ContentViewConfiguration other)
Merge this LocalConfiguration with another one. |
Methods inherited from class org.nuxeo.ecm.core.api.localconfiguration.AbstractLocalConfiguration |
---|
save |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.nuxeo.ecm.core.api.localconfiguration.LocalConfiguration |
---|
save |
Constructor Detail |
---|
public ContentViewConfigurationAdapter(DocumentModel doc)
Method Detail |
---|
public List<String> getContentViewsForType(String docType)
ContentViewConfiguration
getContentViewsForType
in interface ContentViewConfiguration
public boolean canMerge()
LocalConfiguration
true
if this LocalConfiguration
accepted to be
merged with a parent configuration, false
otherwise.
canMerge
in interface LocalConfiguration<ContentViewConfiguration>
canMerge
in class AbstractLocalConfiguration<ContentViewConfiguration>
public DocumentRef getDocumentRef()
LocalConfiguration
DocumentRef
of this local configuration.
getDocumentRef
in interface LocalConfiguration<ContentViewConfiguration>
public ContentViewConfiguration merge(ContentViewConfiguration other)
LocalConfiguration
LocalConfiguration
with another one.
merge
in interface LocalConfiguration<ContentViewConfiguration>
merge
in class AbstractLocalConfiguration<ContentViewConfiguration>
public Map<String,List<String>> getTypeToContentViewNames()
ContentViewConfiguration
getTypeToContentViewNames
in interface ContentViewConfiguration
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |