portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r708332 - /portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-portal/src/main/java/org/apache/jetspeed/container/providers/RequestPropertyProviderImpl.java
Date Mon, 27 Oct 2008 21:39:00 GMT
Author: taylor
Date: Mon Oct 27 14:38:59 2008
New Revision: 708332

URL: http://svn.apache.org/viewvc?rev=708332&view=rev
Log:
https://issues.apache.org/jira/browse/JS2-871

Modified:
    portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-portal/src/main/java/org/apache/jetspeed/container/providers/RequestPropertyProviderImpl.java

Modified: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-portal/src/main/java/org/apache/jetspeed/container/providers/RequestPropertyProviderImpl.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-portal/src/main/java/org/apache/jetspeed/container/providers/RequestPropertyProviderImpl.java?rev=708332&r1=708331&r2=708332&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-portal/src/main/java/org/apache/jetspeed/container/providers/RequestPropertyProviderImpl.java
(original)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-portal/src/main/java/org/apache/jetspeed/container/providers/RequestPropertyProviderImpl.java
Mon Oct 27 14:38:59 2008
@@ -21,10 +21,10 @@
 
 import javax.servlet.http.Cookie;
 import javax.servlet.http.HttpServletRequest;
-import org.w3c.dom.Element;
 
-import org.apache.pluto.spi.RequestPropertyProvider;
 import org.apache.jetspeed.container.PortletWindow;
+import org.apache.pluto.spi.RequestPropertyProvider;
+import org.w3c.dom.Element;
 
 /**
  * TODO: 2.2 implement 
@@ -38,21 +38,21 @@
     {}
     
     public Map getProperties(HttpServletRequest request,
-            PortletWindow portletWindow)
+            org.apache.pluto.PortletWindow portletWindow)
     {
         // TODO: currently this method returns an empty map.
         return Collections.EMPTY_MAP;
     }
 
     public void setProperty(HttpServletRequest request,
-            PortletWindow portletWindow, String property, String value)
+            org.apache.pluto.PortletWindow portletWindow, String property, String value)
     {
         request.setAttribute(property + portletWindow.getId().getStringId()
                 + "__str", value);
     }
 
     public void addProperty(HttpServletRequest request,
-            PortletWindow portletWindow, String property, String value)
+            org.apache.pluto.PortletWindow portletWindow, String property, String value)
     {
         if (request
                 .getAttribute(property + portletWindow.getId().getStringId()) == null)
@@ -74,7 +74,7 @@
     }
 
     public void addProperty(HttpServletRequest request,
-            PortletWindow portletWindow, String property, Element value)
+            org.apache.pluto.PortletWindow portletWindow, String property, Element value)
     {
         if (request
                 .getAttribute(property + portletWindow.getId().getStringId()) == null)
@@ -96,8 +96,8 @@
 
     }
 
-    public void addProperty(HttpServletRequest request,
-            PortletWindow portletWindow, Cookie cookie)
+    public void addCookieProperty(HttpServletRequest request,
+            org.apache.pluto.PortletWindow portletWindow, Cookie cookie)
     {
         if (request.getAttribute(portletWindow.getId().getStringId() + "__coo") == null)
         {
@@ -118,13 +118,12 @@
         }
     }
 
-    public Cookie[] getPropertyCookie(HttpServletRequest request,
-            PortletWindow portletWindow)
+    public Cookie[] getCookieProperty(HttpServletRequest request,
+            org.apache.pluto.PortletWindow portletWindow)
     {
         return (Cookie[]) request.getAttribute(portletWindow.getId()
                 .getStringId()
-                + "__coo");
+                + "__coo"); 
     }
-    
-    
+
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message