Package org.apache.jetspeed.services.beans

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


            }
            else if (Folder.FOLDER_TYPE.equals(type))
            {
                Folder folder = pageManager.getFolder(path);
                folder.checkAccess(JetspeedActions.EDIT);
                return new FolderBean(folder);
            }
            else
            {
                throw new WebApplicationException(Status.NOT_FOUND);
            }
View Full Code Here


            }
            else if (Folder.FOLDER_TYPE.equals(type))
            {
                Folder folder = pageManager.getFolder(path);
                pageManager.removeFolder(folder);
                return new FolderBean(folder);
            }
            else
            {
                throw new WebApplicationException(Status.NOT_FOUND);
            }
View Full Code Here

                    {
                        pageManager.deepCopyFolder(source, targetPath, owner, copyIds);
                    }
                   
                    Folder target = pageManager.getFolder(targetPath);
                    return new FolderBean(target);
                }
                else
                {
                    Folder target = pageManager.copyFolder(source, targetPath);
                    pageManager.updateFolder(target, true);
                    return new FolderBean(target);
                }
            }
            else
            {
                throw new WebApplicationException(Status.NOT_FOUND);
View Full Code Here

            {
                return new LinkBean((Link) node);
            }
            else if (Folder.FOLDER_TYPE.equals(type))
            {
                return new FolderBean((Folder) node);
            }
           
            return null;
        }
        catch (DocumentNotFoundException e)
View Full Code Here

TOP

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

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.