Author: andre
Date: 2010-02-16 08:28:01 +0100 (Tue, 16 Feb 2010)
New Revision: 41064
Modified:
mmbase/trunk/core/src/main/java/org/mmbase/bridge/util/Queries.java
Log:
javadoc
Modified: mmbase/trunk/core/src/main/java/org/mmbase/bridge/util/Queries.java
===================================================================
--- mmbase/trunk/core/src/main/java/org/mmbase/bridge/util/Queries.java
2010-02-16 01:12:58 UTC (rev 41063)
+++ mmbase/trunk/core/src/main/java/org/mmbase/bridge/util/Queries.java
2010-02-16 07:28:01 UTC (rev 41064)
@@ -1468,9 +1468,13 @@
/**
- *
+ * Deletes the relations with a node from a queries resulting relations
list.
+ * If multiple relations to a node exist all get removed.
+ *
* @throws UnsupportedOperationException If it cannot be determined how
the node should be related.
- * @return Removed relations.
+ * @param q query from which resulting list the node should be removed from
+ * @param n node to remove
+ * @return Removed relation nodes
* @since MMBase-1.8.6
*/
public static NodeList removeFromResult(Query q, Node n) {
@@ -1486,6 +1490,8 @@
*
* @throws UnsupportedOperationException If it cannot be determined how
the node is related.
* @since MMBase-1.9.1
+ * @param q query that constructs the list
+ * @param n node to which relations are related
* @return The relation nodes
* @throws NullPointerException if q or n is <code>null</code>
*/
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs