Class LtiServiceRemoteImpl

java.lang.Object
org.opencastproject.serviceregistry.api.RemoteBase
org.opencastproject.lti.endpoint.LtiServiceRemoteImpl
All Implemented Interfaces:
org.opencastproject.lti.service.api.LtiService

public class LtiServiceRemoteImpl extends org.opencastproject.serviceregistry.api.RemoteBase implements org.opencastproject.lti.service.api.LtiService
The service calling the LTI REST endpoint (for multi-node setups with LTI)
  • Constructor Details

    • LtiServiceRemoteImpl

      public LtiServiceRemoteImpl()
  • Method Details

    • listJobs

      public List<org.opencastproject.lti.service.api.LtiJob> listJobs(String seriesId)
      Specified by:
      listJobs in interface org.opencastproject.lti.service.api.LtiService
    • upsertEvent

      public void upsertEvent(org.opencastproject.lti.service.api.LtiFileUpload file, String captions, String captionFormat, String captionLanguage, String eventId, String seriesId, String metadataJson)
      Specified by:
      upsertEvent in interface org.opencastproject.lti.service.api.LtiService
    • copyEventToSeries

      public void copyEventToSeries(String eventId, String seriesId)
      Specified by:
      copyEventToSeries in interface org.opencastproject.lti.service.api.LtiService
    • getEventMetadata

      public String getEventMetadata(String eventId) throws org.opencastproject.util.NotFoundException, org.opencastproject.security.api.UnauthorizedException
      Specified by:
      getEventMetadata in interface org.opencastproject.lti.service.api.LtiService
      Throws:
      org.opencastproject.util.NotFoundException
      org.opencastproject.security.api.UnauthorizedException
    • getNewEventMetadata

      public String getNewEventMetadata()
      Specified by:
      getNewEventMetadata in interface org.opencastproject.lti.service.api.LtiService
    • setEventMetadataJson

      public void setEventMetadataJson(String eventId, String metadataJson) throws org.opencastproject.util.NotFoundException, org.opencastproject.security.api.UnauthorizedException
      Specified by:
      setEventMetadataJson in interface org.opencastproject.lti.service.api.LtiService
      Throws:
      org.opencastproject.util.NotFoundException
      org.opencastproject.security.api.UnauthorizedException
    • delete

      public void delete(String eventId)
      Specified by:
      delete in interface org.opencastproject.lti.service.api.LtiService
    • setTrustedHttpClient

      public void setTrustedHttpClient(org.opencastproject.security.api.TrustedHttpClient trustedHttpClient)
      Overrides:
      setTrustedHttpClient in class org.opencastproject.serviceregistry.api.RemoteBase
    • setRemoteServiceManager

      public void setRemoteServiceManager(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry)
      Overrides:
      setRemoteServiceManager in class org.opencastproject.serviceregistry.api.RemoteBase