org.xcmis.search.content.command.index
Class ModifyIndexCommand

java.lang.Object
  extended by org.xcmis.search.content.command.index.ModifyIndexCommand
All Implemented Interfaces:
VisitableCommand

public class ModifyIndexCommand
extends Object
implements VisitableCommand

Add and remove documents from the index storage.


Constructor Summary
ModifyIndexCommand(List<ContentEntry> addedDocuments, Set<String> deletedDocuments)
           
 
Method Summary
 Object acceptVisitor(InvocationContext ctx, Visitor visitor)
          Accept a visitor, and return the result of accepting this visitor.
 List<ContentEntry> getAddedDocuments()
           
 Set<String> getDeletedDocuments()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModifyIndexCommand

public ModifyIndexCommand(List<ContentEntry> addedDocuments,
                          Set<String> deletedDocuments)
Parameters:
addedDocuments -
deletedDocuments -
Method Detail

getAddedDocuments

public List<ContentEntry> getAddedDocuments()
Returns:
the addedDocuments

getDeletedDocuments

public Set<String> getDeletedDocuments()
Returns:
the deletedDocuments

acceptVisitor

public Object acceptVisitor(InvocationContext ctx,
                            Visitor visitor)
                     throws Throwable
Description copied from interface: VisitableCommand
Accept a visitor, and return the result of accepting this visitor.

Specified by:
acceptVisitor in interface VisitableCommand
Parameters:
ctx - invocation context
visitor - visitor to accept
Returns:
arbitrary return value
Throws:
Throwable - in the event of problems
See Also:
VisitableCommand.acceptVisitor(org.xcmis.search.content.command.InvocationContext, org.xcmis.search.content.interceptors.Visitor)


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.