org.xcmis.search.content.interceptors
Interface Visitor

All Known Implementing Classes:
AbstractLuceneQueryableIndexStorage, AbstractVisitor, CommandInterceptor, ContentReaderInterceptor, InMemoryLuceneQueryableIndexStorage, LuceneQueryableIndexStorage, QueryableIndexStorage, QueryProcessorInterceptor

public interface Visitor

This interface is the core of search service, where each VisitableCommand can be visited by a Visitor implementation. Visitors which are accepted by the VisitableCommand are able to modify the command based on any logic encapsulated by the visitor.


Method Summary
 Object visitChildEntriesCommand(InvocationContext ctx, GetChildEntriesCommand command)
           
 Object visitExecuteSelectorCommand(InvocationContext ctx, ExecuteSelectorCommand command)
           
 Object visitGetContentEntryCommand(InvocationContext ctx, GetContentEntryCommand command)
           
 Object visitGetUnfiledEntriesCommand(InvocationContext ctx, GetUnfiledEntriesCommand command)
           
 Object visitModifyIndexCommand(InvocationContext ctx, ModifyIndexCommand command)
           
 Object visitProcessQueryCommand(InvocationContext ctx, ProcessQueryCommand command)
           
 

Method Detail

visitModifyIndexCommand

Object visitModifyIndexCommand(InvocationContext ctx,
                               ModifyIndexCommand command)
                               throws Throwable
Parameters:
ctx -
putDocumentsToTheIndexCommand -
Returns:
Throws:
Throwable

visitExecuteSelectorCommand

Object visitExecuteSelectorCommand(InvocationContext ctx,
                                   ExecuteSelectorCommand command)
                                   throws Throwable
Parameters:
ctx -
executeQueryCommand -
Returns:
Throws:
Throwable

visitChildEntriesCommand

Object visitChildEntriesCommand(InvocationContext ctx,
                                GetChildEntriesCommand command)
                                throws Throwable
Parameters:
ctx -
getChildNodesCommand -
Returns:
Throws:
Throwable

visitGetContentEntryCommand

Object visitGetContentEntryCommand(InvocationContext ctx,
                                   GetContentEntryCommand command)
                                   throws Throwable
Parameters:
ctx -
getNodeCommand -
Returns:
Throws:
Throwable

visitProcessQueryCommand

Object visitProcessQueryCommand(InvocationContext ctx,
                                ProcessQueryCommand command)
                                throws Throwable
Parameters:
ctx -
processQueryCommand -
Returns:
Throws:
Throwable

visitGetUnfiledEntriesCommand

Object visitGetUnfiledEntriesCommand(InvocationContext ctx,
                                     GetUnfiledEntriesCommand command)
                                     throws Throwable
Parameters:
ctx -
getUnfilledEntriesCommand -
Returns:
Throws:
Throwable


Copyright © 2010 eXo Platform SAS. All Rights Reserved.