org.xcmis.search.content.command.index
Class ModifyIndexCommand
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModifyIndexCommand
public ModifyIndexCommand(List<ContentEntry> addedDocuments,
Set<String> deletedDocuments)
- Parameters:
addedDocuments - deletedDocuments -
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 contextvisitor - 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.