Package org.apache.jetspeed.page

Examples of org.apache.jetspeed.page.PageNotFoundException


        {
            throw pnfe;
        }
        catch (Exception e)
        {
            throw new PageNotFoundException("Page template " + pageTemplatePath + " not found.", e);
        }
    }
View Full Code Here


        {
            throw pnfe;
        }
        catch (Exception e)
        {
            throw new PageNotFoundException("Dynamic page " + dynamicPagePath + " not found.", e);
        }
    }
View Full Code Here

        {
            throw pnfe;
        }
        catch (Exception e)
        {
            throw new PageNotFoundException("Fragment definition " + fragmentDefinitionPath + " not found.", e);
        }
    }
View Full Code Here

            if (page != null)
            {
                return page;
            }
        }
        throw new PageNotFoundException("Page " + name + " not found at " + getPath());
    }
View Full Code Here

            if (dynamicPage != null)
            {
                return dynamicPage;
            }
        }
        throw new PageNotFoundException("DynamicPage " + name + " not found at " + getPath());
    }
View Full Code Here

            if (pageTemplate != null)
            {
                return pageTemplate;
            }
        }
        throw new PageNotFoundException("PageTemplate " + name + " not found at " + getPath());
    }
View Full Code Here

            if (fragmentDefinition != null)
            {
                return fragmentDefinition;
            }
        }
        throw new PageNotFoundException("FragmentDefinition " + name + " not found at " + getPath());
    }
View Full Code Here

        // select page by name from cached pages collection
        Page page = (Page)getPagesNodeSet().get(name);
        if (page == null)
        {
            throw new PageNotFoundException("Page not found: " + name);
        }

        // check for view access on page
        page.checkAccess(JetspeedActions.VIEW);
View Full Code Here

        // select page template by name from cached page templates collection
        PageTemplate pageTemplate = (PageTemplate)getPageTemplatesNodeSet().get(name);
        if (pageTemplate == null)
        {
            throw new PageNotFoundException("PageTemplate not found: " + name);
        }

        // check for view access on page template
        pageTemplate.checkAccess(JetspeedActions.VIEW);
View Full Code Here

        // select dynamic page by name from cached dynamic pages collection
        DynamicPage dynamicPage = (DynamicPage)getDynamicPagesNodeSet().get(name);
        if (dynamicPage == null)
        {
            throw new PageNotFoundException("DynamicPage not found: " + name);
        }

        // check for view access on page
        dynamicPage.checkAccess(JetspeedActions.VIEW);
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.page.PageNotFoundException

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.