Author: sohil.shah(a)jboss.com
Date: 2007-07-17 15:26:55 -0400 (Tue, 17 Jul 2007)
New Revision: 7809
Modified:
branches/JBoss_Portal_Branch_2_6/core-cms/src/main/org/jboss/portal/core/cms/ui/CMSPortlet.java
Log:
CMSPortlet : change internal properties from private to protected - JBPORTAL-1506
Modified:
branches/JBoss_Portal_Branch_2_6/core-cms/src/main/org/jboss/portal/core/cms/ui/CMSPortlet.java
===================================================================
---
branches/JBoss_Portal_Branch_2_6/core-cms/src/main/org/jboss/portal/core/cms/ui/CMSPortlet.java 2007-07-17
19:20:52 UTC (rev 7808)
+++
branches/JBoss_Portal_Branch_2_6/core-cms/src/main/org/jboss/portal/core/cms/ui/CMSPortlet.java 2007-07-17
19:26:55 UTC (rev 7809)
@@ -135,7 +135,7 @@
private static final PortletMode EDIT_CONTENT = new
PortletMode("edit_content");
/** . */
- private CMS CMSService;
+ protected CMS CMSService;
/** . */
private CMSContentEditorPortlet hack = new CMSContentEditorPortlet();
@@ -331,7 +331,7 @@
/**
*
*/
- private String cleanupContent(String content)
+ protected String cleanupContent(String content)
{
//including content only between the <body> and </body>
if (content.toLowerCase().indexOf("<body") != -1)
@@ -350,7 +350,7 @@
/**
* Creates CMS urls which is used for image src calls from the html.
*/
- private abstract static class URLFactory
+ protected abstract static class URLFactory
{
public abstract String createURL(String path);
}
@@ -358,7 +358,7 @@
/**
* Implementation that uses a PortletURL object.
*/
- private static class LocalURLFactory extends URLFactory
+ protected static class LocalURLFactory extends URLFactory
{
/** . */
@@ -379,7 +379,7 @@
/**
* Implementation that routes thru the CMSObjectCommandMapper.
*/
- private static class GlobalURLFactory extends URLFactory
+ protected static class GlobalURLFactory extends URLFactory
{
/** . */