Package org.apache.jetspeed.services.beans

Examples of org.apache.jetspeed.services.beans.PageBean


        {
            if (Page.DOCUMENT_TYPE.equals(type))
            {
                Page page = pageManager.getPage(path);
                page.checkAccess(JetspeedActions.EDIT);
                return new PageBean(page);
            }
            else if (Link.DOCUMENT_TYPE.equals(type))
            {
                Link link = getLink(path);
                link.checkAccess(JetspeedActions.EDIT);
View Full Code Here


        {
            if (Page.DOCUMENT_TYPE.equals(type))
            {
                Page page = pageManager.getPage(path);
                pageManager.removePage(page);
                return new PageBean(page);
            }
            else if (Link.DOCUMENT_TYPE.equals(type))
            {
                Link link = getLink(path);
                pageManager.removeLink(link);
View Full Code Here

            if (Page.DOCUMENT_TYPE.equals(type))
            {
                Page source = pageManager.getPage(sourcePath);
                Page target = pageManager.copyPage(source, targetPath);
                pageManager.updatePage(target);
                return new PageBean(target);
            }
            else if (Link.DOCUMENT_TYPE.equals(type))
            {
                Link source = getLink(sourcePath);
                Link target = pageManager.copyLink(source, targetPath);
View Full Code Here

                }
            }
           
            if (Page.DOCUMENT_TYPE.equals(type))
            {
                return new PageBean((Page) node);
            }
            else if (Link.DOCUMENT_TYPE.equals(type))
            {
                return new LinkBean((Link) node);
            }
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.services.beans.PageBean

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.