Author: julien(a)jboss.com
Date: 2007-04-25 16:00:44 -0400 (Wed, 25 Apr 2007)
New Revision: 7057
Modified:
trunk/core/src/main/org/jboss/portal/core/impl/model/content/InternalContentProvider.java
trunk/core/src/main/org/jboss/portal/core/impl/model/content/generic/InternalGenericContentProvider.java
trunk/core/src/main/org/jboss/portal/core/impl/model/content/portlet/InternalPortletContentProvider.java
Log:
rename method with a more generic name
Modified:
trunk/core/src/main/org/jboss/portal/core/impl/model/content/InternalContentProvider.java
===================================================================
---
trunk/core/src/main/org/jboss/portal/core/impl/model/content/InternalContentProvider.java 2007-04-25
19:52:47 UTC (rev 7056)
+++
trunk/core/src/main/org/jboss/portal/core/impl/model/content/InternalContentProvider.java 2007-04-25
20:00:44 UTC (rev 7057)
@@ -147,7 +147,7 @@
* @param command
* @return the portlet instance for the view mode
*/
- protected abstract Instance getViewModePortletInstance(RenderWindowCommand command);
+ protected abstract Instance getPortletInstance(RenderWindowCommand command);
public ControllerResponse renderWindow(RenderWindowCommand cmd) throws Exception
{
@@ -178,7 +178,7 @@
try
{
// Obtain instance
- Instance instance = getViewModePortletInstance(cmd);
+ Instance instance = getPortletInstance(cmd);
// No instance means we can't continue
if (instance == null)
Modified:
trunk/core/src/main/org/jboss/portal/core/impl/model/content/generic/InternalGenericContentProvider.java
===================================================================
---
trunk/core/src/main/org/jboss/portal/core/impl/model/content/generic/InternalGenericContentProvider.java 2007-04-25
19:52:47 UTC (rev 7056)
+++
trunk/core/src/main/org/jboss/portal/core/impl/model/content/generic/InternalGenericContentProvider.java 2007-04-25
20:00:44 UTC (rev 7057)
@@ -129,7 +129,7 @@
return new GenericContent(state);
}
- protected Instance getViewModePortletInstance(RenderWindowCommand command)
+ protected Instance getPortletInstance(RenderWindowCommand command)
{
String id = contentPortlet.getPortletName(Mode.VIEW);
Modified:
trunk/core/src/main/org/jboss/portal/core/impl/model/content/portlet/InternalPortletContentProvider.java
===================================================================
---
trunk/core/src/main/org/jboss/portal/core/impl/model/content/portlet/InternalPortletContentProvider.java 2007-04-25
19:52:47 UTC (rev 7056)
+++
trunk/core/src/main/org/jboss/portal/core/impl/model/content/portlet/InternalPortletContentProvider.java 2007-04-25
20:00:44 UTC (rev 7057)
@@ -179,7 +179,7 @@
// ContentRenderer implementation
***********************************************************************************
- protected Instance getViewModePortletInstance(RenderWindowCommand command)
+ protected Instance getPortletInstance(RenderWindowCommand command)
{
ControllerContext context = command.getControllerContext();
Show replies by date