roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r414705 - in /incubator/roller/branches/roller_3.0/src/org/apache/roller: business/ business/hibernate/ model/ pojos/ ui/authoring/struts/actions/ ui/authoring/tags/ ui/rendering/velocity/deprecated/
Date Thu, 15 Jun 2006 23:52:31 GMT
Author: agilliland
Date: Thu Jun 15 16:52:30 2006
New Revision: 414705

URL: http://svn.apache.org/viewvc?rev=414705&view=rev
Log:
rename PagePluginManager to PluginManager.


Added:
    incubator/roller/branches/roller_3.0/src/org/apache/roller/business/PluginManagerImpl.java
      - copied, changed from r414704, incubator/roller/branches/roller_3.0/src/org/apache/roller/business/PagePluginManagerImpl.java
    incubator/roller/branches/roller_3.0/src/org/apache/roller/model/PluginManager.java
      - copied, changed from r414704, incubator/roller/branches/roller_3.0/src/org/apache/roller/model/PagePluginManager.java
Removed:
    incubator/roller/branches/roller_3.0/src/org/apache/roller/business/PagePluginManagerImpl.java
    incubator/roller/branches/roller_3.0/src/org/apache/roller/model/PagePluginManager.java
Modified:
    incubator/roller/branches/roller_3.0/src/org/apache/roller/business/RollerImpl.java
    incubator/roller/branches/roller_3.0/src/org/apache/roller/business/hibernate/HibernateRollerPlanetManagerImpl.java
    incubator/roller/branches/roller_3.0/src/org/apache/roller/model/Roller.java
    incubator/roller/branches/roller_3.0/src/org/apache/roller/pojos/PlanetEntryData.java
    incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/struts/actions/WeblogEntryFormAction.java
    incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/struts/actions/WeblogEntryPageModel.java
    incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/struts/actions/WebsiteFormAction.java
    incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/tags/ShowEntryContentTag.java
    incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/tags/ShowEntrySummaryTag.java
    incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/tags/ShowEntryTextTag.java
    incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/velocity/deprecated/PageHelper.java

Copied: incubator/roller/branches/roller_3.0/src/org/apache/roller/business/PluginManagerImpl.java
(from r414704, incubator/roller/branches/roller_3.0/src/org/apache/roller/business/PagePluginManagerImpl.java)
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/business/PluginManagerImpl.java?p2=incubator/roller/branches/roller_3.0/src/org/apache/roller/business/PluginManagerImpl.java&p1=incubator/roller/branches/roller_3.0/src/org/apache/roller/business/PagePluginManagerImpl.java&r1=414704&r2=414705&rev=414705&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/src/org/apache/roller/business/PagePluginManagerImpl.java
(original)
+++ incubator/roller/branches/roller_3.0/src/org/apache/roller/business/PluginManagerImpl.java
Thu Jun 15 16:52:30 2006
@@ -28,7 +28,7 @@
 import org.apache.velocity.context.Context;
 import org.apache.roller.config.RollerConfig;
 import org.apache.roller.model.WeblogEntryPlugin;
-import org.apache.roller.model.PagePluginManager;
+import org.apache.roller.model.PluginManager;
 import org.apache.roller.pojos.WeblogEntryData;
 import org.apache.roller.pojos.WebsiteData;
 import org.apache.roller.util.StringUtils;
@@ -37,18 +37,18 @@
  * Centralized page plugin management.
  * @author Dave Johnson
  */
-public class PagePluginManagerImpl implements PagePluginManager {
+public class PluginManagerImpl implements PluginManager {
     
     private static Log mLogger =
-            LogFactory.getFactory().getInstance(PagePluginManagerImpl.class);
+            LogFactory.getFactory().getInstance(PluginManagerImpl.class);
     
     // Plugin classes keyed by plugin name
     static Map mPagePlugins = new LinkedHashMap();
     
     /**
-     * Creates a new instance of PagePluginManagerImpl
+     * Creates a new instance of PluginManagerImpl
      */
-    public PagePluginManagerImpl() {
+    public PluginManagerImpl() {
         loadPagePluginClasses();
     }
     

Modified: incubator/roller/branches/roller_3.0/src/org/apache/roller/business/RollerImpl.java
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/business/RollerImpl.java?rev=414705&r1=414704&r2=414705&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/src/org/apache/roller/business/RollerImpl.java (original)
+++ incubator/roller/branches/roller_3.0/src/org/apache/roller/business/RollerImpl.java Thu
Jun 15 16:52:30 2006
@@ -31,7 +31,7 @@
 import org.apache.roller.business.utils.UpgradeDatabase;
 import org.apache.roller.model.FileManager;
 import org.apache.roller.model.IndexManager;
-import org.apache.roller.model.PagePluginManager;
+import org.apache.roller.model.PluginManager;
 import org.apache.roller.model.Roller;
 import org.apache.roller.model.ThemeManager;
 import org.apache.roller.model.ThreadManager;
@@ -52,7 +52,7 @@
     private IndexManager indexManager = null;
     private ThreadManager threadManager = null;
     private ThemeManager themeManager = null;
-    private PagePluginManager pluginManager = null;
+    private PluginManager pluginManager = null;
     
     
     public RollerImpl() {
@@ -115,9 +115,9 @@
     /**
      * @see org.apache.roller.model.Roller#getPluginManager()
      */
-    public PagePluginManager getPagePluginManager() throws RollerException {
+    public PluginManager getPagePluginManager() throws RollerException {
         if (pluginManager == null) {
-            pluginManager = new PagePluginManagerImpl();
+            pluginManager = new PluginManagerImpl();
         }
         return pluginManager;
     }

Modified: incubator/roller/branches/roller_3.0/src/org/apache/roller/business/hibernate/HibernateRollerPlanetManagerImpl.java
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/business/hibernate/HibernateRollerPlanetManagerImpl.java?rev=414705&r1=414704&r2=414705&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/src/org/apache/roller/business/hibernate/HibernateRollerPlanetManagerImpl.java
(original)
+++ incubator/roller/branches/roller_3.0/src/org/apache/roller/business/hibernate/HibernateRollerPlanetManagerImpl.java
Thu Jun 15 16:52:30 2006
@@ -38,7 +38,7 @@
 import org.apache.commons.logging.LogFactory;
 import org.apache.roller.RollerException;
 import org.apache.roller.config.RollerRuntimeConfig;
-import org.apache.roller.model.PagePluginManager;
+import org.apache.roller.model.PluginManager;
 import org.apache.roller.model.RollerFactory;
 import org.apache.roller.model.UserManager;
 import org.apache.roller.model.WeblogManager;
@@ -136,7 +136,7 @@
                 }
                 
                 // Populate subscription object with new entries
-                PagePluginManager ppmgr = RollerFactory.getRoller().getPagePluginManager();
+                PluginManager ppmgr = RollerFactory.getRoller().getPagePluginManager();
                 Map pagePlugins = ppmgr.createAndInitPagePlugins(website, new HashMap());
                 Iterator entryIter = entries.iterator();
                 while (entryIter.hasNext()) {

Copied: incubator/roller/branches/roller_3.0/src/org/apache/roller/model/PluginManager.java
(from r414704, incubator/roller/branches/roller_3.0/src/org/apache/roller/model/PagePluginManager.java)
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/model/PluginManager.java?p2=incubator/roller/branches/roller_3.0/src/org/apache/roller/model/PluginManager.java&p1=incubator/roller/branches/roller_3.0/src/org/apache/roller/model/PagePluginManager.java&r1=414704&r2=414705&rev=414705&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/src/org/apache/roller/model/PagePluginManager.java
(original)
+++ incubator/roller/branches/roller_3.0/src/org/apache/roller/model/PluginManager.java Thu
Jun 15 16:52:30 2006
@@ -1 +1 @@
-/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 *  contributor
license agreements.  The ASF licenses this file to You
 * under the Apache License, Version
2.0 (the "License"); you may not
 * use this file except in compliance with the License.
* You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
*
 * Unless required by applicable law or agreed to in writing, software
 * distributed under
the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.
 * See the License for the specific language governing permissions
and
 * limitations under the License.  For additional information regarding
 * copyright in
this work, please see the NOTICE file in the top level
 * directory of this distribution.
*/

package org.apache.roller.model;

import java.util.Map;
import org.apache.roller.pojos.WeblogEntryData;
import
org.apache.roller.pojos.WebsiteData;

 /**
 * Manages Roller page plugins
 */
public interface PagePluginManager {
    
    /**
    * Returns true if plugins are present
     */
    public boolean hasPagePlugins();
  
 
    
    /**
     * Create and init plugins for processing entries in a specified website.
    * @param website        Website being processed
     * @param servletContext ServetContext
or null if running outside webapp
     * @param contextURL     Absolute URL of webapp
   
 * @param ctx            Velocity context
     */
    public Map createAndInitPagePlugins(WebsiteData
website, Map model);
    
    
    /**
     * Accepts weblog entry, creates copy, applies
plugins to copy and
     * returns the results.
     * @param entry       Original weblog
entry
     * @param plugins     Map of plugins to apply
     * @param str         String to
which to apply plugins
     * @param singleEntry Rendering for single entry page?
     * @return
       Copy of weblog entry with plugins applied
     */
  
   public String applyPagePlugins(
            WeblogEntryData entry, Map pagePlugins, String
str, boolean singleEntry);
    
    
    /**
     * Release all resources associated with
Roller session.
     */
    public void release();
    
}
\ No newline at end of file
+/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 *  contributor
license agreements.  The ASF licenses this file to You
 * under the Apache License, Version
2.0 (the "License"); you may not
 * use this file except in compliance with the License.
* You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
*
 * Unless required by applicable law or agreed to in writing, software
 * distributed under
the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.
 * See the License for the specific language governing permissions
and
 * limitations under the License.  For additional information regarding
 * copyright in
this work, please see the NOTICE file in the top level
 * directory of this distribution.
*/

package org.apache.roller.model;

import java.util.Map;
import org.apache.roller.pojos.WeblogEntryData;
import
org.apache.roller.pojos.WebsiteData;

 /**
 * Manages Roller plugins.
 */
public interface PluginManager {
    
    /**
     * Returns
true if plugins are present
     */
    public boolean hasPagePlugins();
    
    
    /**
    * Create and init plugins for processing entries in a specified website.
     * @param
website        Website being processed
     * @param servletContext ServetContext or null
if running outside webapp
     * @param contextURL     Absolute URL of webapp
     * @param
ctx            Velocity context
     */
    public Map createAndInitPagePlugins(WebsiteData
website, Map model);
    
    
    /**
     * Accepts weblog entry, creates copy, applies
plugins to copy and
     * returns the results.
     * @param entry       Original weblog
entry
     * @param plugins     Map of plugins to apply
     * @param str         String to
which to apply plugins
     * @param singleEntry Rendering for single entry page?
     * @return
       Copy of weblog entry with plugins applied
     */
    public
  String applyPagePlugins(
            WeblogEntryData entry, Map pagePlugins, String str,
boolean singleEntry);
    
    
    /**
     * Release all resources associated with Roller
session.
     */
    public void release();
    
}
\ No newline at end of file

Modified: incubator/roller/branches/roller_3.0/src/org/apache/roller/model/Roller.java
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/model/Roller.java?rev=414705&r1=414704&r2=414705&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/src/org/apache/roller/model/Roller.java (original)
+++ incubator/roller/branches/roller_3.0/src/org/apache/roller/model/Roller.java Thu Jun 15
16:52:30 2006
@@ -121,9 +121,9 @@
     
     
     /**
-     * Get PagePluginManager associated with this Roller instance.
+     * Get PluginManager associated with this Roller instance.
      */
-    public PagePluginManager getPagePluginManager() throws RollerException;
+    public PluginManager getPagePluginManager() throws RollerException;
     
     
     /**

Modified: incubator/roller/branches/roller_3.0/src/org/apache/roller/pojos/PlanetEntryData.java
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/pojos/PlanetEntryData.java?rev=414705&r1=414704&r2=414705&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/src/org/apache/roller/pojos/PlanetEntryData.java
(original)
+++ incubator/roller/branches/roller_3.0/src/org/apache/roller/pojos/PlanetEntryData.java
Thu Jun 15 16:52:30 2006
@@ -36,7 +36,7 @@
 
 import java.util.Map;
 import org.apache.roller.RollerException;
-import org.apache.roller.model.PagePluginManager;
+import org.apache.roller.model.PluginManager;
 import org.apache.roller.model.Roller;
 import org.apache.roller.model.RollerFactory;
 
@@ -150,7 +150,7 @@
     private void initFromRollerEntry(WeblogEntryData rollerEntry, Map pagePlugins)
     throws RollerException {
         Roller roller = RollerFactory.getRoller();
-        PagePluginManager ppmgr = roller.getPagePluginManager();
+        PluginManager ppmgr = roller.getPagePluginManager();
         
         String content = "";
         if (!StringUtils.isEmpty(rollerEntry.getText())) {

Modified: incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/struts/actions/WeblogEntryFormAction.java
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/struts/actions/WeblogEntryFormAction.java?rev=414705&r1=414704&r2=414705&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/struts/actions/WeblogEntryFormAction.java
(original)
+++ incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/struts/actions/WeblogEntryFormAction.java
Thu Jun 15 16:52:30 2006
@@ -60,7 +60,7 @@
 import org.apache.roller.RollerPermissionsException;
 import org.apache.roller.config.RollerConfig;
 import org.apache.roller.model.IndexManager;
-import org.apache.roller.model.PagePluginManager;
+import org.apache.roller.model.PluginManager;
 import org.apache.roller.model.Roller;
 import org.apache.roller.model.RollerFactory;
 import org.apache.roller.model.UserManager;
@@ -640,7 +640,7 @@
             RollerSession rses = RollerSession.getRollerSession(request);
             if (rses.isUserAuthorizedToAuthor(entry.getWebsite())) {
                 // Run entry through registered PagePlugins
-                PagePluginManager ppmgr = roller.getPagePluginManager();
+                PluginManager ppmgr = roller.getPagePluginManager();
                 Map plugins = ppmgr.createAndInitPagePlugins(
                         entry.getWebsite(),
                         new HashMap());

Modified: incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/struts/actions/WeblogEntryPageModel.java
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/struts/actions/WeblogEntryPageModel.java?rev=414705&r1=414704&r2=414705&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/struts/actions/WeblogEntryPageModel.java
(original)
+++ incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/struts/actions/WeblogEntryPageModel.java
Thu Jun 15 16:52:30 2006
@@ -48,7 +48,7 @@
 import java.util.Map;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
-import org.apache.roller.model.PagePluginManager;
+import org.apache.roller.model.PluginManager;
 import org.apache.roller.model.Roller;
 
 /**
@@ -212,7 +212,7 @@
         boolean ret = false;
         try {
             Roller roller = RollerFactory.getRoller();
-            PagePluginManager ppmgr = roller.getPagePluginManager();
+            PluginManager ppmgr = roller.getPagePluginManager();
             ret = ppmgr.hasPagePlugins();
         } catch (RollerException e) {
             logger.error(e);
@@ -227,7 +227,7 @@
             if (getHasPagePlugins()) 
             {
                 Roller roller = RollerFactory.getRoller();
-                PagePluginManager ppmgr = roller.getPagePluginManager();
+                PluginManager ppmgr = roller.getPagePluginManager();
                 Map plugins = ppmgr.createAndInitPagePlugins(
                     getWebsite(),
                     new HashMap());

Modified: incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/struts/actions/WebsiteFormAction.java
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/struts/actions/WebsiteFormAction.java?rev=414705&r1=414704&r2=414705&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/struts/actions/WebsiteFormAction.java
(original)
+++ incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/struts/actions/WebsiteFormAction.java
Thu Jun 15 16:52:30 2006
@@ -46,7 +46,7 @@
 import org.apache.roller.RollerPermissionsException;
 import org.apache.roller.config.RollerConfig;
 import org.apache.roller.config.RollerRuntimeConfig;
-import org.apache.roller.model.PagePluginManager;
+import org.apache.roller.model.PluginManager;
 import org.apache.roller.model.Roller;
 import org.apache.roller.model.RollerFactory;
 import org.apache.roller.model.UserManager;
@@ -349,7 +349,7 @@
             boolean ret = false;
             try {
                 Roller roller = RollerFactory.getRoller();
-                PagePluginManager ppmgr = roller.getPagePluginManager();
+                PluginManager ppmgr = roller.getPagePluginManager();
                 ret = ppmgr.hasPagePlugins();
             } catch (RollerException e) {
                 mLogger.error(e);
@@ -362,7 +362,7 @@
             try {
                 if (getHasPagePlugins()) {
                     Roller roller = RollerFactory.getRoller();
-                    PagePluginManager ppmgr = roller.getPagePluginManager();
+                    PluginManager ppmgr = roller.getPagePluginManager();
                     Map plugins = ppmgr.createAndInitPagePlugins(
                             getWebsite(),
                             new HashMap());

Modified: incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/tags/ShowEntryContentTag.java
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/tags/ShowEntryContentTag.java?rev=414705&r1=414704&r2=414705&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/tags/ShowEntryContentTag.java
(original)
+++ incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/tags/ShowEntryContentTag.java
Thu Jun 15 16:52:30 2006
@@ -28,7 +28,7 @@
 import org.apache.struts.util.RequestUtils;
 
 import org.apache.roller.model.Roller;
-import org.apache.roller.model.PagePluginManager;
+import org.apache.roller.model.PluginManager;
 import org.apache.roller.model.RollerFactory;
 import org.apache.roller.pojos.WeblogEntryData;
 import org.apache.roller.ui.core.RollerContext;
@@ -66,7 +66,7 @@
                     RollerContext rctx = 
                         RollerContext.getRollerContext();
                     try {
-                        PagePluginManager ppmgr = roller.getPagePluginManager();
+                        PluginManager ppmgr = roller.getPagePluginManager();
                         Map plugins = ppmgr.createAndInitPagePlugins(
                             entry.getWebsite(),
                             new HashMap());

Modified: incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/tags/ShowEntrySummaryTag.java
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/tags/ShowEntrySummaryTag.java?rev=414705&r1=414704&r2=414705&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/tags/ShowEntrySummaryTag.java
(original)
+++ incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/tags/ShowEntrySummaryTag.java
Thu Jun 15 16:52:30 2006
@@ -28,7 +28,7 @@
 import org.apache.struts.util.RequestUtils;
 
 import org.apache.roller.model.Roller;
-import org.apache.roller.model.PagePluginManager;
+import org.apache.roller.model.PluginManager;
 import org.apache.roller.model.RollerFactory;
 import org.apache.roller.pojos.WeblogEntryData;
 import org.apache.roller.ui.core.RollerContext;
@@ -62,7 +62,7 @@
                 if (entry.getPlugins() != null) {
                     RollerContext rctx = 
                         RollerContext.getRollerContext();
-                    PagePluginManager ppmgr = roller.getPagePluginManager();
+                    PluginManager ppmgr = roller.getPagePluginManager();
                     Map plugins = ppmgr.createAndInitPagePlugins(
                         entry.getWebsite(),
                         new HashMap());

Modified: incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/tags/ShowEntryTextTag.java
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/tags/ShowEntryTextTag.java?rev=414705&r1=414704&r2=414705&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/tags/ShowEntryTextTag.java
(original)
+++ incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/authoring/tags/ShowEntryTextTag.java
Thu Jun 15 16:52:30 2006
@@ -27,7 +27,7 @@
 import org.apache.struts.util.RequestUtils;
 
 import org.apache.roller.model.Roller;
-import org.apache.roller.model.PagePluginManager;
+import org.apache.roller.model.PluginManager;
 import org.apache.roller.model.RollerFactory;
 import org.apache.roller.pojos.WeblogEntryData;
 import org.apache.roller.ui.core.RollerContext;
@@ -76,7 +76,7 @@
                     RollerContext rctx = 
                         RollerContext.getRollerContext();
                     try {
-                        PagePluginManager ppmgr = roller.getPagePluginManager();
+                        PluginManager ppmgr = roller.getPagePluginManager();
                         Map plugins = ppmgr.createAndInitPagePlugins(
                                 entry.getWebsite(),
                                 new HashMap());

Modified: incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/velocity/deprecated/PageHelper.java
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/velocity/deprecated/PageHelper.java?rev=414705&r1=414704&r2=414705&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/velocity/deprecated/PageHelper.java
(original)
+++ incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/velocity/deprecated/PageHelper.java
Thu Jun 15 16:52:30 2006
@@ -35,7 +35,7 @@
 import org.apache.struts.util.RequestUtils;
 import org.apache.roller.RollerException;
 import org.apache.roller.model.WeblogEntryPlugin;
-import org.apache.roller.model.PagePluginManager;
+import org.apache.roller.model.PluginManager;
 import org.apache.roller.model.Roller;
 import org.apache.roller.model.RollerFactory;
 import org.apache.roller.pojos.WebsiteData;
@@ -102,7 +102,7 @@
         }
         if (mVelocityContext == null) mVelocityContext = new HashMap();
         Roller roller = RollerFactory.getRoller(); 
-        PagePluginManager ppmgr = roller.getPagePluginManager();
+        PluginManager ppmgr = roller.getPagePluginManager();
         mPagePlugins = ppmgr.createAndInitPagePlugins(mWebsite, ctx);
     }
        



Mime
View raw message