Class LtiServiceImpl

java.lang.Object
org.opencastproject.lti.service.impl.LtiServiceImpl
All Implemented Interfaces:
org.opencastproject.lti.service.api.LtiService

public class LtiServiceImpl extends Object implements org.opencastproject.lti.service.api.LtiService
The LTI service implementation
  • Constructor Details

    • LtiServiceImpl

      public LtiServiceImpl()
  • Method Details

    • setAuthorizationService

      public void setAuthorizationService(org.opencastproject.security.api.AuthorizationService authorizationService)
      OSGi DI
    • setSeriesService

      public void setSeriesService(org.opencastproject.series.api.SeriesService seriesService)
      OSGI DI
    • setAssetManager

      public void setAssetManager(org.opencastproject.assetmanager.api.AssetManager assetManager)
      OSGi DI
    • setWorkflowService

      public void setWorkflowService(org.opencastproject.workflow.api.WorkflowService workflowService)
      OSGi DI
    • setWorkspace

      public void setWorkspace(org.opencastproject.workspace.api.Workspace workspace)
      OSGi DI
    • setSearchIndex

      public void setSearchIndex(org.opencastproject.elasticsearch.index.ElasticsearchIndex searchIndex)
      OSGi DI
    • setIndexService

      public void setIndexService(org.opencastproject.index.service.api.IndexService indexService)
      OSGi DI
    • setIngestService

      public void setIngestService(org.opencastproject.ingest.api.IngestService ingestService)
      OSGi DI
    • addCatalogUIAdapter

      public void addCatalogUIAdapter(org.opencastproject.metadata.dublincore.EventCatalogUIAdapter catalogUIAdapter)
      OSGi DI.
    • removeCatalogUIAdapter

      public void removeCatalogUIAdapter(org.opencastproject.metadata.dublincore.EventCatalogUIAdapter catalogUIAdapter)
      OSGi DI.
    • activate

      public void activate(org.osgi.service.component.ComponentContext cc)
    • modified

      public void modified(org.osgi.service.component.ComponentContext cc)
    • 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) throws org.opencastproject.security.api.UnauthorizedException, org.opencastproject.util.NotFoundException
      Specified by:
      upsertEvent in interface org.opencastproject.lti.service.api.LtiService
      Throws:
      org.opencastproject.security.api.UnauthorizedException
      org.opencastproject.util.NotFoundException
    • 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 id)
      Specified by:
      delete in interface org.opencastproject.lti.service.api.LtiService