Package org.apache.jetspeed.om.cms

Examples of org.apache.jetspeed.om.cms.Catalog


                     
            // get all catalogs objects used for the "catalog path"
            Vector catalogPath = this.getCmsManager().getCatalogs(fromcatalogName, tocatalogName);
           
            // get the catalog selected in the velocity template
            Catalog catalog = (Catalog) catalogPath.lastElement();
            // Retrieve catalog items
            this.getCmsManager().populateCatalog(catalog,true,true,1);
                                   
            // Store the cataloPath collection and the catalog into the portlet session for performance reason
            // (can be used by the customizer without a second retrieve in the cms repository          
View Full Code Here


               throws JetspeedCMSException
    {
     
         try
         {     
             Catalog catalog = (Catalog) CmsFactory.getCmsOmInstance("Catalog");
             setTemplate(rundata, getParameterUsingFallback(portlet, rundata, NEW_CATALOG_TEMPLATE, null));
             context.put(SUB_CATALOG_PARAM, catalog);
             context.put(MODE_PARAM, ADD_MODE_VALUE);
            
         }
View Full Code Here

    {
     
         try
         {     
            
             Catalog newCatalog = (Catalog) CmsFactory.getCmsOmInstance("Catalog");
            
             // Assign values to the catalog object
             rundata.getParameters().setProperties(newCatalog);
            
             Catalog parentCatalog = (Catalog) this.getSessionState(portlet, rundata)
                                          .getAttribute(CATALOG_PARAM);
            
             newCatalog.setParentUri(parentCatalog.getUri());
            
             newCatalog.setUri(newCatalog.getParentUri() +
                               "/" + newCatalog.getLogicalName());
            
             // Create catalog into the repository                 
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.om.cms.Catalog

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.