Class Jcr2XcmisChangesListener
- java.lang.Object
-
- org.exoplatform.ecms.xcmis.sp.index.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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.xcmis.search.SearchServicegetSearchService()booleanisTXAware()voidonRegistryStart(org.xcmis.search.config.IndexConfiguration readOnlyIndexConfiguration)Called on CmisRegistry start.voidonSaveItems(org.exoplatform.services.jcr.dataflow.ItemStateChangesLog itemStates)
-
-
-
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:
isTXAwarein interfaceorg.exoplatform.services.jcr.dataflow.persistent.ItemsPersistenceListener- See Also:
ItemsPersistenceListener.isTXAware()
-
onSaveItems
public void onSaveItems(org.exoplatform.services.jcr.dataflow.ItemStateChangesLog itemStates)
- Specified by:
onSaveItemsin interfaceorg.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.TikaExceptionCalled on CmisRegistry start. It will initialize search service.- Parameters:
readOnlyIndexConfiguration-- Throws:
javax.jcr.RepositoryExceptionorg.xcmis.search.SearchServiceExceptionorg.apache.tika.exception.TikaException
-
-