Package org.apache.lenya.cms.site

Examples of org.apache.lenya.cms.site.SiteStructure


        Set nodes = new HashSet();
 
        if(getSourceDocument() != null) {
            try {

                SiteStructure sourceSite = getSourceDocument().area().getSite();
                SiteStructure targetSite = getSourceDocument().getPublication()
                        .getArea(getTargetArea()).getSite();

                nodes.add(sourceSite.getRepositoryNode());
                nodes.add(targetSite.getRepositoryNode());

                Document[] docs = SiteUtil.getSubSite(this.manager,
                        getSourceDocument().getLink().getNode()).getDocuments();
                for (int i = 0; i < docs.length; i++) {
                    nodes.add(docs[i].getRepositoryNode());
View Full Code Here


        if (!success) {
            url = getSourceURL();
        } else {
            try {
                Document document = getTargetDocument(success);
                SiteStructure site = document.getPublication().getArea(Publication.AUTHORING_AREA).getSite();
                return getTargetUrl(site, document.getPath()) + getExitQueryString();
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
View Full Code Here

TOP

Related Classes of org.apache.lenya.cms.site.SiteStructure

Copyright © 2018 www.massapicom. 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.