|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.bridge.util.CloneUtil
public class CloneUtil
Utility to clone mmbase bridge nodes.
| Method Summary | |
|---|---|
static void |
cloneAliasses(Node localNode,
Node destNode)
Clone aliases to the destination node. |
static Node |
cloneNode(Node localNode)
Clone a node to a cloud, including any fields without keeping administrative information |
static void |
cloneNodeField(Node sourceNode,
Node destinationNode,
Field field)
cloneNodeField copies node fields from one node to the other |
static Node |
cloneNodeWithRelations(Node localNode)
Clone a node with all relations |
static Relation |
cloneRelation(Node sourceRelation)
Clone relation of the source node to the destination node. |
static Relation |
cloneRelation(Node sourceRelation,
Node sourceNode,
Node destNode)
Clone relation of the source node to the destination node. |
static void |
cloneRelations(Node sourceNode,
Node destNode)
Clone relations of the source node to the destination node. |
static void |
cloneRelations(Node sourceNode,
Node destNode,
String relationName,
String managerName)
Clone relations of the source node to the destination node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Node cloneNodeWithRelations(Node localNode)
localNode - the node to be cloned
public static Node cloneNode(Node localNode)
localNode - the node to clone
public static void cloneNodeField(Node sourceNode,
Node destinationNode,
Field field)
sourceNode - the source nodedestinationNode - destination nodefield - the field to clonepublic static Relation cloneRelation(Node sourceRelation)
sourceRelation - source relation
public static Relation cloneRelation(Node sourceRelation,
Node sourceNode,
Node destNode)
sourceRelation - source relationsourceNode - source nodedestNode - destination node
public static void cloneRelations(Node sourceNode,
Node destNode)
sourceNode - source nodedestNode - destination node
public static void cloneRelations(Node sourceNode,
Node destNode,
String relationName,
String managerName)
sourceNode - source nodedestNode - destination noderelationName - name of relationmanagerName - manager of the other nodes which the relations are replicated for.
public static void cloneAliasses(Node localNode,
Node destNode)
localNode - local nodedestNode - destination/remote node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||