taylor 2004/08/10 23:37:18
Modified: jetspeed-api/src/java/org/apache/jetspeed/container/session
NavigationalStateComponent.java
Log:
improved on Navigational API for parsing window states
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
Revision Changes Path
1.4 +5 -5
jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/container/session/NavigationalStateComponent.java
Index: NavigationalStateComponent.java
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/container/session/NavigationalStateComponent.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- NavigationalStateComponent.java 20 Jul 2004 18:50:32 -0000 1.3
+++ NavigationalStateComponent.java 11 Aug 2004 06:37:18 -0000 1.4
@@ -123,8 +123,8 @@
/**
* <p>
- * Check to see if the request contains the given request parameter.
- * Returns true if the request containers the request parameter, false if it
does not.
+ * Parse the request and pull out the name/value pair for the given the given
request parameter.
+ * Returns the parameter string and its value if the request containers the
request parameter, null if it does not.
* Valid parameter types
* </p>
* <ul>
@@ -137,8 +137,8 @@
*
* @param request The HTTP request.
* @param parameterType The NavigationStateComponent-defined parameter type.
- * @return boolean true if the specified parameter type exists as a request
parameter.
+ * @return String[2] the parameter name and vlaue if the specified parameter
type exists as a request parameter.
*/
- boolean hasPortalParameter(HttpServletRequest request, int parameterType);
+ String[] parsePortalParameter(HttpServletRequest request, int parameterType);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]