logo       
Google Custom Search
    AddThis Social Bookmark Button

svn commit: r220197 - /lenya/trunk/src/java/org/apache/lenya/cms/repository: msg#00089

Subject: svn commit: r220197 - /lenya/trunk/src/java/org/apache/lenya/cms/repository/Node.java
Author: michi
Date: Thu Jul 21 15:54:42 2005
New Revision: 220197

URL: http://svn.apache.org/viewcvs?rev=220197&view=rev
Log:
traversable interfaces added

Modified:
    lenya/trunk/src/java/org/apache/lenya/cms/repository/Node.java

Modified: lenya/trunk/src/java/org/apache/lenya/cms/repository/Node.java
URL: 
http://svn.apache.org/viewcvs/lenya/trunk/src/java/org/apache/lenya/cms/repository/Node.java?rev=220197&r1=220196&r2=220197&view=diff
==============================================================================
--- lenya/trunk/src/java/org/apache/lenya/cms/repository/Node.java (original)
+++ lenya/trunk/src/java/org/apache/lenya/cms/repository/Node.java Thu Jul 21 
15:54:42 2005
@@ -18,6 +18,7 @@
 
 import java.io.InputStream;
 import java.io.OutputStream;
+import java.util.Collection;
 
 import org.apache.lenya.transaction.TransactionException;
 import org.apache.lenya.transaction.Transactionable;
@@ -44,6 +45,18 @@
      * @throws TransactionException if an error occurs.
      */
     boolean exists() throws TransactionException;
+
+    /**
+     * @return if the node is a collection.
+     * @throws TransactionException if an error occurs.
+     */
+    boolean isCollection() throws TransactionException;
+
+    /**
+     * @return children
+     * @throws TransactionException if an error occurs.
+     */
+    public Collection getChildren() throws TransactionException;
 
     /**
      * @return The input stream.



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>