Class SnapshotImpl
java.lang.Object
org.opencastproject.assetmanager.impl.SnapshotImpl
- All Implemented Interfaces:
Snapshot
-
Constructor Summary
ConstructorsConstructorDescriptionSnapshotImpl(Long id, Version version, String organizationId, Date archivalDate, Availability availability, String storageId, String owner, MediaPackage mediaPackage) SnapshotImpl(Version version, String organizationId, Date archivalDate, Availability availability, String storageId, String owner, MediaPackage mediaPackage) -
Method Summary
Modifier and TypeMethodDescriptionTell about when this version of the episode has been stored in the AssetManager.Get the availability of the media package's assets.Get the media package.Get the ID of the organization where this media package belongs to.getOwner()Get the owner of the snapshot.Get the store ID of the asset store where this snapshot currently livesGet the version.
-
Constructor Details
-
SnapshotImpl
public SnapshotImpl(Version version, String organizationId, Date archivalDate, Availability availability, String storageId, String owner, MediaPackage mediaPackage) -
SnapshotImpl
public SnapshotImpl(Long id, Version version, String organizationId, Date archivalDate, Availability availability, String storageId, String owner, MediaPackage mediaPackage)
-
-
Method Details
-
getVersion
Description copied from interface:SnapshotGet the version.- Specified by:
getVersionin interfaceSnapshot
-
getOrganizationId
Description copied from interface:SnapshotGet the ID of the organization where this media package belongs to.- Specified by:
getOrganizationIdin interfaceSnapshot
-
getArchivalDate
Description copied from interface:SnapshotTell about when this version of the episode has been stored in the AssetManager.- Specified by:
getArchivalDatein interfaceSnapshot
-
getAvailability
Description copied from interface:SnapshotGet the availability of the media package's assets.- Specified by:
getAvailabilityin interfaceSnapshot
-
getMediaPackage
Description copied from interface:SnapshotGet the media package.Implementations are required to provide media package element URIs that point to some valid HTTP endpoint.
- Specified by:
getMediaPackagein interfaceSnapshot
-
getOwner
Description copied from interface:SnapshotGet the owner of the snapshot. -
getStorageId
Description copied from interface:SnapshotGet the store ID of the asset store where this snapshot currently lives- Specified by:
getStorageIdin interfaceSnapshot
-