Package org.apache.jetspeed.services.cms

Examples of org.apache.jetspeed.services.cms.CmsService


    public Vector getCatalogs(String fromUri, String toUri)
    {
    try
    {
      CmsService service = (CmsService) TurbineServices.getInstance()
                      .getService(CmsService.SERVICE_NAME);

      CmsManager  cmsManager = service.getCmsManager();
      Vector catalogs = cmsManager.getCatalogs(fromUri, toUri);
      return catalogs;
    }
    catch (JetspeedCMSException e)
    {
View Full Code Here


    {
    try
    {
      // Read the content from the repository
      // Get a reference to the Slide Service
      CmsService service = (CmsService) TurbineServices.getInstance()
                                        .getService(CmsService.SERVICE_NAME);

           // Retrieve the content from Slide and get its properties
      CmsManager  cmsManager = service.getCmsManager();

      Catalog catalog = (Catalog) cmsManager.getResource(catalogName );
      cmsManager.populateCatalog(catalog, true, true, 1);

      return catalog;
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.services.cms.CmsService

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.