Interface Publication

All Superinterfaces:
Cloneable, Comparable<MediaPackageElement>, ManifestContributor, MediaPackageElement
All Known Implementing Classes:
PublicationImpl

public interface Publication extends MediaPackageElement
The presentation element describes where a media package can be consumed. An entry of this type id the result of a distribution to a distribution channel.
  • Method Details

    • getChannel

      String getChannel()
      Returns the channel id.
    • getTracks

      Track[] getTracks()
      Returns the tracks that are part of this publication.
      Returns:
      the tracks
    • addTrack

      void addTrack(Track track)
      Adds a track to this publication.
      Parameters:
      track - the track to add
    • clearTracks

      void clearTracks()
      Removes all tracks from this publication.
    • getAttachments

      Attachment[] getAttachments()
      Returns the attachments that are part of this publication.
      Returns:
      the attachments
    • addAttachment

      void addAttachment(Attachment attachment)
      Adds an attachment to this publication.
      Parameters:
      attachment - the attachment to add
    • removeAttachmentById

      void removeAttachmentById(String attachmentId)
    • getCatalogs

      Catalog[] getCatalogs()
      Returns the catalogs associated with this publication.
      Returns:
      the catalogs
    • addCatalog

      void addCatalog(Catalog catalog)
      Adds a catalog to this publication.
      Parameters:
      catalog - the catalog to add