You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by he...@apache.org on 2003/04/11 13:41:33 UTC
cvs commit: jakarta-turbine-2/src/java/org/apache/turbine/util RunData.java
henning 2003/04/11 04:41:33
Modified: src/java/org/apache/turbine/services/security
UserManager.java
src/java/org/apache/turbine/util RunData.java
Log:
Add deprecation to the interfaces where the methods in the implementation
classses are already deprecated.
Revision Changes Path
1.12 +2 -1 jakarta-turbine-2/src/java/org/apache/turbine/services/security/UserManager.java
Index: UserManager.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/services/security/UserManager.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- UserManager.java 8 Apr 2003 12:11:16 -0000 1.11
+++ UserManager.java 11 Apr 2003 11:41:32 -0000 1.12
@@ -146,6 +146,7 @@
* @return a List of users meeting the criteria.
* @throws DataBackendException if there is a problem accessing the
* storage.
+ * @deprecated Use retrieveList(Criteria crit)
*/
User[] retrieve(Criteria criteria) throws DataBackendException;
1.7 +23 -1 jakarta-turbine-2/src/java/org/apache/turbine/util/RunData.java
Index: RunData.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/util/RunData.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- RunData.java 19 Mar 2003 16:10:25 -0000 1.6
+++ RunData.java 11 Apr 2003 11:41:32 -0000 1.7
@@ -155,6 +155,7 @@
* Checks to see if the page is set.
*
* @return true if the page is set.
+ * @deprecated no replacement planned, ECS is no longer a requirement
*/
boolean isPageSet();
@@ -162,6 +163,7 @@
* Gets the page.
*
* @return a document.
+ * @deprecated no replacement planned, ECS is no longer a requirement
*/
Document getPage();
@@ -415,6 +417,7 @@
* Checks to see if out is set.
*
* @return true if out is set.
+ * @deprecated no replacement planned, response writer will not be cached
*/
boolean isOutSet();
@@ -424,6 +427,7 @@
*
* @return a print writer.
* @throws IOException
+ * @deprecated no replacement planned, response writer will not be cached
*/
PrintWriter getOut()
throws IOException;
@@ -651,6 +655,24 @@
* Gets a table of debug variables.
*
* @return a Map of debug variables.
+ * @deprecated use {@link #getDebugVariables} instead
*/
Map getVarDebug();
+
+ /**
+ * Sets a name/value pair in an internal Map that is accessible from the
+ * Error screen. This is a good way to get debugging information
+ * when an exception is thrown.
+ *
+ * @param name name of the variable
+ * @param value value of the variable.
+ */
+ void setDebugVariable(String name, Object value);
+
+ /**
+ * Gets a Map of debug variables.
+ *
+ * @return a Map of debug variables.
+ */
+ Map getDebugVariables();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org