Package org.opencastproject.editor
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface org.opencastproject.editor.api.EditorService
JOB_TYPE, TARGET_FILE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate(org.osgi.service.component.ComponentContext cc) protected List<org.opencastproject.editor.api.SegmentData> getDeletedSegments(org.opencastproject.mediapackage.MediaPackage mediaPackage, List<org.opencastproject.editor.api.SegmentData> segments) org.opencastproject.editor.api.EditingDatagetEditData(String mediaPackageId) getMetadata(String mediaPackageId) org.opencastproject.mediapackage.MediaPackageElementFlavororg.opencastproject.mediapackage.MediaPackageElementFlavorvoidlockMediaPackage(String mediaPackageId, org.opencastproject.editor.api.LockData lockRequest) protected List<org.opencastproject.editor.api.SegmentData> mergeSegments(List<org.opencastproject.editor.api.SegmentData> segments, List<org.opencastproject.editor.api.SegmentData> segments2) voidsetAuthorizationService(org.opencastproject.security.api.AuthorizationService authorizationService) voidsetEditData(String mediaPackageId, org.opencastproject.editor.api.EditingData editingData) voidsetElasticsearchIndex(org.opencastproject.elasticsearch.index.ElasticsearchIndex elasticsearchIndex) voidsetIndexService(org.opencastproject.index.service.api.IndexService index) voidunlockMediaPackage(String mediaPackageId, org.opencastproject.editor.api.LockData lockRequest)
-
Field Details
-
OPT_PREVIEW_SUBTYPE
- See Also:
-
OPT_PREVIEW_TAG
- See Also:
-
OPT_WAVEFORM_SUBTYPE
- See Also:
-
OPT_SMIL_CATALOG_FLAVOR
- See Also:
-
OPT_SMIL_CATALOG_TAGS
- See Also:
-
OPT_SMIL_SILENCE_FLAVOR
- See Also:
-
OPT_PREVIEW_VIDEO_SUBTYPE
- See Also:
-
OPT_CAPTIONS_FLAVOR
- See Also:
-
OPT_THUMBNAILSUBTYPE
- See Also:
-
OPT_THUMBNAIL_WF_PROPERTY
- See Also:
-
OPT_THUMBNAIL_PRIORITY_FLAVOR
- See Also:
-
OPT_LOCAL_PUBLICATION
- See Also:
-
OPT_LOCK_ENABLED
- See Also:
-
OPT_LOCK_TIMEOUT
- See Also:
-
OPT_LOCK_REFRESH
- See Also:
-
-
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
-
getPreviewVideoSubtype
-
getSmilSilenceFlavor
public org.opencastproject.mediapackage.MediaPackageElementFlavor getSmilSilenceFlavor() -
getPreviewTag
-
activate
public void activate(org.osgi.service.component.ComponentContext cc) -
getDeletedSegments
-
mergeSegments
-
lockMediaPackage
public void lockMediaPackage(String mediaPackageId, org.opencastproject.editor.api.LockData lockRequest) throws org.opencastproject.editor.api.EditorServiceException - Specified by:
lockMediaPackagein interfaceorg.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:
unlockMediaPackagein interfaceorg.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:
getEditDatain interfaceorg.opencastproject.editor.api.EditorService- Throws:
org.opencastproject.editor.api.EditorServiceExceptionorg.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:
setEditDatain interfaceorg.opencastproject.editor.api.EditorService- Throws:
org.opencastproject.editor.api.EditorServiceExceptionIOException
-
getMetadata
public String getMetadata(String mediaPackageId) throws org.opencastproject.editor.api.EditorServiceException - Specified by:
getMetadatain interfaceorg.opencastproject.editor.api.EditorService- Throws:
org.opencastproject.editor.api.EditorServiceException
-