Class AbstractTieredStorageAssetManagerRestEndpoint

java.lang.Object
org.opencastproject.rest.AbstractJobProducerEndpoint
org.opencastproject.assetmanager.impl.endpoint.AbstractAssetManagerRestEndpoint
org.opencastproject.assetmanager.impl.endpoint.AbstractTieredStorageAssetManagerRestEndpoint
Direct Known Subclasses:
OsgiAssetManagerRestEndpoint

public abstract class AbstractTieredStorageAssetManagerRestEndpoint extends AbstractAssetManagerRestEndpoint
  • Field Details

  • Constructor Details

    • AbstractTieredStorageAssetManagerRestEndpoint

      public AbstractTieredStorageAssetManagerRestEndpoint()
  • Method Details

    • setJobProducer

      public void setJobProducer(AssetManagerJobProducer producer)
    • getService

      public org.opencastproject.job.api.JobProducer getService()
      Specified by:
      getService in class org.opencastproject.rest.AbstractJobProducerEndpoint
    • setServiceRegistry

      protected void setServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry)
      Callback from the OSGi declarative services to set the service registry.
      Parameters:
      serviceRegistry - the service registry
    • getServiceRegistry

      public org.opencastproject.serviceregistry.api.ServiceRegistry getServiceRegistry()
      Specified by:
      getServiceRegistry in class org.opencastproject.rest.AbstractJobProducerEndpoint
    • moveById

      @POST @Path("moveById") @Produces("text/xml") public javax.ws.rs.core.Response moveById(@FormParam("id") String id, @FormParam("target") String target)
    • moveByIdAndVersion

      @POST @Path("moveByIdAndVersion") @Produces("text/xml") public javax.ws.rs.core.Response moveByIdAndVersion(@FormParam("id") String id, @FormParam("version") String version, @FormParam("target") String target)
    • moveByDate

      @POST @Path("moveByDate") @Produces("text/xml") public javax.ws.rs.core.Response moveByDate(@FormParam("start") String startString, @FormParam("end") String endString, @FormParam("target") String target)
    • moveByIdAndDate

      @POST @Path("moveByIdAndDate") @Produces("text/xml") public javax.ws.rs.core.Response moveByIdAndDate(@FormParam("id") String id, @FormParam("start") String startString, @FormParam("end") String endString, @FormParam("target") String target)