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(org.xcmis.search.model.source.SelectorName name, org.xcmis.search.model.source.SelectorName alias, List<org.xcmis.search.model.constraint.Constraint> constrains, org.xcmis.search.model.Limit limit, List<org.xcmis.search.model.ordering.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.
 org.xcmis.search.model.source.SelectorName getAlias()
           
 Map<String,Object> getBindVariablesValues()
           
 List<org.xcmis.search.model.constraint.Constraint> getConstrains()
           
 org.xcmis.search.model.Limit getLimit()
           
 List<org.xcmis.search.model.ordering.Ordering> getOrderings()
           
 org.xcmis.search.model.source.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(org.xcmis.search.model.source.SelectorName name,
                              org.xcmis.search.model.source.SelectorName alias,
                              List<org.xcmis.search.model.constraint.Constraint> constrains,
                              org.xcmis.search.model.Limit limit,
                              List<org.xcmis.search.model.ordering.Ordering> orderings,
                              Map<String,Object> bindVariablesValues)
Parameters:
source -
constrain -
limit -
orderings -
Method Detail

getBindVariablesValues

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

getSelector

public org.xcmis.search.model.source.SelectorName getSelector()
Returns:
the name

getAlias

public org.xcmis.search.model.source.SelectorName getAlias()
Returns:
the name

getConstrains

public List<org.xcmis.search.model.constraint.Constraint> getConstrains()
Returns:
the constrain

getLimit

public org.xcmis.search.model.Limit getLimit()
Returns:
the limit

getOrderings

public List<org.xcmis.search.model.ordering.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 © 2003-2013 eXo Platform SAS. All Rights Reserved.