[Yanel-commits] rev 26963 - in
public/yanel/contributions/realms/foaf/src/resources/findfriend:
. src/build src/java/org/wyona/yanel/impl/resources/findfriend
michi at wyona.com
michi at wyona.com
Sun Aug 26 22:56:27 CEST 2007
Author: michi
Date: 2007-08-26 22:56:26 +0200 (Sun, 26 Aug 2007)
New Revision: 26963
Modified:
public/yanel/contributions/realms/foaf/src/resources/findfriend/
public/yanel/contributions/realms/foaf/src/resources/findfriend/src/build/dependencies.xml
public/yanel/contributions/realms/foaf/src/resources/findfriend/src/java/org/wyona/yanel/impl/resources/findfriend/FindFriendResource.java
Log:
meguni added and view started
Property changes on: public/yanel/contributions/realms/foaf/src/resources/findfriend
___________________________________________________________________
Name: svn:ignore
+ build
Modified: public/yanel/contributions/realms/foaf/src/resources/findfriend/src/build/dependencies.xml
===================================================================
--- public/yanel/contributions/realms/foaf/src/resources/findfriend/src/build/dependencies.xml 2007-08-26 20:46:08 UTC (rev 26962)
+++ public/yanel/contributions/realms/foaf/src/resources/findfriend/src/build/dependencies.xml 2007-08-26 20:56:26 UTC (rev 26963)
@@ -9,11 +9,12 @@
<remoteRepository refid="wyona.remote.repository"/>
<dependency groupId="wyona-org-yanel" artifactId="yanel-core"
version="${yanel.source.version}"/>
+ <dependency groupId="wyona-org-meguni" artifactId="wyona-org-meguni" version="0.1-rREVISION"/>
</artifact:dependencies>
<artifact:dependencies pathId="maven2.resource.classpath" filesetId="maven2.resource.fileset">
<remoteRepository refid="wyona.remote.repository"/>
- <!-- No resource specific libs yet -->
+ <dependency groupId="wyona-org-meguni" artifactId="wyona-org-meguni" version="0.1-rREVISION"/>
</artifact:dependencies>
<property name="maven2.cp" refid="maven2.classpath"/>
Modified: public/yanel/contributions/realms/foaf/src/resources/findfriend/src/java/org/wyona/yanel/impl/resources/findfriend/FindFriendResource.java
===================================================================
--- public/yanel/contributions/realms/foaf/src/resources/findfriend/src/java/org/wyona/yanel/impl/resources/findfriend/FindFriendResource.java 2007-08-26 20:46:08 UTC (rev 26962)
+++ public/yanel/contributions/realms/foaf/src/resources/findfriend/src/java/org/wyona/yanel/impl/resources/findfriend/FindFriendResource.java 2007-08-26 20:56:26 UTC (rev 26963)
@@ -5,15 +5,53 @@
package org.wyona.yanel.impl.resources.findfriend;
import org.wyona.yanel.core.Resource;
+import org.wyona.yanel.core.api.attributes.ViewableV2;
+import org.wyona.yanel.core.attributes.viewable.View;
+import org.wyona.yanel.core.attributes.viewable.ViewDescriptor;
/**
*
*/
-public class FindFriendResource extends Resource {
+public class FindFriendResource extends Resource implements ViewableV2 {
/**
*
*/
public FindFriendResource() {
}
+
+ /**
+ *
+ */
+ public boolean exists() {
+ return true;
+ }
+
+ /**
+ *
+ */
+ public String getMimeType(String viewId) {
+ return "application/xml";
+ }
+
+ /**
+ *
+ */
+ public long getSize() {
+ return -1;
+ }
+
+ /**
+ *
+ */
+ public View getView(String viewId) {
+ return null;
+ }
+
+ /**
+ *
+ */
+ public ViewDescriptor[] getViewDescriptors() {
+ return null;
+ }
}
More information about the Yanel-commits
mailing list