org.alfresco.repo.search
Interface TransactionSynchronisationAwareIndexer

All Known Subinterfaces:
ADMLuceneIndexer, AVMLuceneIndexer, LuceneIndexer
All Known Implementing Classes:
ADMLuceneIndexerImpl, ADMLuceneNoActionIndexerImpl, AVMLuceneIndexerImpl

public interface TransactionSynchronisationAwareIndexer

Indexer implementations that work with spring transactions


Method Summary
 void commit()
          Commit
 boolean isModified()
          Report if there are any chenges to commit
 int prepare()
          Prepare
 void rollback()
          Rollback
 

Method Detail

commit

void commit()
Commit


rollback

void rollback()
Rollback


prepare

int prepare()
Prepare

Returns:
the return tx state

isModified

boolean isModified()
Report if there are any chenges to commit

Returns:
false if read only access (by use not declaration)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.