Author: xor
Date: 2008-10-27 21:55:28 +0000 (Mon, 27 Oct 2008)
New Revision: 23120

Added:
   trunk/plugins/FMSPlugin/WoT/
   trunk/plugins/FMSPlugin/WoT/FMSIdentityManagerWoT.java
   trunk/plugins/FMSPlugin/WoT/FMSIdentityWoT.java
   trunk/plugins/FMSPlugin/WoT/FMSMessageWoT.java
   trunk/plugins/FMSPlugin/WoT/FMSOwnIdentityWoT.java
Log:
Generate the implementation of the classes needed for using the WoT plugin.

Added: trunk/plugins/FMSPlugin/WoT/FMSIdentityManagerWoT.java
===================================================================
--- trunk/plugins/FMSPlugin/WoT/FMSIdentityManagerWoT.java                      
        (rev 0)
+++ trunk/plugins/FMSPlugin/WoT/FMSIdentityManagerWoT.java      2008-10-27 
21:55:28 UTC (rev 23120)
@@ -0,0 +1,133 @@
+/* This code is part of Freenet. It is distributed under the GNU General
+ * Public License, version 2 (or at your option any later version). See
+ * http://www.gnu.org/ for further details of the GPL. */
+package plugins.FMSPlugin.WoT;
+
+import java.util.Collection;
+import java.util.Iterator;
+
+import freenet.support.Executor;
+import plugins.FMSPlugin.FMSIdentity;
+import plugins.FMSPlugin.FMSIdentityManager;
+
+/**
+ * An identity manager which uses the identities from the WoT plugin.
+ * 
+ * @author xor
+ *
+ */
+public class FMSIdentityManagerWoT extends FMSIdentityManager {
+
+       /**
+        * @param executor
+        */
+       public FMSIdentityManagerWoT(Executor executor) {
+               super(executor);
+               // TODO Auto-generated constructor stub
+       }
+
+       /* (non-Javadoc)
+        * @see java.util.Set#add(java.lang.Object)
+        */
+       public boolean add(FMSIdentity e) {
+               // TODO Auto-generated method stub
+               return false;
+       }
+
+       /* (non-Javadoc)
+        * @see java.util.Set#addAll(java.util.Collection)
+        */
+       public boolean addAll(Collection<? extends FMSIdentity> c) {
+               // TODO Auto-generated method stub
+               return false;
+       }
+
+       /* (non-Javadoc)
+        * @see java.util.Set#clear()
+        */
+       public void clear() {
+               // TODO Auto-generated method stub
+
+       }
+
+       /* (non-Javadoc)
+        * @see java.util.Set#contains(java.lang.Object)
+        */
+       public boolean contains(Object o) {
+               // TODO Auto-generated method stub
+               return false;
+       }
+
+       /* (non-Javadoc)
+        * @see java.util.Set#containsAll(java.util.Collection)
+        */
+       public boolean containsAll(Collection<?> c) {
+               // TODO Auto-generated method stub
+               return false;
+       }
+
+       /* (non-Javadoc)
+        * @see java.util.Set#isEmpty()
+        */
+       public boolean isEmpty() {
+               // TODO Auto-generated method stub
+               return false;
+       }
+
+       /* (non-Javadoc)
+        * @see java.util.Set#iterator()
+        */
+       public Iterator<FMSIdentity> iterator() {
+               // TODO Auto-generated method stub
+               return null;
+       }
+
+       /* (non-Javadoc)
+        * @see java.util.Set#remove(java.lang.Object)
+        */
+       public boolean remove(Object o) {
+               // TODO Auto-generated method stub
+               return false;
+       }
+
+       /* (non-Javadoc)
+        * @see java.util.Set#removeAll(java.util.Collection)
+        */
+       public boolean removeAll(Collection<?> c) {
+               // TODO Auto-generated method stub
+               return false;
+       }
+
+       /* (non-Javadoc)
+        * @see java.util.Set#retainAll(java.util.Collection)
+        */
+       public boolean retainAll(Collection<?> c) {
+               // TODO Auto-generated method stub
+               return false;
+       }
+
+       /* (non-Javadoc)
+        * @see java.util.Set#size()
+        */
+       public int size() {
+               // TODO Auto-generated method stub
+               return 0;
+       }
+
+       /* (non-Javadoc)
+        * @see java.util.Set#toArray()
+        */
+       public Object[] toArray() {
+               // TODO Auto-generated method stub
+               return null;
+       }
+
+       /* (non-Javadoc)
+        * @see java.util.Set#toArray(T[])
+        */
+       public <T> T[] toArray(T[] a) {
+               // TODO Auto-generated method stub
+               return null;
+       }
+
+}

Added: trunk/plugins/FMSPlugin/WoT/FMSIdentityWoT.java
===================================================================
--- trunk/plugins/FMSPlugin/WoT/FMSIdentityWoT.java                             
(rev 0)
+++ trunk/plugins/FMSPlugin/WoT/FMSIdentityWoT.java     2008-10-27 21:55:28 UTC 
(rev 23120)
@@ -0,0 +1,24 @@
+/* This code is part of Freenet. It is distributed under the GNU General
+ * Public License, version 2 (or at your option any later version). See
+ * http://www.gnu.org/ for further details of the GPL. */
+package plugins.FMSPlugin.WoT;
+
+import freenet.keys.FreenetURI;
+import plugins.FMSPlugin.FMSIdentity;
+
+/**
+ * @author xor
+ *
+ */
+public class FMSIdentityWoT extends FMSIdentity {
+
+       /**
+        * @param newNickname
+        * @param newRequestURI
+        */
+       public FMSIdentityWoT(String newNickname, FreenetURI newRequestURI) {
+               super(newNickname, newRequestURI);
+               // TODO Auto-generated constructor stub
+       }
+
+}

Added: trunk/plugins/FMSPlugin/WoT/FMSMessageWoT.java
===================================================================
--- trunk/plugins/FMSPlugin/WoT/FMSMessageWoT.java                              
(rev 0)
+++ trunk/plugins/FMSPlugin/WoT/FMSMessageWoT.java      2008-10-27 21:55:28 UTC 
(rev 23120)
@@ -0,0 +1,48 @@
+/* This code is part of Freenet. It is distributed under the GNU General
+ * Public License, version 2 (or at your option any later version). See
+ * http://www.gnu.org/ for further details of the GPL. */
+package plugins.FMSPlugin.WoT;
+
+import java.util.Date;
+import java.util.List;
+
+import freenet.keys.FreenetURI;
+import plugins.FMSPlugin.FMSIdentity;
+import plugins.FMSPlugin.FMSMessage;
+
+/**
+ * @author xor
+ *
+ */
+public class FMSMessageWoT extends FMSMessage {
+
+       /**
+        * @param newURI
+        * @param newAuthor
+        * @param newTitle
+        * @param newDate
+        */
+       public FMSMessageWoT(FreenetURI newURI, FMSIdentity newAuthor, String 
newTitle, Date newDate) {
+               super(newURI, newAuthor, newTitle, newDate);
+               // TODO Auto-generated constructor stub
+       }
+
+       /* (non-Javadoc)
+        * @see plugins.FMSPlugin.FMSMessage#getAttachments()
+        */
+       @Override
+       public List<FreenetURI> getAttachments() {
+               // TODO Auto-generated method stub
+               return null;
+       }
+
+       /* (non-Javadoc)
+        * @see plugins.FMSPlugin.FMSMessage#getText()
+        */
+       @Override
+       public String getText() {
+               // TODO Auto-generated method stub
+               return null;
+       }
+
+}

Added: trunk/plugins/FMSPlugin/WoT/FMSOwnIdentityWoT.java
===================================================================
--- trunk/plugins/FMSPlugin/WoT/FMSOwnIdentityWoT.java                          
(rev 0)
+++ trunk/plugins/FMSPlugin/WoT/FMSOwnIdentityWoT.java  2008-10-27 21:55:28 UTC 
(rev 23120)
@@ -0,0 +1,46 @@
+/* This code is part of Freenet. It is distributed under the GNU General
+ * Public License, version 2 (or at your option any later version). See
+ * http://www.gnu.org/ for further details of the GPL. */
+package plugins.FMSPlugin.WoT;
+
+import java.util.Date;
+
+import freenet.keys.FreenetURI;
+import plugins.FMSPlugin.FMSOwnIdentity;
+
+/**
+ * @author xor
+ *
+ */
+public class FMSOwnIdentityWoT extends FMSOwnIdentity {
+
+       /**
+        * @param newNickname
+        * @param newRequestURI
+        * @param newInsertURI
+        * @param publishTrustList
+        */
+       public FMSOwnIdentityWoT(String newNickname, FreenetURI newRequestURI, 
FreenetURI newInsertURI, boolean publishTrustList) {
+               super(newNickname, newRequestURI, newInsertURI, 
publishTrustList);
+               // TODO Auto-generated constructor stub
+       }
+
+       /* (non-Javadoc)
+        * @see plugins.FMSPlugin.FMSOwnIdentity#getLastChange()
+        */
+       @Override
+       public Date getLastChange() {
+               // TODO Auto-generated method stub
+               return null;
+       }
+
+       /* (non-Javadoc)
+        * @see plugins.FMSPlugin.FMSOwnIdentity#getLastInsert()
+        */
+       @Override
+       public Date getLastInsert() {
+               // TODO Auto-generated method stub
+               return null;
+       }
+
+}


Reply via email to