|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.mmbase.bridge.implementation.BasicNodeManager
|
+--org.mmbase.bridge.implementation.BasicRelationManager
| Fields inherited from class org.mmbase.bridge.implementation.BasicNodeManager |
builder, cloud, fieldTypes |
| Fields inherited from interface org.mmbase.bridge.RelationManager |
BIDIRECTIONAL, UNIDIRECTIONAL |
| Fields inherited from interface org.mmbase.bridge.NodeManager |
ORDER_CREATE, ORDER_EDIT, ORDER_LIST, ORDER_SEARCH |
| Method Summary | |
Node |
createNode()
Creates a new node. |
Relation |
createRelation(Node sourceNode,
Node destinationNode)
Adds a relation from this type. |
boolean |
equals(java.lang.Object o)
Compares two relationmanagers, and returns true if they are equal. |
int |
getBuilder()
|
NodeManager |
getDestinationManager()
Retrieves the type of node that can act as the destination of a relation of this type. |
int |
getDirectionality()
Retrieves the directionality for this type (the default assigned to a new relation). |
java.lang.String |
getForwardRole()
Retrieves the role of the source to the destination |
java.lang.String |
getReciprocalRole()
Retrieves the role of the destination to the source |
RelationList |
getRelations(Node node)
Retrieves all the relations of this type from a given node. |
NodeManager |
getSourceManager()
Retrieves the NodeManager of node that can act as the source of a relation of this type. |
int |
hashCode()
Returns the relationmanager's hashCode. |
boolean |
mayCreateRelation(Node sourceNode,
Node destinationNode)
Check if the current user may create a new relation of this type between the specified nodes. |
| Methods inherited from class org.mmbase.bridge.implementation.BasicNodeManager |
compareTo, getCloud, getDescription, getField, getFields, getFields, getGUIName, getInfo, getInfo, getList, getList, getList, getName, init, mayCreateNode |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.mmbase.bridge.NodeManager |
getCloud, getDescription, getField, getFields, getFields, getGUIName, getInfo, getInfo, getList, getList, getList, getName, mayCreateNode |
| Method Detail |
public Node createNode()
NodeManagercreateNode in interface NodeManagercreateNode in class BasicNodeManagerorg.mmbase.bridge.NodeManagerNodepublic java.lang.String getForwardRole()
RelationManagergetForwardRole in interface RelationManagerorg.mmbase.bridge.RelationManagerStringpublic java.lang.String getReciprocalRole()
RelationManagergetReciprocalRole in interface RelationManagerorg.mmbase.bridge.RelationManagerStringpublic int getDirectionality()
RelationManagergetDirectionality in interface RelationManagerorg.mmbase.bridge.RelationManagerpublic int getBuilder()
public NodeManager getSourceManager()
RelationManagergetSourceManager in interface RelationManagerorg.mmbase.bridge.RelationManagerpublic NodeManager getDestinationManager()
RelationManagergetDestinationManager in interface RelationManagerorg.mmbase.bridge.RelationManager
public Relation createRelation(Node sourceNode,
Node destinationNode)
RelationManagercreateRelation in interface RelationManagerorg.mmbase.bridge.RelationManagersourceNode - the node from which you want to relatedestinationNode - the node to which you want to relatepublic RelationList getRelations(Node node)
RelationManagergetRelations in interface RelationManagerorg.mmbase.bridge.RelationManagernode - the node from which to give the relationspublic boolean equals(java.lang.Object o)
equals in class BasicNodeManagero - the object to compare it withpublic int hashCode()
hashCode in class BasicNodeManager
public boolean mayCreateRelation(Node sourceNode,
Node destinationNode)
RelationManagermayCreateRelation in interface RelationManagerorg.mmbase.bridge.RelationManager
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||