Class ListProvidersEndpoint

java.lang.Object
org.opencastproject.adminui.endpoint.ListProvidersEndpoint

@Path("/admin-ng/resources") public class ListProvidersEndpoint extends Object
  • Field Details

    • UNAUTHORIZED

      public static final javax.ws.rs.core.Response UNAUTHORIZED
    • NOT_FOUND

      public static final javax.ws.rs.core.Response NOT_FOUND
    • SERVER_ERROR

      public static final javax.ws.rs.core.Response SERVER_ERROR
    • NO_CONTENT

      public static final javax.ws.rs.core.Response NO_CONTENT
  • Constructor Details

    • ListProvidersEndpoint

      public ListProvidersEndpoint()
  • Method Details

    • activate

      protected void activate(org.osgi.framework.BundleContext bundleContext)
    • setListProvidersService

      public void setListProvidersService(org.opencastproject.list.api.ListProvidersService listProvidersService)
      OSGi callback for series services.
    • setSecurityService

      public void setSecurityService(org.opencastproject.security.api.SecurityService securitySerivce)
      OSGi callback for sercurity service.
    • setSeriesEndpoint

      public void setSeriesEndpoint(SeriesEndpoint seriesEndpoint)
      OSGi callback for series end point.
    • getList

      @GET @Path("{source}.json") @Produces("application/json") public javax.ws.rs.core.Response getList(@PathParam("source") String source, @QueryParam("limit") int limit, @QueryParam("filter") String filter, @QueryParam("offset") int offset, @Context javax.ws.rs.core.HttpHeaders headers)
    • getComponents

      @GET @Path("components.json") @Produces("application/json") public javax.ws.rs.core.Response getComponents(@Context javax.ws.rs.core.HttpHeaders headers)
    • getAvailablesProviders

      @GET @Path("providers.json") @Produces("application/json") public javax.ws.rs.core.Response getAvailablesProviders(@Context javax.ws.rs.core.HttpHeaders headers)
    • getFilters

      @GET @Path("{page}/filters.json") @Produces("application/json") public javax.ws.rs.core.Response getFilters(@PathParam("page") String page, @Context javax.ws.rs.core.HttpHeaders headers) throws org.opencastproject.list.api.ListProviderException
      Throws:
      org.opencastproject.list.api.ListProviderException