org.apache.abdera.protocol.server
Interface MediaCollectionAdapter

All Superinterfaces:
CollectionAdapter
All Known Implementing Classes:
org.apache.abdera.protocol.server.impl.AbstractCollectionAdapter, org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter, AbstractMultipartCollectionAdapter, BasicAdapter, CouchDbAdapter, EmployeeCollectionAdapter, FilesystemAdapter, IBatisCollectionAdapter, JcrCollectionAdapter, ManagedCollectionAdapter, SimpleAdapter

public interface MediaCollectionAdapter
extends CollectionAdapter

Extends CollectionAdapter with methods specific to the handling of Atompub Media Link Entries


Method Summary
 ResponseContext deleteMedia(RequestContext request)
          Delete a media resource from the collection
 ResponseContext getMedia(RequestContext request)
          Get a media resource
 ResponseContext headMedia(RequestContext request)
          Get metdata for a media resource
 ResponseContext optionsMedia(RequestContext request)
          Get a media resource's options.
 ResponseContext postMedia(RequestContext request)
          Add a new media resource to the collection, resulting in the creation of a new Media Link Entry.
 ResponseContext putMedia(RequestContext request)
          Update a media resource
 
Methods inherited from interface org.apache.abdera.protocol.server.CollectionAdapter
deleteEntry, extensionRequest, getCategories, getEntry, getFeed, headEntry, optionsEntry, postEntry, putEntry
 

Method Detail

postMedia

ResponseContext postMedia(RequestContext request)
Add a new media resource to the collection, resulting in the creation of a new Media Link Entry.


deleteMedia

ResponseContext deleteMedia(RequestContext request)
Delete a media resource from the collection


getMedia

ResponseContext getMedia(RequestContext request)
Get a media resource


headMedia

ResponseContext headMedia(RequestContext request)
Get metdata for a media resource


optionsMedia

ResponseContext optionsMedia(RequestContext request)
Get a media resource's options.


putMedia

ResponseContext putMedia(RequestContext request)
Update a media resource



Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.