Nuxeo ECM Projects 5.6-RC1

org.nuxeo.ecm.diff.service.impl
Class DiffDisplayServiceImpl

java.lang.Object
  extended by org.nuxeo.runtime.model.DefaultComponent
      extended by org.nuxeo.ecm.diff.service.impl.DiffDisplayServiceImpl
All Implemented Interfaces:
Serializable, DiffDisplayService, Adaptable, Component, Extensible, TimestampedService

public class DiffDisplayServiceImpl
extends DefaultComponent
implements DiffDisplayService

Default implementation of the DiffDisplayService.

Since:
5.6
Author:
Antoine Taillefer (ataillefer@nuxeo.com)
See Also:
Serialized Form

Constructor Summary
DiffDisplayServiceImpl()
           
 
Method Summary
 List<DiffDisplayBlock> getDefaultDiffDisplayBlocks(DocumentDiff docDiff, DocumentModel leftDoc, DocumentModel rightDoc)
           
 DiffBlockDefinition getDiffBlockDefinition(String name)
           
 Map<String,DiffBlockDefinition> getDiffBlockDefinitions()
           
 DiffComplexFieldDefinition getDiffComplexField(String schemaName, String fieldName)
           
 List<DiffComplexFieldDefinition> getDiffComplexFields()
           
 List<String> getDiffDisplay(String docType)
           
 List<DiffDisplayBlock> getDiffDisplayBlocks(DocumentDiff docDiff, DocumentModel leftDoc, DocumentModel rightDoc)
           
 Map<String,List<String>> getDiffDisplays()
           
 List<String> getDiffExcludedFields(String schemaName)
           
 Map<String,List<String>> getDiffExcludedSchemas()
           
 void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
           
 
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, unregisterContribution, unregisterExtension
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiffDisplayServiceImpl

public DiffDisplayServiceImpl()
Method Detail

registerContribution

public void registerContribution(Object contribution,
                                 String extensionPoint,
                                 ComponentInstance contributor)
                          throws Exception
Overrides:
registerContribution in class DefaultComponent
Throws:
Exception

getDiffExcludedSchemas

public Map<String,List<String>> getDiffExcludedSchemas()
Specified by:
getDiffExcludedSchemas in interface DiffDisplayService

getDiffExcludedFields

public List<String> getDiffExcludedFields(String schemaName)
Specified by:
getDiffExcludedFields in interface DiffDisplayService

getDiffComplexFields

public List<DiffComplexFieldDefinition> getDiffComplexFields()
Specified by:
getDiffComplexFields in interface DiffDisplayService

getDiffComplexField

public DiffComplexFieldDefinition getDiffComplexField(String schemaName,
                                                      String fieldName)
Specified by:
getDiffComplexField in interface DiffDisplayService

getDiffDisplays

public Map<String,List<String>> getDiffDisplays()
Specified by:
getDiffDisplays in interface DiffDisplayService

getDiffDisplay

public List<String> getDiffDisplay(String docType)
Specified by:
getDiffDisplay in interface DiffDisplayService

getDiffBlockDefinitions

public Map<String,DiffBlockDefinition> getDiffBlockDefinitions()
Specified by:
getDiffBlockDefinitions in interface DiffDisplayService

getDiffBlockDefinition

public DiffBlockDefinition getDiffBlockDefinition(String name)
Specified by:
getDiffBlockDefinition in interface DiffDisplayService

getDiffDisplayBlocks

public List<DiffDisplayBlock> getDiffDisplayBlocks(DocumentDiff docDiff,
                                                   DocumentModel leftDoc,
                                                   DocumentModel rightDoc)
                                            throws ClientException
Specified by:
getDiffDisplayBlocks in interface DiffDisplayService
Throws:
ClientException

getDefaultDiffDisplayBlocks

public List<DiffDisplayBlock> getDefaultDiffDisplayBlocks(DocumentDiff docDiff,
                                                          DocumentModel leftDoc,
                                                          DocumentModel rightDoc)
                                                   throws ClientException
Throws:
ClientException

Nuxeo ECM Projects 5.6-RC1

Copyright © 2012 Nuxeo SA. All Rights Reserved.