weaver 2004/08/18 06:55:57
Modified: portal/src/java/org/apache/jetspeed/request
JetspeedRequestContext.java
jetspeed-api/src/java/org/apache/jetspeed/request
RequestContext.java
jetspeed-api/src/java/org/apache/jetspeed/mockobjects/request
MockRequestContext.java
Log:
Added a setPath() method
Revision Changes Path
1.29 +12 -0
jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/request/JetspeedRequestContext.java
Index: JetspeedRequestContext.java
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/request/JetspeedRequestContext.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- JetspeedRequestContext.java 16 Aug 2004 18:31:52 -0000 1.28
+++ JetspeedRequestContext.java 18 Aug 2004 13:55:57 -0000 1.29
@@ -521,4 +521,16 @@
return language;
}
+ /**
+ * <p>
+ * setPath
+ * </p>
+ *
+ * @see org.apache.jetspeed.request.RequestContext#setPath(java.lang.String)
+ * @param path
+ */
+ public void setPath( String path )
+ {
+ this.requestPath = path;
+ }
}
1.7 +12 -1
jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/request/RequestContext.java
Index: RequestContext.java
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/request/RequestContext.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- RequestContext.java 21 Jul 2004 13:32:32 -0000 1.6
+++ RequestContext.java 18 Aug 2004 13:55:57 -0000 1.7
@@ -337,6 +337,17 @@
String getPath();
/**
+ *
+ * <p>
+ * setPath
+ * </p>
+ * Allows the manual overriding of path Jetspeed 2 will look to resolves pages
and folders.
+ *
+ * @param path
+ */
+ void setPath(String path);
+
+ /**
* Returns the user info map of user attributes for a given portlet
application.</p>
* @param oid The portlet application object id.
* @return The PortletRequest.USER_INFO map.
1.3 +13 -0
jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/mockobjects/request/MockRequestContext.java
Index: MockRequestContext.java
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/mockobjects/request/MockRequestContext.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- MockRequestContext.java 13 Jul 2004 20:58:12 -0000 1.2
+++ MockRequestContext.java 18 Aug 2004 13:55:57 -0000 1.3
@@ -472,4 +472,17 @@
// TODO Auto-generated method stub
return null;
}
+ /**
+ * <p>
+ * setPath
+ * </p>
+ *
+ * @see org.apache.jetspeed.request.RequestContext#setPath(java.lang.String)
+ * @param path
+ */
+ public void setPath( String path )
+ {
+ // TODO Auto-generated method stub
+
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]