Interface TranscriptionDatabase
- All Known Implementing Classes:
TranscriptionDatabaseImpl
public interface TranscriptionDatabase
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteJobControl(String jobId) findByMediaPackage(String mpId) findByMediaPackageTrackAndStatus(String mpId, String trackId, String... status) findByStatus(String... status) findIdByProvider(String provider) findProviderById(Long id) storeJobControl(String mpId, String trackId, String jobId, String jobStatus, long trackDuration, Date dateExpected, String provider) storeProviderControl(String provider) voidupdateJobControl(String jobId, String jobStatus)
-
Method Details
-
storeJobControl
TranscriptionJobControl storeJobControl(String mpId, String trackId, String jobId, String jobStatus, long trackDuration, Date dateExpected, String provider) throws TranscriptionDatabaseException - Throws:
TranscriptionDatabaseException
-
storeProviderControl
TranscriptionProviderControl storeProviderControl(String provider) throws TranscriptionDatabaseException - Throws:
TranscriptionDatabaseException
-
deleteJobControl
- Throws:
TranscriptionDatabaseException
-
updateJobControl
- Throws:
TranscriptionDatabaseException
-
findByJob
- Throws:
TranscriptionDatabaseException
-
findByMediaPackage
- Throws:
TranscriptionDatabaseException
-
findByStatus
- Throws:
TranscriptionDatabaseException
-
findByMediaPackageTrackAndStatus
List<TranscriptionJobControl> findByMediaPackageTrackAndStatus(String mpId, String trackId, String... status) throws TranscriptionDatabaseException - Throws:
TranscriptionDatabaseException
-
findIdByProvider
TranscriptionProviderControl findIdByProvider(String provider) throws TranscriptionDatabaseException - Throws:
TranscriptionDatabaseException
-
findProviderById
- Throws:
TranscriptionDatabaseException
-