org.overlord.sramp.server.atom.services
Class FeedResource

java.lang.Object
  extended by org.overlord.sramp.server.atom.services.AbstractResource
      extended by org.overlord.sramp.server.atom.services.AbstractFeedResource
          extended by org.overlord.sramp.server.atom.services.FeedResource

public class FeedResource
extends AbstractFeedResource

A jax-rs implementation that handles all s-ramp feeds. There are a number of feeds described by the s-ramp specification, including (but not limited to) the following:


Constructor Summary
FeedResource()
          Constructor.
 
Method Summary
 org.jboss.resteasy.plugins.providers.atom.Feed getArtifactFeed(javax.servlet.http.HttpServletRequest request, String model, Integer startPage, Integer startIndex, Integer count, String orderBy, Boolean asc, Set<String> propNames)
          Gets a feed of artifacts.
 org.jboss.resteasy.plugins.providers.atom.Feed getArtifactFeed(javax.servlet.http.HttpServletRequest request, String model, String type, Integer startPage, Integer startIndex, Integer count, String orderBy, Boolean asc, Set<String> propNames)
          Gets a feed of artifacts.
 
Methods inherited from class org.overlord.sramp.server.atom.services.AbstractFeedResource
createArtifactFeed
 
Methods inherited from class org.overlord.sramp.server.atom.services.AbstractResource
logError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeedResource

public FeedResource()
Constructor.

Method Detail

getArtifactFeed

public org.jboss.resteasy.plugins.providers.atom.Feed getArtifactFeed(@Context
                                                                      javax.servlet.http.HttpServletRequest request,
                                                                      String model,
                                                                      Integer startPage,
                                                                      Integer startIndex,
                                                                      Integer count,
                                                                      String orderBy,
                                                                      Boolean asc,
                                                                      Set<String> propNames)
                                                               throws Exception
Gets a feed of artifacts.

Parameters:
uri -
Throws:
Exception

getArtifactFeed

public org.jboss.resteasy.plugins.providers.atom.Feed getArtifactFeed(@Context
                                                                      javax.servlet.http.HttpServletRequest request,
                                                                      String model,
                                                                      String type,
                                                                      Integer startPage,
                                                                      Integer startIndex,
                                                                      Integer count,
                                                                      String orderBy,
                                                                      Boolean asc,
                                                                      Set<String> propNames)
                                                               throws Exception
Gets a feed of artifacts.

Parameters:
uri -
Throws:
Exception


Copyright © 2011-2013 JBoss, a division of Red Hat. All Rights Reserved.