net.sf.mmapps.commons.bridge
Class RelationUtil

java.lang.Object
  extended by net.sf.mmapps.commons.bridge.RelationUtil

public class RelationUtil
extends java.lang.Object


Field Summary
static java.lang.String RELATION_POS_FIELD
           
 
Constructor Summary
RelationUtil()
           
 
Method Summary
static org.mmbase.bridge.Relation createCountedRelation(org.mmbase.bridge.Node parentNode, org.mmbase.bridge.Node childNode, java.lang.String relationName, java.lang.String countField)
           
static org.mmbase.bridge.Relation createRelation(org.mmbase.bridge.Node sourceNode, org.mmbase.bridge.Node destNode, java.lang.String role)
           
static void reorder(org.mmbase.bridge.Cloud cloud, java.lang.String parent, java.lang.String[] children, java.lang.String role)
           
static void reorder(org.mmbase.bridge.Cloud cloud, java.lang.String parent, java.lang.String[] children, java.lang.String role, java.lang.String nodeManagerName)
           
static void reorder(org.mmbase.bridge.Cloud cloud, java.lang.String parent, java.lang.String childs, java.lang.String role)
           
static void reorder(org.mmbase.bridge.Cloud cloud, java.lang.String parent, java.lang.String children, java.lang.String role, java.lang.String nodeManagerName)
           
static void reorder(org.mmbase.bridge.Node parentNode, java.util.List children, java.lang.String role)
           
static void reorder(org.mmbase.bridge.Node parentNode, java.lang.Object children, java.lang.String role, java.lang.String nodeManagerName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RELATION_POS_FIELD

public static final java.lang.String RELATION_POS_FIELD
See Also:
Constant Field Values
Constructor Detail

RelationUtil

public RelationUtil()
Method Detail

reorder

public static void reorder(org.mmbase.bridge.Cloud cloud,
                           java.lang.String parent,
                           java.lang.String childs,
                           java.lang.String role)

reorder

public static void reorder(org.mmbase.bridge.Cloud cloud,
                           java.lang.String parent,
                           java.lang.String children,
                           java.lang.String role,
                           java.lang.String nodeManagerName)

reorder

public static void reorder(org.mmbase.bridge.Cloud cloud,
                           java.lang.String parent,
                           java.lang.String[] children,
                           java.lang.String role)

reorder

public static void reorder(org.mmbase.bridge.Cloud cloud,
                           java.lang.String parent,
                           java.lang.String[] children,
                           java.lang.String role,
                           java.lang.String nodeManagerName)

reorder

public static void reorder(org.mmbase.bridge.Node parentNode,
                           java.util.List children,
                           java.lang.String role)

reorder

public static void reorder(org.mmbase.bridge.Node parentNode,
                           java.lang.Object children,
                           java.lang.String role,
                           java.lang.String nodeManagerName)

createRelation

public static org.mmbase.bridge.Relation createRelation(org.mmbase.bridge.Node sourceNode,
                                                        org.mmbase.bridge.Node destNode,
                                                        java.lang.String role)

createCountedRelation

public static org.mmbase.bridge.Relation createCountedRelation(org.mmbase.bridge.Node parentNode,
                                                               org.mmbase.bridge.Node childNode,
                                                               java.lang.String relationName,
                                                               java.lang.String countField)


Copyright © 2003-2006 mmapps. All Rights Reserved.