org.exoplatform.ecms.xcmis.sp.index
Class Jcr2XcmisChangesListener

java.lang.Object
  extended by org.exoplatform.ecms.xcmis.sp.index.Jcr2XcmisChangesListener
All Implemented Interfaces:
org.exoplatform.services.jcr.dataflow.persistent.ItemsPersistenceListener

public class Jcr2XcmisChangesListener
extends java.lang.Object
implements org.exoplatform.services.jcr.dataflow.persistent.ItemsPersistenceListener

Version:
$Id: Jcr2XcmisChangesListener.java 34360 2009-07-22 23:58:59Z aheritier $
Author:
Foo Bar

Constructor Summary
Jcr2XcmisChangesListener(java.lang.String currentRepositoryName, java.lang.String workspaceName, org.exoplatform.services.jcr.dataflow.PersistentDataManager dataManager, org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviderService, org.exoplatform.services.jcr.core.ManageableRepository repository, org.exoplatform.services.jcr.core.NamespaceAccessor namespaceAccessor, org.exoplatform.services.document.DocumentReaderService documentReaderService)
           
 
Method Summary
 org.xcmis.search.SearchService getSearchService()
           
 boolean isTXAware()
           
 void onRegistryStart(org.xcmis.search.config.IndexConfiguration readOnlyIndexConfiguration)
          Called on CmisRegistry start.
 void onSaveItems(org.exoplatform.services.jcr.dataflow.ItemStateChangesLog itemStates)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jcr2XcmisChangesListener

public Jcr2XcmisChangesListener(java.lang.String currentRepositoryName,
                                java.lang.String workspaceName,
                                org.exoplatform.services.jcr.dataflow.PersistentDataManager dataManager,
                                org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviderService,
                                org.exoplatform.services.jcr.core.ManageableRepository repository,
                                org.exoplatform.services.jcr.core.NamespaceAccessor namespaceAccessor,
                                org.exoplatform.services.document.DocumentReaderService documentReaderService)
Method Detail

getSearchService

public org.xcmis.search.SearchService getSearchService()
Returns:
the searchService

isTXAware

public boolean isTXAware()
Specified by:
isTXAware in interface org.exoplatform.services.jcr.dataflow.persistent.ItemsPersistenceListener
See Also:
ItemsPersistenceListener.isTXAware()

onSaveItems

public void onSaveItems(org.exoplatform.services.jcr.dataflow.ItemStateChangesLog itemStates)
Specified by:
onSaveItems in interface org.exoplatform.services.jcr.dataflow.persistent.ItemsPersistenceListener
See Also:
ItemsPersistenceListener.onSaveItems(org.exoplatform.services.jcr.dataflow.ItemStateChangesLog)

onRegistryStart

public void onRegistryStart(org.xcmis.search.config.IndexConfiguration readOnlyIndexConfiguration)
                     throws javax.jcr.RepositoryException,
                            org.xcmis.search.SearchServiceException
Called on CmisRegistry start. It will initialize search service.

Parameters:
cmisRegistry -
readOnlyIndexConfiguration -
Throws:
javax.jcr.RepositoryException
org.xcmis.search.SearchServiceException


Copyright © 2012 eXo Platform SAS. All Rights Reserved.