Class EditorServiceImpl

java.lang.Object
org.opencastproject.editor.EditorServiceImpl
All Implemented Interfaces:
org.opencastproject.editor.api.EditorService

public class EditorServiceImpl extends Object implements org.opencastproject.editor.api.EditorService
  • Field Details

  • Constructor Details

    • EditorServiceImpl

      public EditorServiceImpl()
  • Method Details

    • setElasticsearchIndex

      public void setElasticsearchIndex(org.opencastproject.elasticsearch.index.ElasticsearchIndex elasticsearchIndex)
    • setIndexService

      public void setIndexService(org.opencastproject.index.service.api.IndexService index)
    • setAuthorizationService

      public void setAuthorizationService(org.opencastproject.security.api.AuthorizationService authorizationService)
    • getSmilCatalogFlavor

      public org.opencastproject.mediapackage.MediaPackageElementFlavor getSmilCatalogFlavor()
    • getSmilCatalogTags

      public Set<String> getSmilCatalogTags()
    • getPreviewVideoSubtype

      public String getPreviewVideoSubtype()
    • getSmilSilenceFlavor

      public org.opencastproject.mediapackage.MediaPackageElementFlavor getSmilSilenceFlavor()
    • getPreviewTag

      public String getPreviewTag()
    • activate

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

      protected List<org.opencastproject.editor.api.SegmentData> getDeletedSegments(org.opencastproject.mediapackage.MediaPackage mediaPackage, List<org.opencastproject.editor.api.SegmentData> segments)
    • mergeSegments

      protected List<org.opencastproject.editor.api.SegmentData> mergeSegments(List<org.opencastproject.editor.api.SegmentData> segments, List<org.opencastproject.editor.api.SegmentData> segments2)
    • lockMediaPackage

      public void lockMediaPackage(String mediaPackageId, org.opencastproject.editor.api.LockData lockRequest) throws org.opencastproject.editor.api.EditorServiceException
      Specified by:
      lockMediaPackage in interface org.opencastproject.editor.api.EditorService
      Throws:
      org.opencastproject.editor.api.EditorServiceException
    • unlockMediaPackage

      public void unlockMediaPackage(String mediaPackageId, org.opencastproject.editor.api.LockData lockRequest) throws org.opencastproject.editor.api.EditorServiceException
      Specified by:
      unlockMediaPackage in interface org.opencastproject.editor.api.EditorService
      Throws:
      org.opencastproject.editor.api.EditorServiceException
    • getEditData

      public org.opencastproject.editor.api.EditingData getEditData(String mediaPackageId) throws org.opencastproject.editor.api.EditorServiceException, org.opencastproject.security.api.UnauthorizedException
      Specified by:
      getEditData in interface org.opencastproject.editor.api.EditorService
      Throws:
      org.opencastproject.editor.api.EditorServiceException
      org.opencastproject.security.api.UnauthorizedException
    • setEditData

      public void setEditData(String mediaPackageId, org.opencastproject.editor.api.EditingData editingData) throws org.opencastproject.editor.api.EditorServiceException, IOException
      Specified by:
      setEditData in interface org.opencastproject.editor.api.EditorService
      Throws:
      org.opencastproject.editor.api.EditorServiceException
      IOException
    • getMetadata

      public String getMetadata(String mediaPackageId) throws org.opencastproject.editor.api.EditorServiceException
      Specified by:
      getMetadata in interface org.opencastproject.editor.api.EditorService
      Throws:
      org.opencastproject.editor.api.EditorServiceException