org.mmbase.bridge.implementation
Class VirtualNodeManager
java.lang.Object
|
+--org.mmbase.bridge.implementation.BasicNodeManager
|
+--org.mmbase.bridge.implementation.VirtualNodeManager
- All Implemented Interfaces:
- java.lang.Comparable, NodeManager
- public class VirtualNodeManager
- extends BasicNodeManager
This class represents a virtual node type information object.
It has the same functionality as BasicNodeType, but it's nodes are vitrtual - that is,
constructed based on the results of a search over multiple node managers.
As such, it is not possible to search on this node type, nor to create new nodes.
It's sole function is to provide a type definition for the results of a search.
- Author:
- Rob Vermeulen, Pierre van Rooden
|
Method Summary |
Node |
createNode()
Gets a new (initialized) node. |
NodeList |
getList(java.lang.String where,
java.lang.String sorted,
boolean direction)
Search nodes of this type. |
| Methods inherited from class org.mmbase.bridge.implementation.BasicNodeManager |
compareTo, equals, getCloud, getDescription, getField, getFields, getFields, getGUIName, getInfo, getInfo, getList, getList, getList, getName, hashCode, init, mayCreateNode |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
createNode
public Node createNode()
- Gets a new (initialized) node.
Throws an exception since this type is virtual, and creating nodes is not allowed.
- Overrides:
createNode in class BasicNodeManager
- Following copied from interface:
org.mmbase.bridge.NodeManager
- Returns:
- the new
Node
getList
public NodeList getList(java.lang.String where,
java.lang.String sorted,
boolean direction)
- Search nodes of this type.
Throws an exception since this type is virtual, and searching is not allowed.
MMBase 2001