| Package | Description |
|---|---|
| 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.tree | |
| org.mmbase.bridge.remote.proxy | |
| org.mmbase.bridge.remote.rmi | |
| org.mmbase.bridge.util |
This package contains several bridge related classes which can be used independently of the
rest of MMBase.
|
| org.mmbase.datatypes.processors |
Plugins into set- and getValue methods on Node (Setting and getting Fields).
|
| org.mmbase.searchrelate | |
| org.mmbase.versioning |
| Modifier and Type | Method and Description |
|---|---|
NodeQuery |
Cloud.createNodeQuery()
Create an empty NodeQuery, which can be filled, and used in
NodeManager.getList(NodeQuery) or
Cloud.getList(Query) (but then no 'real' node are returned). |
NodeQuery |
NodeManager.createQuery()
Creates a query for this NodeNanager.
|
| Modifier and Type | Method and Description |
|---|---|
NodeList |
NodeManager.getList(NodeQuery query)
Executes a query and returns the result as nodes of this NodeManager (or of extensions)
|
| Modifier and Type | Class and Description |
|---|---|
class |
BasicNodeQuery
'Basic' implementation of bridge NodeQuery.
|
| Modifier and Type | Method and Description |
|---|---|
NodeQuery |
BasicNodeQuery.cloneWithoutFields() |
NodeQuery |
BasicCloud.createNodeQuery() |
NodeQuery |
BasicNodeManager.createQuery() |
| Modifier and Type | Method and Description |
|---|---|
NodeList |
BasicNodeManager.getList(NodeQuery query) |
| Modifier and Type | Method and Description |
|---|---|
protected NodeQuery |
ListNodesTag.getQuery() |
| Modifier and Type | Method and Description |
|---|---|
NodeQuery |
ListRelationsContainerTag.getNodeQuery() |
NodeQuery |
ListNodesContainerTag.getNodeQuery() |
NodeQuery |
NodeQueryContainer.getNodeQuery()
Returns the currently by the container defined query object.
|
(package private) static NodeQuery |
ListNodesContainerTag.toNodeQuery(CloudReferrerTag ct,
Object o) |
| Modifier and Type | Method and Description |
|---|---|
NodeQuery |
TreeContainerTag.getNodeQuery() |
NodeQuery |
LeafConstraintsTag.getNodeQuery() |
(package private) static NodeQuery |
TreeContainerTag.getStartQuery(NodeReferrerTag thisTag,
Attribute containerAttribute,
Attribute nodeAttribute)
Retrieves the starting query from environment.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RemoteNodeQuery_Proxy
RemoteNodeQuery_Proxy in a generated smart proxy of NodeQuery
This smart proxy is used by a local class when the MMCI is called remotely |
| Modifier and Type | Method and Description |
|---|---|
NodeQuery |
RemoteTransaction_Proxy.createNodeQuery() |
NodeQuery |
RemoteCloud_Proxy.createNodeQuery() |
NodeQuery |
RemoteNodeManager_Proxy.createQuery() |
NodeQuery |
RemoteRelationManager_Proxy.createQuery() |
| Modifier and Type | Method and Description |
|---|---|
NodeList |
RemoteNodeManager_Proxy.getList(NodeQuery arg0) |
NodeList |
RemoteRelationManager_Proxy.getList(NodeQuery arg0) |
| Constructor and Description |
|---|
RemoteNodeQuery_Rmi(NodeQuery originalObject,
int port) |
| Modifier and Type | Class and Description |
|---|---|
class |
NodeQueryWrapper
Implementation of
Query completely based on other instance of that. |
| Modifier and Type | Field and Description |
|---|---|
protected NodeQuery |
GrowingTreeList.leafElementTemplate |
protected NodeQuery |
GrowingTreeList.pathElementTemplate |
| Modifier and Type | Method and Description |
|---|---|
static NodeQuery |
Queries.addRelationFields(NodeQuery q,
String role,
String relationFields,
String sortOrders) |
NodeQuery |
AbstractCloud.createNodeQuery() |
static NodeQuery |
Queries.createNodeQuery(Node node)
Returns the NodeQuery returning the given Node.
|
NodeQuery |
AbstractNodeManager.createQuery() |
static NodeQuery |
SearchUtil.createRelatedNodeListQuery(NodeList parentNodes,
String managerName,
String role)
Create a query for a list of nodes which are related to the parent node and contain a field value.
|
static NodeQuery |
SearchUtil.createRelatedNodeListQuery(NodeList parentNodes,
String managerName,
String role,
String searchdir)
Create a query for a list of nodes which are related to the parent node and contain a field value.
|
static NodeQuery |
SearchUtil.createRelatedNodeListQuery(Node parent,
String managerName,
String role)
Create a query for a list of nodes which are related to the parent node and contain a field value.
|
static NodeQuery |
SearchUtil.createRelatedNodeListQuery(Node parent,
String managerName,
String role,
String searchdir)
Create a query for a list of nodes which are related to the parent node and contain a field value.
|
static NodeQuery |
SearchUtil.createRelatedNodeListQuery(Node parent,
String managerName,
String role,
String fieldname,
Object value,
String sortName,
String sortDirection)
Create a query for a list of nodes which are related to the parent node and contain a field value.
|
static NodeQuery |
SearchUtil.createRelatedNodeListQuery(Node parent,
String managerName,
String role,
String fieldname,
Object value,
String sortName,
String sortDirection,
String searchdir)
Create a query for a list of nodes which are related to the parent node and contain a field value.
|
static NodeQuery |
Queries.createRelatedNodesQuery(Node node,
NodeManager otherNodeManager,
String role,
String direction)
Returns a query to find the nodes related to the given node.
|
static NodeQuery |
Queries.createRelationNodesQuery(Node node,
NodeManager otherNodeManager,
String role,
String direction)
Returns a query to find the relations nodes of the given node.
|
static NodeQuery |
Queries.createRelationNodesQuery(Node node,
Node otherNode,
String role,
String direction)
Returns a query to find the relations nodes between two given nodes.
|
NodeQuery |
TreeList.getLeafQuery()
Returns the top most query, associated with the last call to
TreeList.grow(org.mmbase.bridge.NodeManager, java.lang.String, java.lang.String). |
(package private) NodeQuery |
TreeList.Branch.getLeafQuery() |
NodeQuery |
GrowingTreeList.getLeafTemplate()
The leave template is the 'last' template.
|
(package private) NodeQuery |
TreeList.Branch.getQuery() |
protected static NodeQuery |
TreeList.getQuery(String[] args)
For testing only.
|
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.
|
NodeQuery |
GrowingTreeList.getTemplate()
Returns the Query which is used as a template for the leaves to 'grow' the query.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SearchUtil.addDatetimeConstraint(NodeQuery query,
Field field,
long from,
long to)
Add a date and time constraint to a query
|
static void |
SearchUtil.addDayConstraint(NodeQuery query,
NodeManager manager,
String fieldname,
String daysToCompare)
Add a date and time constraint to a query where the value is between now
and the days passed in.
|
static void |
SearchUtil.addEqualConstraint(NodeQuery query,
Field field,
Boolean value)
Add a constraint to a query
The value is matched on equality (exact match).
|
static void |
SearchUtil.addEqualConstraint(NodeQuery query,
Field field,
Integer value)
Add a constraint to a query
The value is matched on equality (exact match).
|
static void |
SearchUtil.addEqualConstraint(NodeQuery query,
Field field,
Object value)
Add a constraint to a query
The value is matched on equality (exact match).
|
static void |
SearchUtil.addEqualConstraint(NodeQuery query,
Field field,
String value)
Add a constraint to a query
The value is matched on equality (exact match).
|
static void |
SearchUtil.addEqualConstraint(NodeQuery 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(NodeQuery 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(NodeQuery 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(NodeQuery query,
NodeManager manager,
String fieldname,
String value)
Add a constraint to a query
The value is matched on equality (exact match).
|
static void |
SearchUtil.addFeatures(NodeQuery query,
Node parent,
String managerName,
String role,
String fieldname,
Object value,
String sortName,
String sortDirection)
Add constraints and sort orders to a query.
|
static void |
SearchUtil.addFeatures(NodeQuery query,
Node parent,
String managerName,
String role,
String fieldname,
Object value,
String sortName,
String sortDirection,
String searchdir)
Add constraints and sort orders to a query.
|
static void |
SearchUtil.addLikeConstraint(NodeQuery query,
Field field,
String value)
Add a constraint to a query
The value is matched on likelihood (wildcard % match).
|
static void |
SearchUtil.addLimitConstraint(NodeQuery query,
int offset,
int maxNumber)
Limit the result set of the query.
|
static NodeQuery |
Queries.addRelationFields(NodeQuery q,
String role,
String relationFields,
String sortOrders) |
static void |
SearchUtil.addRelationSortOrder(NodeQuery query,
RelationManager role,
String sortName,
String sortDirection)
Add a sort order to a query for a field of the relation manager.
|
static void |
SearchUtil.addSortOrder(NodeQuery query,
NodeManager manager,
String sortName,
String sortDirection)
Add a sort order to a query for a field of the manager.
|
static void |
SearchUtil.addSortOrder(NodeQuery query,
StepField sf,
String sortDirection)
Add a sort order to a query for a field of the manager.
|
static void |
SearchUtil.addTypeConstraints(NodeQuery query,
List<String> types)
Add a constraint to the query which limits the node types of the nodes in the result
|
static Constraint |
Queries.createAgeConstraint(NodeQuery q,
int minAge,
int maxAge)
As
Queries.createAgeConstraint(Query, Step, int int, int), but NodeQuery's have an exceptional
step, which can be taken as the default. |
static FieldValueBetweenConstraint |
SearchUtil.createDatetimeConstraint(NodeQuery query,
Field field,
long from,
long to)
Create a date and time constraint for a query
The value is matched on likelihood (wildcard % match).
|
static FieldValueConstraint |
SearchUtil.createEqualConstraint(NodeQuery query,
Field field,
Boolean value)
Create a constraint for a query
The value is matched on equality (exact match).
|
static FieldValueConstraint |
SearchUtil.createEqualConstraint(NodeQuery query,
Field field,
Integer value)
Create a constraint for a query
The value is matched on equality (exact match).
|
static FieldValueConstraint |
SearchUtil.createEqualConstraint(NodeQuery query,
Field field,
Object value)
Create a constraint for a query
The value is matched on equality (exact match).
|
static FieldValueConstraint |
SearchUtil.createEqualConstraint(NodeQuery query,
Field field,
String value)
Create a constraint for a query
The value is matched on equality (exact match).
|
static FieldValueConstraint |
SearchUtil.createEqualConstraint(NodeQuery 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(NodeQuery 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(NodeQuery 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(NodeQuery 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(NodeQuery query,
NodeManager manager,
String fieldname,
String value)
Create a constraint for a query
The value is matched on equality (exact match).
|
static FieldValueConstraint |
SearchUtil.createLikeConstraint(NodeQuery query,
Field field,
String value)
Create a constraint for a query
The value is matched on likelihood (wildcard % match).
|
static FieldValueInConstraint |
SearchUtil.createTypeConstraints(NodeQuery query,
List<String> types)
Create a constraint for the query which limits the node types of the nodes in the result
|
static void |
TreeList.doTest(Writer writer,
NodeQuery q) |
NodeList |
AbstractNodeManager.getList(NodeQuery query) |
static List<Node> |
Queries.getRelatedNodesInTransaction(Node startNode,
NodeQuery q)
Returns the related nodes of a certain node (defined by the query), including the one that where related to it in the current transaction.
|
static Node |
Queries.getStartNode(NodeQuery nq,
Cloud cloud)
This method is the counterpart of
Queries.setStartNode(org.mmbase.bridge.NodeQuery, org.mmbase.bridge.Node) and receives 'the' startnode from the Query (which may not be committed). |
static int |
Queries.reorderResult(NodeQuery q,
List<Integer> desiredOrder)
Will 'reorder' the result of a query with a sort order.
|
static void |
Queries.setStartNode(NodeQuery query,
Node startNode)
This puts the node as 'startnode' in the query (propably a 'related nodes' query.
|
| Constructor and Description |
|---|
Branch(NodeQuery q) |
GrowingTreeList(NodeQuery q,
int maxDepth)
This may be used in combination with
Queries.addPath(tree.getTemplate(), (String) path.getValue(this), (String) searchDirs.getValue(this));
So you add a template constisting of a bunch of elements. |
GrowingTreeList(NodeQuery q,
int maxDepth,
NodeManager nodeManager,
String role,
String searchDir) |
NodeQueryWrapper(NodeQuery q) |
TreeList(NodeQuery q) |
| Modifier and Type | Method and Description |
|---|---|
protected NodeQuery |
Related.AbstractProcessor.getRelatedQuery(Node node) |
protected NodeQuery |
Related.AbstractProcessor.getRelationsQuery(Node node) |
| Modifier and Type | Method and Description |
|---|---|
void |
Submitter.setOrder(NodeQuery nq,
List order)
Sets the new order for a certain nq, which must be committed after the transaction.
|
| Modifier and Type | Method and Description |
|---|---|
static NodeQuery |
VersioningCommitProcessor.getVersionsQuery(Node node) |
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}