Uses of Interface
org.mmbase.bridge.Query

Packages that use Query
org.mmbase.bridge The main interface to MMBase, also known as `MMCI' (MMBase Cloud Interface). 
org.mmbase.bridge.implementation This package provides the basic implementations for the interfaces of org.mmbase.bridge. 
org.mmbase.bridge.jsp.taglib The MMBase taglib implementation. 
org.mmbase.bridge.jsp.taglib.containers Most tags related to 'container' tags are collected here. 
org.mmbase.bridge.jsp.taglib.editor This is the package were the EditTag lives. 
org.mmbase.bridge.jsp.taglib.functions   
org.mmbase.bridge.jsp.taglib.tree   
org.mmbase.bridge.jsp.taglib.typehandler Typehandlers are used by the FieldInfo tag to produce html-code based on type and guitype of the field. 
org.mmbase.bridge.mock This package provides a completely 'virtual' implementation of the bridge. 
org.mmbase.bridge.util This package contains several bridge related classes which can be used independently of the rest of MMBase. 
org.mmbase.bridge.util.xml.query Functionality to parse XML to Query objects. 
org.mmbase.datatypes.handlers This is a generalization of what used to be org.mmbase.bridge.jsp.taglib.typehandler. 
org.mmbase.security The security infrastructure of MMBase. 
org.mmbase.security.implementation.basic   
org.mmbase.security.implementation.cloud   
org.mmbase.security.implementation.cloudcontext   
org.mmbase.security.implementation.cloudcontext.builders   
org.mmbase.security.implementation.context   
org.mmbase.storage.search.legacy   
 

Uses of Query in org.mmbase.bridge
 

Subinterfaces of Query in org.mmbase.bridge
 interface NodeQuery
          A Node-Query is a query that queries node-lists, in contradiction to a normal Query which can query 'cluster nodes' and even more generally 'result nodes' too.
 

Methods in org.mmbase.bridge that return Query
 Query Query.aggregatingClone()
          Creates an unused aggregate clone of this query.
 Query Query.clone()
          Create an (unused) clone
 Query Query.cloneWithoutFields()
          Clones this object, only without the fields
 Query Cloud.createAggregatedQuery()
           
 Query Cloud.createQuery()
          Create an empty Query, which can be filled, and used in Cloud.getList(Query).
 Query Query.setDistinct(boolean distinct)
          Specifies wether the query result must contain only 'distinct' results.
 Query Query.setMaxNumber(int maxNumber)
          Limits the query-result to maxNumber records.
 Query Query.setOffset(int offset)
          Offsets the query-result with offset records.
 

Methods in org.mmbase.bridge with parameters of type Query
 FieldValueInQueryConstraint Query.createConstraint(StepField f, Query q)
           
 NodeList Cloud.getList(Query query)
          Executes a query and returns the result as a Cluster Node List (also if the query is a NodeQuery).
 

Uses of Query in org.mmbase.bridge.implementation
 

Classes in org.mmbase.bridge.implementation that implement Query
 class BasicNodeQuery
          'Basic' implementation of bridge NodeQuery.
 class BasicQuery
          'Basic' implementation of bridge Query.
 

Methods in org.mmbase.bridge.implementation that return Query
 Query BasicQuery.aggregatingClone()
           
 Query BasicQuery.cloneWithoutFields()
           
 Query BasicCloud.createAggregatedQuery()
           
 Query BasicCloud.createQuery()
           
 Query BasicQuery.setDistinct(boolean distinct)
           
 Query BasicNodeQuery.setDistinct(boolean distinct)
           
 Query BasicQuery.setMaxNumber(int maxNumber)
           
 Query BasicQuery.setOffset(int offset)
           
 

Methods in org.mmbase.bridge.implementation with parameters of type Query
(package private)  List<MMObjectNode> BasicCloud.checkNodes(List<MMObjectNode> in, Query query)
           
 FieldValueInQueryConstraint BasicQuery.createConstraint(StepField f, Query q)
           
protected  List<MMObjectNode> BasicCloud.getClusterNodes(Query query)
          Result with all Cluster - MMObjectNodes, with cache.
protected  NodeList BasicCloud.getLastStepList(Query query)
          Based on multi-level query.
 NodeList BasicCloud.getList(Query query)
           
protected  NodeList BasicCloud.getResultNodeList(Query query)
          Aggregating query result.
protected  NodeList BasicCloud.getSecureList(Query query)
          Result with Cluster Nodes (checked security)
(package private)  boolean BasicCloud.setSecurityConstraint(Query query)
           
protected  BasicQuery BasicCloud.toBasicQuery(Query query)
           
 

Constructors in org.mmbase.bridge.implementation with parameters of type Query
VirtualNodeManager(Query query, Cloud cloud)
           
 

Uses of Query in org.mmbase.bridge.jsp.taglib
 

Methods in org.mmbase.bridge.jsp.taglib that return Query
 Query NodeProviderHelper.getGeneratingQuery()
           
 Query NodeProvider.getGeneratingQuery()
          Returns a query which (a.o) results this Node.
 Query AbstractNodeProviderTag.getGeneratingQuery()
           
 Query AbstractNodeListTag.getGeneratingQuery()
           
protected  Query ContextReferrerTag.getQuery(Attribute container)
          Implements a getQuery for QueryContainerReferrers
 

Methods in org.mmbase.bridge.jsp.taglib with parameters of type Query
protected  NodeList AbstractNodeListTag.getNodeList(Query query)
           
protected  AbstractNodeListTag.NodesAndTrim AbstractNodeListTag.getNodesAndTrim(Query query)
           
protected  AbstractNodeListTag.NodesAndTrim AbstractNodeListTag.getNodesAndTrim(Query query, int more)
           
 void NodeProviderHelper.setGeneratingQuery(Query q)
           
 

Uses of Query in org.mmbase.bridge.jsp.taglib.containers
 

Methods in org.mmbase.bridge.jsp.taglib.containers that return Query
 Query RelatedContainerTag.getQuery()
           
 Query QueryContainer.getQuery()
          Returns the currently by the container defined query object.
 Query ListRelationsContainerTag.getQuery()
           
 Query ListNodesContainerTag.getQuery()
           
 Query ListContainerTag.getQuery()
           
 

Uses of Query in org.mmbase.bridge.jsp.taglib.editor
 

Fields in org.mmbase.bridge.jsp.taglib.editor with type parameters of type Query
protected  List<Query> Editor.queryList
           
 

Methods in org.mmbase.bridge.jsp.taglib.editor that return types with arguments of type Query
 List<Query> Editor.getQueryList()
           
 

Methods in org.mmbase.bridge.jsp.taglib.editor with parameters of type Query
protected  List<String> YAMMEditor.getNodesFromQuery(Query query, String nr)
           
protected  String YAMMEditor.getPathFromQuery(Query query)
          Get the path from this query where the field originated from.
protected  void YAMMEditor.processField(Query query, String nodenr, String fieldName)
          Processes a field with nodenr and query into several lists
 void Editor.registerField(Query query, int nodenr, String fieldName)
          Here is were the FieldTag registers its fields and some associated and maybe usefull information with the EditTag.
 

Method parameters in org.mmbase.bridge.jsp.taglib.editor with type arguments of type Query
protected  List<String> YAMMEditor.fillPathList(List<Query> ql)
          Generates pathList with the needed paths for the editor from an list with queries.
 void YAMMEditor.registerFields(List<Query> queryList, List<String> nodenrList, List<String> fieldList)
          Values passed by the EditTag from the FieldTags.
 

Uses of Query in org.mmbase.bridge.jsp.taglib.functions
 

Methods in org.mmbase.bridge.jsp.taglib.functions that return Query
 Query NodeListFunctionTag.getGeneratingQuery()
           
 Query NodeFunctionTag.getGeneratingQuery()
           
 

Uses of Query in org.mmbase.bridge.jsp.taglib.tree
 

Methods in org.mmbase.bridge.jsp.taglib.tree that return Query
 Query TreeContainerTag.getQuery()
           
 Query LeafConstraintsTag.getQuery()
           
 

Uses of Query in org.mmbase.bridge.jsp.taglib.typehandler
 

Methods in org.mmbase.bridge.jsp.taglib.typehandler with parameters of type Query
 Constraint TypeHandler.whereHtmlInput(Field field, Query query)
           
 Constraint StringHandler.whereHtmlInput(Field field, Query query)
           
 Constraint NodeHandler.whereHtmlInput(Field field, Query query)
           
 Constraint IntegerHandler.whereHtmlInput(Field field, Query query)
           
 Constraint EnumHandler.whereHtmlInput(Field field, Query query)
           
 Constraint DurationHandler.whereHtmlInput(Field field, Query query)
           
 Constraint DateHandler.whereHtmlInput(Field field, Query query)
           
 Constraint DataTypeHandler.whereHtmlInput(Field field, Query query)
           
 Constraint BooleanHandler.whereHtmlInput(Field field, Query query)
           
 Constraint AbstractTypeHandler.whereHtmlInput(Field field, Query query)
          Adds search constraint to Query object.
 

Uses of Query in org.mmbase.bridge.mock
 

Methods in org.mmbase.bridge.mock with parameters of type Query
 NodeList MockCloud.getList(Query query)
           
 List<Map<String,Object>> QueryHandler.getRecords(Query query)
           
 List<Map<String,Object>> NodeQueryHandler.getRecords(Query query)
           
 List<Map<String,Object>> MultilevelQueryHandler.getRecords(Query query)
           
 List<Map<String,Object>> AggregatedQueryHandler.getRecords(Query query)
           
 

Uses of Query in org.mmbase.bridge.util
 

Classes in org.mmbase.bridge.util with type parameters of type Query
 class AbstractQueryWrapper<Q extends Query>
          Abstract base class for both QueryWrapper and NodeQueryWrapper.
 

Classes in org.mmbase.bridge.util that implement Query
 class AbstractQueryWrapper<Q extends Query>
          Abstract base class for both QueryWrapper and NodeQueryWrapper.
 class NodeQueryWrapper
          Implementation of Query completely based on other instance of that.
 class QueryWrapper
          Implementation of Query completely based on other instance of that.
 

Fields in org.mmbase.bridge.util declared as Query
protected  Query HugeNodeListIterator.originalQuery
           
protected  Q AbstractQueryWrapper.query
           
 

Methods in org.mmbase.bridge.util that return Query
static Query Queries.addSortedFields(Query q)
          Make sure all sorted fields are queried
 Query AbstractQueryWrapper.aggregatingClone()
           
 Query AbstractQueryWrapper.clone()
           
 Query AbstractQueryWrapper.cloneWithoutFields()
           
 Query AbstractCloud.createAggregatedQuery()
           
 Query AbstractCloud.createQuery()
           
static Query Queries.createQuery(Cloud cloud, String startNodes, String nodePath, String fields, String constraints, String orderby, String directions, String searchDir, boolean distinct)
          Creates a Query object using arguments for Cloud.getList(String, String, String, String, String, String, String, boolean) (this function is of course implemented using this utility).
static Query Queries.fixQuery(Query query, Map<Integer,Integer> resolution)
          Fixes the nodes of the steps of query.
 Query AbstractQueryWrapper.setDistinct(boolean distinct)
           
 Query AbstractQueryWrapper.setMaxNumber(int maxNumber)
           
 Query AbstractQueryWrapper.setOffset(int offset)
           
static Query Queries.sortUniquely(Query q)
          Add a sortorder (DESCENDING) on al the'number' fields of the query, on which there is not yet a sortorder.
 

Methods in org.mmbase.bridge.util with parameters of type Query
static void SearchUtil.addConstraint(Query query, Constraint constraint)
          Add a constraint to the query.
static Constraint Queries.addConstraint(Query query, Constraint newConstraint)
          Adds a Constraint to the already present constraint (with AND).
static void SearchUtil.addConstraint(Query query, Constraint constraint, int operator)
          Add a constraint to the query.
static Constraint Queries.addConstraints(Query query, String constraints)
          Adds a 'legacy' constraint to the query, i.e.
static void SearchUtil.addEqualConstraint(Query query, Field field, Boolean value)
          Add a constraint to a query The value is matched on equality (exact match).
static void SearchUtil.addEqualConstraint(Query query, Field field, Integer value)
          Add a constraint to a query The value is matched on equality (exact match).
static void SearchUtil.addEqualConstraint(Query query, Field field, Object value)
          Add a constraint to a query The value is matched on equality (exact match).
static void SearchUtil.addEqualConstraint(Query query, Field field, String value)
          Add a constraint to a query The value is matched on equality (exact match).
static void SearchUtil.addEqualConstraint(Query query, NodeManager manager, String fieldname, Boolean value)
          Add a constraint to a query The value is matched on equality (exact match).
static void SearchUtil.addEqualConstraint(Query query, NodeManager manager, String fieldname, Integer value)
          Add a constraint to a query The value is matched on equality (exact match).
static void SearchUtil.addEqualConstraint(Query query, NodeManager manager, String fieldname, Object value)
          Add a constraint to a query The value is matched on equality (exact match).
static void SearchUtil.addEqualConstraint(Query query, NodeManager manager, String fieldname, String value)
          Add a constraint to a query The value is matched on equality (exact match).
static List<StepField> Queries.addFields(Query query, String fields)
          Adds a number of fields.
static void SearchUtil.addInConstraint(Query query, Field field, SortedSet<? extends Object> set)
          Add a constraint to the query which limits the values in the result based on the set
static void SearchUtil.addLikeConstraint(Query query, Field field, String value)
          Add a constraint to a query The value is matched on likelihood (wildcard % match).
static void SearchUtil.addNodesConstraints(Query query, Field field, NodeList nodes)
          Add a constraint to the query which limits the nodes in the result based on the number
static void SearchUtil.addORConstraint(Query query, Constraint constraint)
          Add a constraint to the query.
static Constraint SearchUtil.addORConstraint(Query query, Constraint first, Constraint second)
          Create a OR composite constraint for the query
static List<Step> Queries.addPath(Query query, String path, String searchDirs)
          Adds path of steps to an existing query.
static Query Queries.addSortedFields(Query q)
          Make sure all sorted fields are queried
static List<SortOrder> Queries.addSortOrders(Query query, String sorted, String directions)
          Adds sort orders to the query, using two strings.
static void Queries.addStartNodes(Query query, String startNodes)
          Add startNodes to the first step with the correct type to the given query.
static NodeList Queries.addToResult(Query q, Node n)
          Explores a query object, and creates a certain new relation object, which would make the given node appear in the query's result.
protected static Object Queries.aggregate(Query query, StepField field, int type)
           
static int Queries.applyConstraints(Query q, Step step, Node n)
           
static Constraint Queries.copyConstraint(Constraint c, Step sourceStep, Query query, Step step)
          Takes a Constraint of a query, and takes al constraints on 'sourceStep' of it, and copies those Constraints to the given step of the receiving query.
static void Queries.copySortOrders(List<SortOrder> sortOrders, Step sourceStep, Query query, Step step)
          Copies SortOrders to a given step of another query.
static int Queries.count(Query query)
          Takes the query, and does a count with the same constraints (so ignoring 'offset' and 'max')
static Constraint Queries.createAgeConstraint(Query query, Step step, int minAge, int maxAge)
          Create a constraint for the query which limits to results to nodes of a certain age, based on its number and the 'daymarkers' table.
static Constraint SearchUtil.createANDConstraint(Query query, Constraint first, Constraint second)
          Create a AND composite constraint for the query
static Constraint Queries.createConstraint(Query query, String fieldName, int operator, Object value)
          Defaulting version of Queries.createConstraint(Query, String, int, Object, Object, boolean, int).
static Constraint Queries.createConstraint(Query query, String fieldName, int operator, Object value, Object value2, boolean caseSensitive)
          Defaulting version of Queries.createConstraint(Query, String, int, Object, Object, boolean, int).
static Constraint Queries.createConstraint(Query query, String fieldName, int operator, Object originalValue, Object value2, boolean caseSensitive, int datePart)
          Creates a constraint smartly, depending on the type of the field, the value is cast to the right type, and the right type of constraint is created.
 FieldValueInQueryConstraint AbstractQueryWrapper.createConstraint(StepField f, Query q)
           
static FieldValueConstraint SearchUtil.createEqualConstraint(Query query, Field field, Boolean value)
          Create a constraint for a query The value is matched on equality (exact match).
static FieldValueConstraint SearchUtil.createEqualConstraint(Query query, Field field, Integer value)
          Create a constraint for a query The value is matched on equality (exact match).
static FieldValueConstraint SearchUtil.createEqualConstraint(Query query, Field field, Object value)
          Create a constraint for a query The value is matched on equality (exact match).
static FieldValueConstraint SearchUtil.createEqualConstraint(Query query, Field field, String value)
          Create a constraint for a query The value is matched on equality (exact match).
static FieldValueConstraint SearchUtil.createEqualConstraint(Query query, Field field, String value, boolean caseSensitive)
          Create a constraint for a query The value is matched on equality (exact match).
static FieldValueConstraint SearchUtil.createEqualConstraint(Query query, NodeManager manager, String fieldname, Boolean value)
          Create a constraint for a query The value is matched on equality (exact match).
static FieldValueConstraint SearchUtil.createEqualConstraint(Query query, NodeManager manager, String fieldname, Integer value)
          Create a constraint for a query The value is matched on equality (exact match).
static FieldValueConstraint SearchUtil.createEqualConstraint(Query query, NodeManager manager, String fieldname, Object value)
          Create a constraint for a query The value is matched on equality (exact match).
static FieldValueConstraint SearchUtil.createEqualConstraint(Query query, NodeManager manager, String fieldname, String value)
          Create a constraint for a query The value is matched on equality (exact match).
static FieldValueInConstraint SearchUtil.createInConstraint(Query query, Field field, SortedSet<? extends Object> set)
          Create a constraint for the query which limits the values in the result based on the set
static FieldValueConstraint SearchUtil.createLikeConstraint(Query query, Field field, String value)
          Create a constraint for a query The value is matched on likelihood (wildcard % match).
static FieldValueConstraint SearchUtil.createLikeConstraint(Query query, StepField stepField, String value)
          Create a constraint for a query The value is matched on likelihood (wildcard % match).
static CompositeConstraint SearchUtil.createLogicalConstraint(Query query, Constraint first, Constraint second, int operator)
          Create a composite constraint for the query
static Constraint Queries.createMakeEmptyConstraint(Query q)
          Creates a constraint that would make the result of the query q empty.
protected  void HugeNodeListIterator.executeNextQuery(Query q)
          Executes the given query, and prepares to do 'next', so setting 'nextNode' and 'previousNode'.
protected  void HugeNodeListIterator.executePreviousQuery(Query q)
          Executes the given query, and prepares to do 'previous', so setting 'nextNode' and 'previousNode', and winds the new nodeIterator to the end.
protected  void HugeNodeListIterator.executeQuery(Query currentQuery)
          Executes the given query, taking into account the fact wether it is NodeQuery or not, and applying the 'batchSize'.
static StepField SearchUtil.findField(Query query, Field field)
          Find a step field in a query based on a bridge field
static Query Queries.fixQuery(Query query, Map<Integer,Integer> resolution)
          Fixes the nodes of the steps of query.
static Comparator<Node> Queries.getComparator(Query q)
          Returns a Node comparator associated with the SortOrders of the given Query (See SearchQuery.getSortOrders()).
 NodeList AbstractCloud.getList(Query query)
           
static NodeList Queries.getRelations(Query q, Node n)
          Explores a query object, returns the relations the node has within the query.
static NodeQuery Queries.getSubQuery(Query q, Node node, int step)
          Defaulting version Queries.getSubQuery(Query, Node, int, int).
static NodeQuery Queries.getSubQuery(Query q, Node node, int elementStep, int lastStep)
          Given a Query, and Node, produces a new query, where the first part of the query is replaced by the Node.
static Object Queries.max(Query query, StepField field)
           
static Object Queries.min(Query query, StepField field)
           
static boolean Queries.removeConstraint(Query q, Constraint cons)
           
static NodeList Queries.removeFromResult(Query q, Node n)
          Deletes the relations with a node from a queries resulting relations list.
static Query Queries.sortUniquely(Query q)
          Add a sortorder (DESCENDING) on al the'number' fields of the query, on which there is not yet a sortorder.
 

Constructors in org.mmbase.bridge.util with parameters of type Query
HugeNodeListIterator(Query query)
          Constructor for this Iterator.
HugeNodeListIterator(Query query, int batchSize)
          Constructor for this Iterator.
QueryWrapper(Query q)
           
 

Uses of Query in org.mmbase.bridge.util.xml.query
 

Fields in org.mmbase.bridge.util.xml.query declared as Query
 Query QueryDefinition.query
          The query to run
 

Uses of Query in org.mmbase.datatypes.handlers
 

Methods in org.mmbase.datatypes.handlers with parameters of type Query
 Constraint Handler.search(Request request, Field field, Query query)
          Uses the user's input to create a constraint for the given query
 Constraint AbstractHandler.search(Request request, Field field, Query query)
           
 

Uses of Query in org.mmbase.security
 

Methods in org.mmbase.security with parameters of type Query
 Authorization.QueryCheck NoAuthorization.check(UserContext user, Query query, Operation operation)
           
 Authorization.QueryCheck Authorization.check(UserContext user, Query query, Operation operation)
          Checks rights on a query.
 

Uses of Query in org.mmbase.security.implementation.basic
 

Methods in org.mmbase.security.implementation.basic with parameters of type Query
 Authorization.QueryCheck OwnerAuthorization.check(UserContext user, Query query, Operation operation)
           
 

Uses of Query in org.mmbase.security.implementation.cloud
 

Methods in org.mmbase.security.implementation.cloud with parameters of type Query
 Authorization.QueryCheck Verify.check(UserContext user, Query query, Operation operation)
           
 

Uses of Query in org.mmbase.security.implementation.cloudcontext
 

Methods in org.mmbase.security.implementation.cloudcontext with parameters of type Query
 Authorization.QueryCheck Verify.check(UserContext userContext, Query query, Operation operation)
           
 Authorization.QueryCheck ContextProvider.check(User userContext, Query query, Operation operation)
           
 Authorization.QueryCheck BasicContextProvider.check(User userContext, Query query, Operation operation)
           
 

Uses of Query in org.mmbase.security.implementation.cloudcontext.builders
 

Methods in org.mmbase.security.implementation.cloudcontext.builders with parameters of type Query
 Authorization.QueryCheck Contexts.check(User userContext, Query query, Operation operation)
          Implements check function with same arguments of Authorisation security implementation
 

Uses of Query in org.mmbase.security.implementation.context
 

Methods in org.mmbase.security.implementation.context with parameters of type Query
 Authorization.QueryCheck ContextAuthorization.check(UserContext userContext, Query query, Operation operation)
           
 

Uses of Query in org.mmbase.storage.search.legacy
 

Constructors in org.mmbase.storage.search.legacy with parameters of type Query
ConstraintParser(Query query)
           
 



MMBase 2.0-SNAPSHOT - null