org.xcmis.search.content.command.query
Class ExecuteSelectorCommand

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

public class ExecuteSelectorCommand
extends Object
implements VisitableCommand

Command for execution query with one single Selector filtered by Constraint, limited and ordered if needed.


Constructor Summary
ExecuteSelectorCommand(SelectorName name, SelectorName alias, List<Constraint> constrains, Limit limit, List<Ordering> orderings, Map<String,Object> bindVariablesValues)
           
 
Method Summary
 Object acceptVisitor(InvocationContext ctx, Visitor visitor)
          Accept a visitor, and return the result of accepting this visitor.
 SelectorName getAlias()
           
 Map<String,Object> getBindVariablesValues()
           
 List<Constraint> getConstrains()
           
 Limit getLimit()
           
 List<Ordering> getOrderings()
           
 SelectorName getSelector()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecuteSelectorCommand

public ExecuteSelectorCommand(SelectorName name,
                              SelectorName alias,
                              List<Constraint> constrains,
                              Limit limit,
                              List<Ordering> orderings,
                              Map<String,Object> bindVariablesValues)
Parameters:
source -
constrain -
limit -
orderings -
Method Detail

getBindVariablesValues

public Map<String,Object> getBindVariablesValues()
Returns:
the bindVariablesValues

getSelector

public SelectorName getSelector()
Returns:
the name

getAlias

public SelectorName getAlias()
Returns:
the name

getConstrains

public List<Constraint> getConstrains()
Returns:
the constrain

getLimit

public Limit getLimit()
Returns:
the limit

getOrderings

public List<Ordering> getOrderings()
Returns:
the orderings

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 © 2010 eXo Platform SAS. All Rights Reserved.