Class Jcr2XcmisChangesListener

  • All Implemented Interfaces:
    org.exoplatform.services.jcr.dataflow.persistent.ItemsPersistenceListener

    public class Jcr2XcmisChangesListener
    extends 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

      Constructors 
      Constructor Description
      Jcr2XcmisChangesListener​(String currentRepositoryName, 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)  
    • Constructor Detail

      • Jcr2XcmisChangesListener

        public Jcr2XcmisChangesListener​(String currentRepositoryName,
                                        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:
        #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,
                                    org.apache.tika.exception.TikaException
        Called on CmisRegistry start. It will initialize search service.
        Parameters:
        readOnlyIndexConfiguration -
        Throws:
        javax.jcr.RepositoryException
        org.xcmis.search.SearchServiceException
        org.apache.tika.exception.TikaException