Package org.apache.pluto.driver.services.portal

Examples of org.apache.pluto.driver.services.portal.RenderConfigService


        .getAttribute(AttributeKeys.DRIVER_CONFIG);
        PageConfig pageConfig = new PageConfig();
        pageConfig.setName(page);
        pageConfig.setUri(uri);

        RenderConfigService renderConfig = driverConfig.getRenderConfigService();
        renderConfig.addPage(pageConfig);
    }
View Full Code Here


      LOG.warn("Trying to delete the Pluto Admin page. Page deletion will be ignored.");
      return;
    }

    PageConfig pageConfig = getPageConfig(page);
        RenderConfigService renderConfig = driverConfig.getRenderConfigService();
        renderConfig.removePage(pageConfig);
    }
View Full Code Here

    /*
    * Gets the PageConfig object from Pluto with that name
    */
    private PageConfig getPageConfigFromPluto() {
        RenderConfigService service = portletContainerServices.getRenderConfigService();

        return (PageConfig) service.getPage(pageTitle);
    }
View Full Code Here

    * return true if Pluto contains a PageConfig with that name, else false
    */
    private boolean pageExists() {
        if (pageTitle == null) return false;

        RenderConfigService service = portletContainerServices.getRenderConfigService();

        List<PageConfig> pageConfigs = service.getPages();
        for (PageConfig pageConfig : pageConfigs) {
            if (pageTitle.equals(pageConfig.getName())) {
                return true;
            }
        }
View Full Code Here

    /*
    * Gets the PageConfig object from Pluto with that name
    */
    private PageConfig getPageConfigFromPluto() {
        RenderConfigService service = portletContainerServices.getRenderConfigService();

        return service.getPage(pageTitle);
    }
View Full Code Here

    * return true if Pluto contains a PageConfig with that name, else false
    */
    private boolean pageExists() {
        if (pageTitle == null) return false;

        RenderConfigService service = portletContainerServices.getRenderConfigService();

        List<PageConfig> pageConfigs = service.getPages();
        for (PageConfig pageConfig : pageConfigs) {
            if (pageTitle.equals(pageConfig.getName())) {
                return true;
            }
        }
View Full Code Here

TOP

Related Classes of org.apache.pluto.driver.services.portal.RenderConfigService

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.