wam 2002/07/04 08:18:57
Modified: src/share/org/apache/slide/search QueryScope.java
Log:
check, if resourcetype is collection
Revision Changes Path
1.6 +20 -4 jakarta-slide/src/share/org/apache/slide/search/QueryScope.java
Index: QueryScope.java
===================================================================
RCS file: /home/cvs/jakarta-slide/src/share/org/apache/slide/search/QueryScope.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- QueryScope.java 19 Jun 2002 11:00:13 -0000 1.5
+++ QueryScope.java 4 Jul 2002 15:18:57 -0000 1.6
@@ -99,4 +99,20 @@
*/
public int getDepth();
+ /**
+ * Returns true if the scope specifies a collection
+ *
+ * @return a boolean
+ *
+ */
+ public boolean isCollection ();
+
+ /**
+ * Method setIsCollection
+ *
+ * @param isCollection a boolean
+ *
+ */
+ public void setIsCollection (boolean isCollection);
+
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>