com.dotmarketing.factories
Class TreeFactory
java.lang.Object
com.dotmarketing.factories.TreeFactory
public class TreeFactory
- extends java.lang.Object
- Author:
- maria
|
Method Summary |
static void |
deleteTree(Tree tree)
|
static void |
deleteTreesByChild(Inode child)
|
static void |
deleteTreesByParent(Inode parent)
|
static void |
deleteTreesByRelationType(java.lang.String relationType)
|
static Tree |
getTree(Inode parent,
Inode child)
|
static Tree |
getTree(Inode parent,
Inode child,
java.lang.String relationType)
|
static Tree |
getTree(long parent,
long child)
|
static Tree |
getTree(long parent,
long child,
java.lang.String relationType)
|
static Tree |
getTree(java.lang.String x)
|
static Tree |
getTreeByChildAndRelationType(Inode child,
java.lang.String relationType)
|
static Tree |
getTreeByParentAndRelationType(Inode parent,
java.lang.String relationType)
|
static java.util.List |
getTreesByChild(Inode inode)
|
static java.util.List<Tree> |
getTreesByChildAndRelationType(Inode child,
java.lang.String relationType)
|
static java.util.List<Tree> |
getTreesByParent(Inode inode)
|
static java.util.List<Tree> |
getTreesByParentAndRelationType(Inode parent,
java.lang.String relationType)
|
static java.util.List<Tree> |
getTreesByRelationType(java.lang.String relationType)
|
static void |
saveTree(Tree tree)
|
static void |
swapTrees(Inode i1,
Inode i2)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeFactory
public TreeFactory()
getTree
public static Tree getTree(java.lang.String x)
getTree
public static Tree getTree(Inode parent,
Inode child)
getTree
public static Tree getTree(long parent,
long child)
getTree
public static Tree getTree(long parent,
long child,
java.lang.String relationType)
getTree
public static Tree getTree(Inode parent,
Inode child,
java.lang.String relationType)
getTreeByChildAndRelationType
public static Tree getTreeByChildAndRelationType(Inode child,
java.lang.String relationType)
getTreeByParentAndRelationType
public static Tree getTreeByParentAndRelationType(Inode parent,
java.lang.String relationType)
getTreesByParentAndRelationType
public static java.util.List<Tree> getTreesByParentAndRelationType(Inode parent,
java.lang.String relationType)
getTreesByChildAndRelationType
public static java.util.List<Tree> getTreesByChildAndRelationType(Inode child,
java.lang.String relationType)
getTreesByRelationType
public static java.util.List<Tree> getTreesByRelationType(java.lang.String relationType)
getTreesByParent
public static java.util.List<Tree> getTreesByParent(Inode inode)
getTreesByChild
public static java.util.List getTreesByChild(Inode inode)
swapTrees
public static void swapTrees(Inode i1,
Inode i2)
throws HibernateException
- Throws:
HibernateException
deleteTree
public static void deleteTree(Tree tree)
deleteTreesByParent
public static void deleteTreesByParent(Inode parent)
deleteTreesByChild
public static void deleteTreesByChild(Inode child)
deleteTreesByRelationType
public static void deleteTreesByRelationType(java.lang.String relationType)
saveTree
public static void saveTree(Tree tree)
Copyright © 2006 Dotmarketing, Inc. All Rights Reserved.