org.xcmis.search.content.interceptors
Class AbstractVisitor
java.lang.Object
org.xcmis.search.content.interceptors.AbstractVisitor
- All Implemented Interfaces:
- Visitor
- Direct Known Subclasses:
- CommandInterceptor
public class AbstractVisitor
- extends Object
- implements Visitor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractVisitor
public AbstractVisitor()
visitChildEntriesCommand
public Object visitChildEntriesCommand(InvocationContext ctx,
GetChildEntriesCommand command)
throws Throwable
- Specified by:
visitChildEntriesCommand in interface Visitor
- Returns:
-
- Throws:
Throwable- See Also:
Visitor.visitChildEntriesCommand(org.xcmis.search.content.command.InvocationContext, org.xcmis.search.content.command.read.GetChildEntriesCommand)
visitExecuteSelectorCommand
public Object visitExecuteSelectorCommand(InvocationContext ctx,
ExecuteSelectorCommand command)
throws Throwable
- Specified by:
visitExecuteSelectorCommand in interface Visitor
- Returns:
-
- Throws:
Throwable- See Also:
Visitor.visitExecuteSelectorCommand(org.xcmis.search.content.command.InvocationContext,
org.xcmis.search.content.command.query.ExecuteSelectorCommand)
visitGetContentEntryCommand
public Object visitGetContentEntryCommand(InvocationContext ctx,
GetContentEntryCommand command)
throws Throwable
- Specified by:
visitGetContentEntryCommand in interface Visitor
- Returns:
-
- Throws:
Throwable- See Also:
Visitor.visitGetContentEntryCommand(org.xcmis.search.content.command.InvocationContext, org.xcmis.search.content.command.read.GetContentEntryCommand)
visitGetUnfiledEntriesCommand
public Object visitGetUnfiledEntriesCommand(InvocationContext ctx,
GetUnfiledEntriesCommand command)
throws Throwable
- Specified by:
visitGetUnfiledEntriesCommand in interface Visitor
- Returns:
-
- Throws:
Throwable- See Also:
org.xcmis.search.content.interceptors.Visitor#visitGetUnfilledEntriesCommand(org.xcmis.search.content.command.InvocationContext, org.xcmis.search.content.command.read.GetUnfilledEntriesCommand)
visitModifyIndexCommand
public Object visitModifyIndexCommand(InvocationContext ctx,
ModifyIndexCommand command)
throws Throwable
- Specified by:
visitModifyIndexCommand in interface Visitor
- Returns:
-
- Throws:
Throwable- See Also:
Visitor.visitModifyIndexCommand(org.xcmis.search.content.command.InvocationContext,
org.xcmis.search.content.command.index.ModifyIndexCommand)
visitProcessQueryCommand
public Object visitProcessQueryCommand(InvocationContext ctx,
ProcessQueryCommand command)
throws Throwable
- Specified by:
visitProcessQueryCommand in interface Visitor
- Returns:
-
- Throws:
Throwable- See Also:
Visitor.visitProcessQueryCommand(org.xcmis.search.content.command.InvocationContext,
org.xcmis.search.content.command.query.ProcessQueryCommand)
handleDefault
protected Object handleDefault(InvocationContext ctx,
VisitableCommand command)
throws Throwable
- A default handler for all commands visited. This is called for any visit
method called, unless a visit command is appropriately overridden.
- Parameters:
ctx - invocation contextcommand - command to handle
- Returns:
- return value
- Throws:
Throwable - in the case of a problem
Copyright © 2011 eXo Platform SAS. All Rights Reserved.