Package org.apache.lenya.cms.publication

Examples of org.apache.lenya.cms.publication.SiteTree.copy()


        SiteTreeNode node = firsttree.getNode(firstDocumentId);

        if (node != null) {
            SiteTreeNode parentNode = sectree.getNode(parentId.toString());
            if (parentNode != null) {
                sectree.copy(node, parentNode, newid, null);
            } else {
                throw new SiteTreeException("The parent node " + parentNode
                        + " where the copied node shall be inserted not found");
            }
        } else {
View Full Code Here


        SiteTreeNode node = firsttree.getNode(firstdocumentid);

        if (node != null) {
            SiteTreeNode parentNode = sectree.getNode(parentid);
            if (parentNode != null) {
                sectree.copy(node, parentNode, newid, null);
            } else {
                throw new SiteTreeException("The parent node " + parentNode
                        + " where the copied node shall be inserted not found");
            }
        } else {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.