[Yanel-commits] rev 21971 - public/yanel/trunk/src/resources/file/src/java/org/wyona/yanel/impl/resources

michi at wyona.com michi at wyona.com
Sun Jan 21 21:57:42 CET 2007


Author: michi
Date: 2007-01-21 21:57:40 +0100 (Sun, 21 Jan 2007)
New Revision: 21971

Modified:
   public/yanel/trunk/src/resources/file/src/java/org/wyona/yanel/impl/resources/NodeResource.java
Log:
creatable interface started

Modified: public/yanel/trunk/src/resources/file/src/java/org/wyona/yanel/impl/resources/NodeResource.java
===================================================================
--- public/yanel/trunk/src/resources/file/src/java/org/wyona/yanel/impl/resources/NodeResource.java	2007-01-21 13:15:33 UTC (rev 21970)
+++ public/yanel/trunk/src/resources/file/src/java/org/wyona/yanel/impl/resources/NodeResource.java	2007-01-21 20:57:40 UTC (rev 21971)
@@ -19,6 +19,7 @@
 import org.wyona.yanel.core.Path;
 import org.wyona.yanel.core.Resource;
 import org.wyona.yanel.core.Topic;
+import org.wyona.yanel.core.api.attributes.CreatableV2;
 import org.wyona.yanel.core.api.attributes.ModifiableV2;
 import org.wyona.yanel.core.api.attributes.VersionableV2;
 import org.wyona.yanel.core.api.attributes.ViewableV2;
@@ -42,6 +43,7 @@
  * Generic Node Resource
  */
 public class NodeResource extends Resource implements ViewableV2, ModifiableV2, VersionableV2 {
+//public class NodeResource extends Resource implements ViewableV2, ModifiableV2, VersionableV2, CreatableV2 {
 
     private static Category log = Category.getInstance(NodeResource.class);
 
@@ -191,7 +193,53 @@
     /**
      * 
      */
-     public long getSize() throws Exception {
+    public long getSize() throws Exception {
          return getRealm().getRepository().getSize(getPath());
-     }    
+    }
+
+    /**
+     *
+     */
+    public Object getProperty(String name) {
+        log.warn("No implemented yet!");
+        return null;
+    }
+
+    /**
+     *
+     */
+    public String[] getPropertyNames() {
+        log.warn("No implemented yet!");
+        return null;
+    }
+
+    /**
+     *
+     */
+    public void setProperty(String name, Object value) {
+        log.warn("No implemented yet!");
+    }
+
+    /**
+     *
+     */
+    public void create(HttpServletRequest request) {
+        log.warn("No implemented yet!");
+    }
+
+    /**
+     *
+     */
+    public java.util.HashMap createRTIProperties(HttpServletRequest request) {
+        log.warn("No implemented yet!");
+        return null;
+    }
+
+    /**
+     *
+     */
+    public String getPropertyType(String name) {
+        log.warn("No implemented yet!");
+        return null;
+    }
 }




More information about the Yanel-commits mailing list