public interface Publication extends MediaPackageElement
MediaPackageElement.Type| Modifier and Type | Method and Description |
|---|---|
void |
addAttachment(Attachment attachment)
Adds an attachment to this publication.
|
void |
addCatalog(Catalog catalog)
Adds a catalog to this publication.
|
void |
addTrack(Track track)
Adds a track to this publication.
|
void |
clearTracks()
Removes all tracks from this publication.
|
Attachment[] |
getAttachments()
Returns the attachments that are part of this publication.
|
Catalog[] |
getCatalogs()
Returns the catalogs associated with this publication.
|
String |
getChannel()
Returns the channel id.
|
Track[] |
getTracks()
Returns the tracks that are part of this publication.
|
void |
removeAttachmentById(String attachmentId) |
addTag, clearReference, clearTags, clone, containsTag, containsTag, getChecksum, getElementDescription, getElementType, getFlavor, getIdentifier, getMediaPackage, getMimeType, getReference, getSize, getTags, getURI, referTo, referTo, referTo, removeTag, setChecksum, setElementDescription, setFlavor, setIdentifier, setMimeType, setReference, setSize, setURI, verifytoManifestcompareToString getChannel()
Track[] getTracks()
void addTrack(Track track)
track - the track to addvoid clearTracks()
Attachment[] getAttachments()
void addAttachment(Attachment attachment)
attachment - the attachment to addvoid removeAttachmentById(String attachmentId)
Catalog[] getCatalogs()
void addCatalog(Catalog catalog)
catalog - the catalog to addCopyright © 2009–2020 Opencast Project. All rights reserved.