Class RSSResource


  • @Path("/records/rss")
    public class RSSResource
    extends Object
    Author:
    florian
    • Constructor Detail

      • RSSResource

        public RSSResource()
    • Method Detail

      • getRssFeed

        @GET
        @Produces("text/xml")
        public String getRssFeed​(@QueryParam("subtheme")
                                 String subtheme,
                                 @QueryParam("lang")
                                 String language,
                                 @QueryParam("max")
                                 Integer maxHits,
                                 @QueryParam("query")
                                 String query,
                                 @QueryParam("facets")
                                 String facets,
                                 @QueryParam("facetQueryOperator")
                                 Integer facetQueryOperator,
                                 @QueryParam("sortField")
                                 String sortField,
                                 @QueryParam("sortDescending")
                                 Boolean sortDescending)
                          throws de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException
        Throws:
        de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException
      • getRssJsonFeed

        @GET
        @Path("/channel.json")
        @Produces("application/json")
        public Channel getRssJsonFeed​(@QueryParam("subtheme")
                                      String subtheme,
                                      @QueryParam("lang")
                                      String language,
                                      @QueryParam("max")
                                      Integer maxHits,
                                      @QueryParam("query")
                                      String query,
                                      @QueryParam("facets")
                                      String facets,
                                      @QueryParam("facetQueryOperator")
                                      Integer facetQueryOperator,
                                      @QueryParam("sortField")
                                      String sortField,
                                      @QueryParam("sortDescending")
                                      Boolean sortDescending)
                               throws de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException
        Throws:
        de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException