Package org.apache.lenya.cms.publication

Examples of org.apache.lenya.cms.publication.DefaultSiteTree.removeNode()


        throws SiteTreeException {
    DefaultSiteTree tree = null;

      try {
      tree = getPublication().getSiteTree(area);
      SiteTreeNode node = tree.removeNode(documentid);
      if (node == null) {
        throw new SiteTreeException("Node " + node + " couldn't be removed");
      }
      tree.save();
    } catch (Exception e) {
View Full Code Here


        throws SiteTreeException {
    DefaultSiteTree tree = null;

      try {
      tree = getPublication().getSiteTree(area);
      SiteTreeNode node = tree.removeNode(documentid);
      if (node == null) {
        throw new SiteTreeException("Node " + node + " couldn't be removed");
      }
      tree.save();
    } catch (Exception e) {
View Full Code Here

        throws SiteTreeException {
    DefaultSiteTree tree = null;

      try {
      tree = getPublication().getSiteTree(area);
      SiteTreeNode node = tree.removeNode(documentid);
      if (node == null) {
        throw new SiteTreeException("Node " + node + " couldn't be removed");
      }
      tree.save();
    } catch (Exception e) {
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.