Package org.opencastproject.editor.api
Interface EditorService
- All Known Implementing Classes:
EditorServiceImpl,EditorServiceRemoteImpl
public interface EditorService
Api for the Editor Service
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetEditData(String mediaPackageId) Provide information to edit video and audio data relevant to the given mediaPackageIdgetMetadata(String mediaPackageId) Provide all meta information about the given mediaPackageIdvoidlockMediaPackage(String mediaPackageId, LockData lockData) Create or refresh lock for the mediapackagevoidsetEditData(String mediaPackageId, EditingData editingData) Store information about edited data relevant to the given mediaPackageIdvoidunlockMediaPackage(String mediaPackageId, LockData lockData) Remove lock for the mediapackage
-
Field Details
-
JOB_TYPE
- See Also:
-
TARGET_FILE_NAME
The default file name for generated Smil catalogs.- See Also:
-
-
Method Details
-
getEditData
Provide information to edit video and audio data relevant to the given mediaPackageId -
lockMediaPackage
Create or refresh lock for the mediapackage- Parameters:
mediaPackageId-lockData- identify the owner of the lock- Throws:
EditorServiceException- if invalid mediapackge or locked by other
-
unlockMediaPackage
Remove lock for the mediapackage- Parameters:
mediaPackageId-lockData- identify the owner of the lock- Throws:
EditorServiceException- if invalid mediapackge or locked by other
-
setEditData
void setEditData(String mediaPackageId, EditingData editingData) throws EditorServiceException, IOException Store information about edited data relevant to the given mediaPackageId- Parameters:
editingData-- Throws:
EditorServiceExceptionIOException
-
getMetadata
Provide all meta information about the given mediaPackageId- Throws:
EditorServiceException
-