org.xcmis.search.content.interceptors
Class QueryableIndexStorage

java.lang.Object
  extended by org.xcmis.search.content.interceptors.AbstractVisitor
      extended by org.xcmis.search.content.interceptors.CommandInterceptor
          extended by org.xcmis.search.content.interceptors.QueryableIndexStorage
All Implemented Interfaces:
Visitor, Startable
Direct Known Subclasses:
AbstractLuceneQueryableIndexStorage

public abstract class QueryableIndexStorage
extends CommandInterceptor

Interceptor that handle changes to the index. And execute query's.


Field Summary
protected  SearchServiceConfiguration serviceConfuguration
          Service configuration.
 
Constructor Summary
QueryableIndexStorage(SearchServiceConfiguration serviceConfuguration)
           
 
Method Summary
abstract  Object visitExecuteSelectorCommand(InvocationContext ctx, ExecuteSelectorCommand command)
           
abstract  Object visitModifyIndexCommand(InvocationContext ctx, ModifyIndexCommand command)
           
 
Methods inherited from class org.xcmis.search.content.interceptors.CommandInterceptor
getNext, handleDefault, hasNext, invokeNextInterceptor, setNext, start, stop
 
Methods inherited from class org.xcmis.search.content.interceptors.AbstractVisitor
visitChildEntriesCommand, visitGetContentEntryCommand, visitGetUnfiledEntriesCommand, visitProcessQueryCommand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceConfuguration

protected final SearchServiceConfiguration serviceConfuguration
Service configuration.

Constructor Detail

QueryableIndexStorage

public QueryableIndexStorage(SearchServiceConfiguration serviceConfuguration)
Parameters:
serviceConfuguration -
Method Detail

visitModifyIndexCommand

public abstract Object visitModifyIndexCommand(InvocationContext ctx,
                                               ModifyIndexCommand command)
                                        throws Throwable
Specified by:
visitModifyIndexCommand in interface Visitor
Overrides:
visitModifyIndexCommand in class AbstractVisitor
Returns:
Throws:
Throwable
See Also:
AbstractVisitor.visitModifyIndexCommand(org.xcmis.search.content.command.InvocationContext, org.xcmis.search.content.command.index.ModifyIndexCommand)

visitExecuteSelectorCommand

public abstract Object visitExecuteSelectorCommand(InvocationContext ctx,
                                                   ExecuteSelectorCommand command)
                                            throws Throwable
Specified by:
visitExecuteSelectorCommand in interface Visitor
Overrides:
visitExecuteSelectorCommand in class AbstractVisitor
Returns:
Throws:
Throwable
See Also:
AbstractVisitor.visitExecuteSelectorCommand(org.xcmis.search.content.command.InvocationContext, org.xcmis.search.content.command.query.ExecuteSelectorCommand)


Copyright © 2010 eXo Platform SAS. All Rights Reserved.