org.apache.tuscany.sca.binding.feed.collection
Interface Collection

All Known Subinterfaces:
MediaCollection

public interface Collection

Provides access to a collection of resources using Atom.


Method Summary
 void delete(java.lang.String id)
          Delete an entry.
 Entry get(java.lang.String id)
          Retrieves an entry.
 com.sun.syndication.feed.atom.Feed getFeed()
          Get an RSS or Atom feed for a collection of resources.
 Entry post(Entry entry)
          Creates a new entry.
 void put(java.lang.String id, Entry entry)
          Update an entry.
 

Method Detail

getFeed

com.sun.syndication.feed.atom.Feed getFeed()
Get an RSS or Atom feed for a collection of resources.

Returns:
the RSS or Atom feed

post

Entry post(Entry entry)
Creates a new entry.

Parameters:
entry -
Returns:

get

Entry get(java.lang.String id)
          throws NotFoundException
Retrieves an entry.

Parameters:
id -
Returns:
Throws:
NotFoundException

put

void put(java.lang.String id,
         Entry entry)
         throws NotFoundException
Update an entry.

Parameters:
id -
entry -
Throws:
NotFoundException

delete

void delete(java.lang.String id)
            throws NotFoundException
Delete an entry.

Parameters:
id -
Throws:
NotFoundException