return new PageBean(page);
}
else if (Link.DOCUMENT_TYPE.equals(type))
{
Link link = getLink(path);
link.checkAccess(JetspeedActions.EDIT);
return new LinkBean(link);
}
else if (Folder.FOLDER_TYPE.equals(type))
{
Folder folder = pageManager.getFolder(path);