org.xcmis.search.lucene.index
Class IndexTransactionModificationReportImpl

java.lang.Object
  extended by org.xcmis.search.lucene.index.IndexTransactionModificationReportImpl
All Implemented Interfaces:
IndexTransactionModificationReport

public class IndexTransactionModificationReportImpl
extends Object
implements IndexTransactionModificationReport

Created by The eXo Platform SAS.

Version:
$Id: IndexTransactionModificationReportImpl.java 2 2010-02-04 17:21:49Z andrew00x $
Author:
Sergey Kabashnyuk

Constructor Summary
IndexTransactionModificationReportImpl(Set<String> addedDocuments, Set<String> removedDocuments, Set<String> updatedDocuments)
           
 
Method Summary
 Set<String> getAddedDocuments()
          Map of documents what should be added to index.
 Set<String> getRemovedDocuments()
          Set of identifiers of documents what should be removed from index.
 Set<String> getUpdatedDocuments()
          Map of documents what should be updated in index.
 boolean isModifed()
          Indicates what some modifications happens.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexTransactionModificationReportImpl

public IndexTransactionModificationReportImpl(Set<String> addedDocuments,
                                              Set<String> removedDocuments,
                                              Set<String> updatedDocuments)
Parameters:
addedDocuments -
removedDocuments -
updatedDocuments -
Method Detail

getAddedDocuments

public Set<String> getAddedDocuments()
Map of documents what should be added to index.

Specified by:
getAddedDocuments in interface IndexTransactionModificationReport
Returns:
map of documents.

getRemovedDocuments

public Set<String> getRemovedDocuments()
Set of identifiers of documents what should be removed from index.

Specified by:
getRemovedDocuments in interface IndexTransactionModificationReport
Returns:
set of identifiers.

getUpdatedDocuments

public Set<String> getUpdatedDocuments()
Map of documents what should be updated in index.

Specified by:
getUpdatedDocuments in interface IndexTransactionModificationReport
Returns:
map of documents.

isModifed

public boolean isModifed()
Indicates what some modifications happens.

Specified by:
isModifed in interface IndexTransactionModificationReport
Returns:
flag what some modifications happens.


Copyright © 2011 eXo Platform SAS. All Rights Reserved.