summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/news/NewsService.java
diff options
context:
space:
mode:
Diffstat (limited to 'branches/sca-java-1.x/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/news/NewsService.java')
-rw-r--r--branches/sca-java-1.x/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/news/NewsService.java51
1 files changed, 1 insertions, 50 deletions
diff --git a/branches/sca-java-1.x/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/news/NewsService.java b/branches/sca-java-1.x/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/news/NewsService.java
index d5bc760f3f..c4fafc30bb 100644
--- a/branches/sca-java-1.x/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/news/NewsService.java
+++ b/branches/sca-java-1.x/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/news/NewsService.java
@@ -27,55 +27,6 @@ import org.apache.tuscany.sca.data.collection.NotFoundException;
import org.osoa.sca.annotations.Remotable;
@Remotable
-//@XmlSeeAlso(Headline.class)
-public interface NewsService /*extends Collection<String, Headline>*/{
+public interface NewsService extends Collection<String, Headline>{
- /**
- * Get the whole collection.
- *
- * @return the whole collection.
- */
- Entry<String, Headline>[] getAll();
-
- /**
- * Returns a collection resulting from a query.
- *
- * @return the collection.
- */
- Entry<String, Headline>[] query(String queryString);
-
- /**
- * Creates a new item.
- *
- * @param key
- * @param item
- * @return
- */
- String post(String key, Headline item);
-
- /**
- * Retrieves an item.
- *
- * @param key
- * @return
- */
- Headline get(String key) throws NotFoundException;
-
- /**
- * Updates an item.
- *
- * @param key
- * @param item
- * @return
- */
- void put(String key, Headline item) throws NotFoundException;
-
- /**
- * Delete an item.
- *
- * @param key
- */
- void delete(String key) throws NotFoundException;
-
-
}