Class SnapshotImpl

java.lang.Object
org.opencastproject.assetmanager.impl.SnapshotImpl
All Implemented Interfaces:
Snapshot

public class SnapshotImpl extends Object implements Snapshot
  • Constructor Details

  • Method Details

    • getVersion

      public Version getVersion()
      Description copied from interface: Snapshot
      Get the version.
      Specified by:
      getVersion in interface Snapshot
    • getOrganizationId

      public String getOrganizationId()
      Description copied from interface: Snapshot
      Get the ID of the organization where this media package belongs to.
      Specified by:
      getOrganizationId in interface Snapshot
    • getArchivalDate

      public Date getArchivalDate()
      Description copied from interface: Snapshot
      Tell about when this version of the episode has been stored in the AssetManager.
      Specified by:
      getArchivalDate in interface Snapshot
    • getAvailability

      public Availability getAvailability()
      Description copied from interface: Snapshot
      Get the availability of the media package's assets.
      Specified by:
      getAvailability in interface Snapshot
    • getMediaPackage

      public MediaPackage getMediaPackage()
      Description copied from interface: Snapshot
      Get the media package.

      Implementations are required to provide media package element URIs that point to some valid HTTP endpoint.

      Specified by:
      getMediaPackage in interface Snapshot
    • getOwner

      public String getOwner()
      Description copied from interface: Snapshot
      Get the owner of the snapshot.
      Specified by:
      getOwner in interface Snapshot
    • getStorageId

      public String getStorageId()
      Description copied from interface: Snapshot
      Get the store ID of the asset store where this snapshot currently lives
      Specified by:
      getStorageId in interface Snapshot