|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.mmapps.commons.bridge.CloneUtil
public class CloneUtil
Method Summary | |
---|---|
static void |
cloneAliasses(org.mmbase.bridge.Node localNode,
org.mmbase.bridge.Node destNode)
|
static org.mmbase.bridge.Node |
cloneNode(org.mmbase.bridge.Node localNode)
Clone a node to a cloud, including any fields without keeping administrative information |
static void |
cloneNodeField(org.mmbase.bridge.Node sourceNode,
org.mmbase.bridge.Node destinationNode,
org.mmbase.bridge.Field field)
cloneNodeField copies node fields from one node to an other |
static org.mmbase.bridge.Node |
cloneNodeWithRelations(org.mmbase.bridge.Node localNode)
Clone a node with all relations |
static org.mmbase.bridge.Node |
cloneRelation(org.mmbase.bridge.Node localRelation)
|
static org.mmbase.bridge.Node |
cloneRelation(org.mmbase.bridge.Node localRelation,
org.mmbase.bridge.Node sourceNode,
org.mmbase.bridge.Node destinationNode)
|
static void |
cloneRelations(org.mmbase.bridge.Node localNode,
org.mmbase.bridge.Node newNode)
|
static void |
cloneRelations(org.mmbase.bridge.Node localNode,
org.mmbase.bridge.Node newNode,
java.lang.String relationName,
java.lang.String managerName)
|
protected static boolean |
isRelation(org.mmbase.bridge.Node node)
quick test to see if node is a relation by testing fieldnames |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.mmbase.bridge.Node cloneNodeWithRelations(org.mmbase.bridge.Node localNode)
localNode
- the node to be cloned
public static org.mmbase.bridge.Node cloneNode(org.mmbase.bridge.Node localNode)
localNode
- the node to clone
public static void cloneNodeField(org.mmbase.bridge.Node sourceNode, org.mmbase.bridge.Node destinationNode, org.mmbase.bridge.Field field)
sourceNode
- the source nodedestinationNode
- destination nodefield
- the field to clonepublic static org.mmbase.bridge.Node cloneRelation(org.mmbase.bridge.Node localRelation)
public static org.mmbase.bridge.Node cloneRelation(org.mmbase.bridge.Node localRelation, org.mmbase.bridge.Node sourceNode, org.mmbase.bridge.Node destinationNode)
public static void cloneRelations(org.mmbase.bridge.Node localNode, org.mmbase.bridge.Node newNode)
public static void cloneRelations(org.mmbase.bridge.Node localNode, org.mmbase.bridge.Node newNode, java.lang.String relationName, java.lang.String managerName)
public static void cloneAliasses(org.mmbase.bridge.Node localNode, org.mmbase.bridge.Node destNode)
protected static boolean isRelation(org.mmbase.bridge.Node node)
node
- Possible relation
true
when relation fields present
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |