Interface AwsAssetDatabase
- All Known Implementing Classes:
AwsAssetDatabaseImpl
public interface AwsAssetDatabase
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteMapping(org.opencastproject.assetmanager.api.storage.StoragePath path) findAllByMediaPackage(String mpId) findMapping(org.opencastproject.assetmanager.api.storage.StoragePath path) findMappingsByKey(String objectKey) findMappingsByMediaPackageAndVersion(org.opencastproject.assetmanager.api.storage.StoragePath path) storeMapping(org.opencastproject.assetmanager.api.storage.StoragePath path, String objectKey, String objectVersion)
-
Method Details
-
storeMapping
AwsAssetMapping storeMapping(org.opencastproject.assetmanager.api.storage.StoragePath path, String objectKey, String objectVersion) throws AwsAssetDatabaseException - Throws:
AwsAssetDatabaseException
-
deleteMapping
void deleteMapping(org.opencastproject.assetmanager.api.storage.StoragePath path) throws AwsAssetDatabaseException - Throws:
AwsAssetDatabaseException
-
findMapping
AwsAssetMapping findMapping(org.opencastproject.assetmanager.api.storage.StoragePath path) throws AwsAssetDatabaseException - Throws:
AwsAssetDatabaseException
-
findMappingsByKey
- Throws:
AwsAssetDatabaseException
-
findMappingsByMediaPackageAndVersion
List<AwsAssetMapping> findMappingsByMediaPackageAndVersion(org.opencastproject.assetmanager.api.storage.StoragePath path) throws AwsAssetDatabaseException - Throws:
AwsAssetDatabaseException
-
findAllByMediaPackage
- Throws:
AwsAssetDatabaseException
-