Uses of Interface
org.opencastproject.mediapackage.MediaPackageElement
Packages that use MediaPackageElement
Package
Description
This package and all of its sub-packages contain the default implementation of the asset manager API
as defined in
org.opencastproject.assetmanager.api.The Distribution service API provides the contract for distributing media, metadata, and attachments to various
distribution channels (iTunes, youTube, streaming servers, learning management systems, etc).
Distribution service implementation classes
Service implementation classes
Utility classes for dealing with media packages, collections, URLs, files, and streams.
Workflow service.
-
Uses of MediaPackageElement in org.opencastproject.assetmanager.impl
Methods in org.opencastproject.assetmanager.impl that return types with arguments of type MediaPackageElementModifier and TypeMethodDescriptioncom.entwinemedia.fn.Stream<MediaPackageElement> PartialMediaPackage.getElements()com.entwinemedia.fn.Pred<MediaPackageElement> PartialMediaPackage.getPredicate()Methods in org.opencastproject.assetmanager.impl with parameters of type MediaPackageElementModifier and TypeMethodDescriptionAssetManagerImpl.getFileNameFromUrn(MediaPackageElement mpe) Extract the file name from a media package elements URN.Method parameters in org.opencastproject.assetmanager.impl with type arguments of type MediaPackageElementModifier and TypeMethodDescriptionstatic PartialMediaPackagePartialMediaPackage.mk(MediaPackage mp, com.entwinemedia.fn.Pred<MediaPackageElement> filter) static SnapshotAssetManagerImpl.rewriteUris(Snapshot snapshot, com.entwinemedia.fn.Fn<MediaPackageElement, URI> uriCreator) Rewrite URIs of all asset elements of a snapshot's media package.Constructor parameters in org.opencastproject.assetmanager.impl with type arguments of type MediaPackageElementModifierConstructorDescriptionPartialMediaPackage(MediaPackage mediaPackage, com.entwinemedia.fn.Pred<MediaPackageElement> filter) -
Uses of MediaPackageElement in org.opencastproject.caption.api
Methods in org.opencastproject.caption.api with parameters of type MediaPackageElementModifier and TypeMethodDescriptionCaptionService.convert(MediaPackageElement input, String inputFormat, String outputFormat) Converts captions from one format to another.CaptionService.convert(MediaPackageElement input, String inputFormat, String outputFormat, String language) Converts captions from one format to another.String[]CaptionService.getLanguageList(MediaPackageElement input, String format) Returns list of languages available in captions (if such information is stored). -
Uses of MediaPackageElement in org.opencastproject.caption.impl
Methods in org.opencastproject.caption.impl that return MediaPackageElementModifier and TypeMethodDescriptionprotected MediaPackageElementCaptionServiceImpl.convert(Job job, MediaPackageElement input, String inputFormat, String outputFormat, String language) Converts the captions and returns them in a new catalog.Methods in org.opencastproject.caption.impl with parameters of type MediaPackageElementModifier and TypeMethodDescriptionprotected MediaPackageElementCaptionServiceImpl.convert(Job job, MediaPackageElement input, String inputFormat, String outputFormat, String language) Converts the captions and returns them in a new catalog.CaptionServiceImpl.convert(MediaPackageElement input, String inputFormat, String outputFormat) Converts captions from one format to another.CaptionServiceImpl.convert(MediaPackageElement input, String inputFormat, String outputFormat, String language) Converts captions from one format to another.String[]CaptionServiceImpl.getLanguageList(MediaPackageElement input, String format) Returns list of languages available in captions (if such information is stored). -
Uses of MediaPackageElement in org.opencastproject.caption.remote
Methods in org.opencastproject.caption.remote with parameters of type MediaPackageElementModifier and TypeMethodDescriptionCaptionServiceRemoteImpl.convert(MediaPackageElement input, String inputFormat, String outputFormat) CaptionServiceRemoteImpl.convert(MediaPackageElement input, String inputFormat, String outputFormat, String language) String[]CaptionServiceRemoteImpl.getLanguageList(MediaPackageElement input, String format) -
Uses of MediaPackageElement in org.opencastproject.composer.api
Classes in org.opencastproject.composer.api with type parameters of type MediaPackageElementModifier and TypeClassDescriptionclassLaidOutElement<A extends MediaPackageElement>A media package element with layout information. -
Uses of MediaPackageElement in org.opencastproject.distribution.api
Methods in org.opencastproject.distribution.api that return types with arguments of type MediaPackageElementModifier and TypeMethodDescriptionDistributionService.distributeSync(String channelId, MediaPackage mediapackage, String elementId) Distributes a media package element synchronously, bypassing the Opencast job system.DownloadDistributionService.distributeSync(String channelId, MediaPackage mediapackage, Set<String> elementIds, boolean checkAvailability) Distributes the given elements synchronously.StreamingDistributionService.distributeSync(String channelId, MediaPackage mediapackage, Set<String> elementIds) Distributes the given elements synchronously.DistributionService.retractSync(String channelId, MediaPackage mediaPackage, String elementId) Retract a media package element from the distribution channel synchronously, bypassing the Opencast job system.DownloadDistributionService.retractSync(String channelId, MediaPackage mediaPackage, Set<String> elementIds) Retracts the given elements synchronously.StreamingDistributionService.retractSync(String channelId, MediaPackage mediaPackage, Set<String> elementIds) Retracts the given elements synchronously. -
Uses of MediaPackageElement in org.opencastproject.distribution.aws.s3
Methods in org.opencastproject.distribution.aws.s3 that return MediaPackageElementModifier and TypeMethodDescriptionAwsS3DistributionServiceImpl.distributeElement(String channelId, MediaPackage mediaPackage, MediaPackageElement element, boolean checkAvailability) Distribute a media package element to AWS S3.AwsS3DistributionServiceImpl.distributeElements(String channelId, MediaPackage mediapackage, Set<String> elementIds, boolean checkAvailability) Distribute Mediapackage elements to the download distribution service.protected MediaPackageElementAwsS3DistributionServiceImpl.retractElement(String channelId, MediaPackage mediaPackage, MediaPackageElement element) Retracts the media package element with the given identifier from the distribution channel.protected MediaPackageElement[]AwsS3DistributionServiceImpl.retractElements(String channelId, MediaPackage mediapackage, Set<String> elementIds) Retract a media package element from the distribution channel.Methods in org.opencastproject.distribution.aws.s3 that return types with arguments of type MediaPackageElementModifier and TypeMethodDescriptionAwsS3DistributionServiceImpl.distributeSync(String channelId, MediaPackage mediapackage, String elementId) AwsS3DistributionServiceImpl.distributeSync(String channelId, MediaPackage mediapackage, Set<String> elementIds, boolean checkAvailability) AwsS3DistributionServiceImpl.retractSync(String channelId, MediaPackage mediapackage, String elementId) AwsS3DistributionServiceImpl.retractSync(String channelId, MediaPackage mediaPackage, Set<String> elementIds) Methods in org.opencastproject.distribution.aws.s3 with parameters of type MediaPackageElementModifier and TypeMethodDescriptionprotected StringAwsS3DistributionServiceImpl.buildObjectName(String channelId, String mpId, MediaPackageElement element) Builds the aws s3 object name.AwsS3DistributionServiceImpl.distributeElement(String channelId, MediaPackage mediaPackage, MediaPackageElement element, boolean checkAvailability) Distribute a media package element to AWS S3.protected StringAwsS3DistributionServiceImpl.getDistributedObjectName(MediaPackageElement element) Gets the distributed object's name.protected MediaPackageElementAwsS3DistributionServiceImpl.retractElement(String channelId, MediaPackage mediaPackage, MediaPackageElement element) Retracts the media package element with the given identifier from the distribution channel. -
Uses of MediaPackageElement in org.opencastproject.distribution.aws.s3.remote
Methods in org.opencastproject.distribution.aws.s3.remote that return types with arguments of type MediaPackageElementModifier and TypeMethodDescriptionAwsS3DistributionServiceRemoteImpl.distributeSync(String channelId, MediaPackage mediaPackage, String elementId) AwsS3DistributionServiceRemoteImpl.distributeSync(String channelId, MediaPackage mediapackage, Set<String> elementIds, boolean checkAvailability) AwsS3DistributionServiceRemoteImpl.retractSync(String channelId, MediaPackage mediaPackage, String elementId) AwsS3DistributionServiceRemoteImpl.retractSync(String channelId, MediaPackage mediaPackage, Set<String> elementIds) -
Uses of MediaPackageElement in org.opencastproject.distribution.download
Methods in org.opencastproject.distribution.download that return MediaPackageElementModifier and TypeMethodDescriptionDownloadDistributionServiceImpl.distributeElement(String channelId, MediaPackage mediapackage, MediaPackageElement element, boolean checkAvailability, boolean preserveReference) Distribute a Mediapackage element to the download distribution service.DownloadDistributionServiceImpl.distributeElements(String channelId, MediaPackage mediapackage, Set<String> elementIds, boolean checkAvailability) Distribute Mediapackage elements to the download distribution service.DownloadDistributionServiceImpl.distributeElements(String channelId, MediaPackage mediapackage, Set<String> elementIds, boolean checkAvailability, boolean preserveReference) Distribute Mediapackage elements to the download distribution service.protected MediaPackageElementDownloadDistributionServiceImpl.retractElement(String channelId, MediaPackage mediapackage, MediaPackageElement element) Retract a media package element from the distribution channel.protected MediaPackageElement[]DownloadDistributionServiceImpl.retractElements(String channelId, MediaPackage mediapackage, Set<String> elementIds) Retract a media package element from the distribution channel.Methods in org.opencastproject.distribution.download that return types with arguments of type MediaPackageElementModifier and TypeMethodDescriptionDownloadDistributionServiceImpl.distributeSync(String channelId, MediaPackage mediapackage, String elementId) DownloadDistributionServiceImpl.distributeSync(String channelId, MediaPackage mediapackage, Set<String> elementIds, boolean checkAvailability) DownloadDistributionServiceImpl.distributeSync(String channelId, MediaPackage mediapackage, Set<String> elementIds, boolean checkAvailability, boolean preserveReference) DownloadDistributionServiceImpl.retractSync(String channelId, MediaPackage mediapackage, String elementId) DownloadDistributionServiceImpl.retractSync(String channelId, MediaPackage mediapackage, Set<String> elementIds) Methods in org.opencastproject.distribution.download with parameters of type MediaPackageElementModifier and TypeMethodDescriptionDownloadDistributionServiceImpl.distributeElement(String channelId, MediaPackage mediapackage, MediaPackageElement element, boolean checkAvailability, boolean preserveReference) Distribute a Mediapackage element to the download distribution service.protected FileDownloadDistributionServiceImpl.getDistributionFile(String channelId, MediaPackage mp, MediaPackageElement element) Gets the destination file to copy the contents of a mediapackage element.protected URIDownloadDistributionServiceImpl.getDistributionUri(String channelId, String mediaPackageId, MediaPackageElement element) Gets the URI for the element to be distributed.protected MediaPackageElementDownloadDistributionServiceImpl.retractElement(String channelId, MediaPackage mediapackage, MediaPackageElement element) Retract a media package element from the distribution channel. -
Uses of MediaPackageElement in org.opencastproject.distribution.download.remote
Methods in org.opencastproject.distribution.download.remote that return types with arguments of type MediaPackageElementModifier and TypeMethodDescriptionDownloadDistributionServiceRemoteImpl.distributeSync(String channelId, MediaPackage mediapackage, String elementId) DownloadDistributionServiceRemoteImpl.distributeSync(String channelId, MediaPackage mediapackage, Set<String> elementIds, boolean checkAvailability) DownloadDistributionServiceRemoteImpl.retractSync(String channelId, MediaPackage mediaPackage, String elementId) DownloadDistributionServiceRemoteImpl.retractSync(String channelId, MediaPackage mediaPackage, Set<String> elementIds) -
Uses of MediaPackageElement in org.opencastproject.distribution.streaming.remote
Methods in org.opencastproject.distribution.streaming.remote that return types with arguments of type MediaPackageElementModifier and TypeMethodDescriptionStreamingDistributionServiceRemoteImpl.distributeSync(String channelId, MediaPackage mediaPackage, String elementId) StreamingDistributionServiceRemoteImpl.distributeSync(String channelId, MediaPackage mediapackage, Set<String> elementIds) StreamingDistributionServiceRemoteImpl.retractSync(String channelId, MediaPackage mediaPackage, String elementId) StreamingDistributionServiceRemoteImpl.retractSync(String channelId, MediaPackage mediaPackage, Set<String> elementIds) -
Uses of MediaPackageElement in org.opencastproject.distribution.streaming.wowza
Methods in org.opencastproject.distribution.streaming.wowza that return types with arguments of type MediaPackageElementModifier and TypeMethodDescriptionWowzaStreamingDistributionService.distributeSync(String channelId, MediaPackage mediaPackage, String elementId) WowzaStreamingDistributionService.distributeSync(String channelId, MediaPackage mediaPackage, Set<String> elementIds) WowzaStreamingDistributionService.retractSync(String channelId, MediaPackage mediaPackage, String elementId) WowzaStreamingDistributionService.retractSync(String channelId, MediaPackage mediaPackage, Set<String> elementIds) -
Uses of MediaPackageElement in org.opencastproject.execute.api
Methods in org.opencastproject.execute.api with parameters of type MediaPackageElementModifier and TypeMethodDescriptionExecuteService.execute(String exec, String args, MediaPackageElement inElement, String outFileName, MediaPackageElement.Type type, float load) Execute the operation specified byexecwith the argument string indicated byargs. -
Uses of MediaPackageElement in org.opencastproject.execute.impl
Methods in org.opencastproject.execute.impl with parameters of type MediaPackageElementModifier and TypeMethodDescriptionprotected StringExecuteServiceImpl.doProcess(List<String> arguments, MediaPackageElement element, String outFileName, MediaPackageElement.Type expectedType) Does the actual processing, given a mediapackage element (Execute Many WOH)ExecuteServiceImpl.execute(String exec, String params, MediaPackageElement inElement, String outFileName, MediaPackageElement.Type expectedType, float load) Execute the operation specified byexecwith the argument string indicated byargs. -
Uses of MediaPackageElement in org.opencastproject.execute.remote
Methods in org.opencastproject.execute.remote with parameters of type MediaPackageElementModifier and TypeMethodDescriptionExecuteServiceRemoteImpl.execute(String exec, String params, MediaPackageElement inElement, String outFileName, MediaPackageElement.Type type, float load) -
Uses of MediaPackageElement in org.opencastproject.graphql.type.output
Methods in org.opencastproject.graphql.type.output that return MediaPackageElementModifier and TypeMethodDescriptionGqlAttachment.getElement()GqlMediaPackageElement.getElement()GqlPublication.getElement()GqlTrack.getElement() -
Uses of MediaPackageElement in org.opencastproject.inspection.api
Methods in org.opencastproject.inspection.api with parameters of type MediaPackageElementModifier and TypeMethodDescriptionMediaInspectionService.enrich(MediaPackageElement original, boolean override) Equip an existing media package element with automatically generated metadataMediaInspectionService.enrich(MediaPackageElement original, boolean override, Map<String, String> options) Equip an existing media package element with automatically generated metadata -
Uses of MediaPackageElement in org.opencastproject.inspection.ffmpeg
Methods in org.opencastproject.inspection.ffmpeg that return MediaPackageElementModifier and TypeMethodDescriptionMediaInspector.enrich(MediaPackageElement element, boolean override, Map<String, String> options) Enriches the given element's mediapackage.Methods in org.opencastproject.inspection.ffmpeg with parameters of type MediaPackageElementModifier and TypeMethodDescriptionMediaInspectionServiceImpl.enrich(MediaPackageElement element, boolean override) Equip an existing media package element with automatically generated metadataMediaInspectionServiceImpl.enrich(MediaPackageElement element, boolean override, Map<String, String> options) Equip an existing media package element with automatically generated metadataMediaInspector.enrich(MediaPackageElement element, boolean override, Map<String, String> options) Enriches the given element's mediapackage. -
Uses of MediaPackageElement in org.opencastproject.inspection.remote
Methods in org.opencastproject.inspection.remote with parameters of type MediaPackageElementModifier and TypeMethodDescriptionMediaInspectionServiceRemoteImpl.enrich(MediaPackageElement original, boolean override) Equip an existing media package element with automatically generated metadataMediaInspectionServiceRemoteImpl.enrich(MediaPackageElement original, boolean override, Map<String, String> options) Equip an existing media package element with automatically generated metadata -
Uses of MediaPackageElement in org.opencastproject.mediapackage
Classes in org.opencastproject.mediapackage with type parameters of type MediaPackageElementModifier and TypeInterfaceDescriptioninterfaceMediaPackageElementSelector<T extends MediaPackageElement>AMedikaPackageElementSelectoris the way to set up rules for extracting elements from a media package dependent on their flavor.Subinterfaces of MediaPackageElement in org.opencastproject.mediapackageModifier and TypeInterfaceDescriptioninterfaceHLS-VOD This interface describes methods and fields for an adaptive manifest playlist. as defined in https://tools.ietf.org/html/draft-pantos-http-live-streaming-20 This is text file which references media tracks or playlists in the same mediapackage using relative path names (usual) or absolute URI.interfaceThis interface describes methods and fields for attachments as part of a media package.interfaceGeneral definition for metadata catalogs.interfaceThe presentation element describes where a media package can be consumed.interfaceThis interface describes methods and fields for audio and video tracks as part of a media package.Classes in org.opencastproject.mediapackage that implement MediaPackageElementModifier and TypeClassDescriptionclassThis class provides base functionality for media package elements.classThis is a basic implementation for handling simple catalogs of metadata.classclassThis is a basic implementation for handling simple catalogs of metadata.Fields in org.opencastproject.mediapackage with type parameters of type MediaPackageElementModifier and TypeFieldDescriptionstatic final Function<MediaPackageElement, List<Attachment>> MediaPackageSupport.Filters.attachmentsstatic final Function<MediaPackageElement, List<Catalog>> MediaPackageSupport.Filters.catalogsstatic final Function<MediaPackageElement, String> MediaPackageSupport.getMediaPackageElementIdstatic final Function<MediaPackageElement, Boolean> MediaPackageSupport.Filters.hasChecksumstatic final Function<MediaPackageElement, Boolean> MediaPackageSupport.Filters.hasNoChecksumstatic final Function<MediaPackageElement, Boolean> MediaPackageSupport.Filters.isEpisodeDublinCorestatic final Function<MediaPackageElement, Boolean> MediaPackageSupport.Filters.isNotPublicationstatic final Function<MediaPackageElement, Boolean> MediaPackageSupport.Filters.isPublicationstatic final Function<MediaPackageElement, Boolean> MediaPackageSupport.Filters.isSmilCatalogstatic final Function<MediaPackageElementFlavor, Function<MediaPackageElement, Boolean>> MediaPackageSupport.Filters.matchesFlavorstatic final Function<MediaPackageElement, List<Publication>> MediaPackageSupport.Filters.presentationsstatic final Function<MediaPackageElement, List<Track>> MediaPackageSupport.Filters.tracksMethods in org.opencastproject.mediapackage with type parameters of type MediaPackageElementModifier and TypeMethodDescriptionstatic <A extends MediaPackageElement>
Function<MediaPackageElement, List<A>> static <A extends MediaPackageElement>
Function<A, String> MediaPackageElementParser.getAsXml()static <A extends MediaPackageElement>
Function<MediaPackageElement, Boolean> Methods in org.opencastproject.mediapackage that return MediaPackageElementModifier and TypeMethodDescriptionAdds an arbitraryURIto this media package, utilizing aMediaPackageBuilderto create a suitable media package element out of the url.MediaPackage.add(URI uri, MediaPackageElement.Type type, MediaPackageElementFlavor flavor) Adds an arbitraryURIto this media package, utilizing aMediaPackageBuilderto create a suitable media package element out of the url.Adds an arbitraryURIto this media package, utilizing aMediaPackageBuilderto create a suitable media package element out of the url.MediaPackageImpl.add(URI uri, MediaPackageElement.Type type, MediaPackageElementFlavor flavor) MediaPackageElementBuilder.elementFromManifest(Node elementNode, MediaPackageSerializer serializer) Creates a media package element from the DOM element.MediaPackageElementBuilderImpl.elementFromManifest(Node node, MediaPackageSerializer serializer) MediaPackageElementBuilder.elementFromURI(URI uri) Creates a media package element from the given file that was previously accepted.MediaPackageElementBuilder.elementFromURI(URI uri, MediaPackageElement.Type type, MediaPackageElementFlavor flavor) Creates a media package element from the given file that was previously accepted, whiletypeandflavormay be taken as strong hints and may both benull.MediaPackageElementBuilderImpl.elementFromURI(URI uri) MediaPackageElementBuilderImpl.elementFromURI(URI uri, MediaPackageElement.Type type, MediaPackageElementFlavor flavor) MediaPackage.getDerived(MediaPackageElement sourceElement, MediaPackageElementFlavor derivateFlavor) Returns those media package elements that are derivates ofsourceElementand feature the flavorderivateFlavor.MediaPackageImpl.getDerived(MediaPackageElement sourceElement, MediaPackageElementFlavor derivateFlavor) Returns those media package elements that are derivates ofsourceElementand feature the flavorderivateFlavor.UnsupportedElementException.getElement()Returns the element.MediaPackage.getElementById(String id) Returns the element that is identified by the given identifier ornullif no such element exists.MediaPackageImpl.getElementById(String id) MediaPackage.getElementByReference(MediaPackageReference reference) Returns the element that is identified by the given reference ornullif no such element exists.MediaPackageImpl.getElementByReference(MediaPackageReference reference) Returns the element that is identified by the given reference ornullif no such element exists.MediaPackage.getElements()Returns all the elements.MediaPackageImpl.getElements()Returns all the elements.MediaPackage.getElementsByFlavor(MediaPackageElementFlavor flavor) Returns all elements of this media package with the given flavor.MediaPackageImpl.getElementsByFlavor(MediaPackageElementFlavor flavor) Returns all elements of this media package with the given flavor.MediaPackage.getElementsByTags(Collection<String> tags) Returns the elements that are tagged with any of the given tags or an empty array if no such elements are found.MediaPackageImpl.getElementsByTags(Collection<String> tags) Returns the elements that are tagged with any of the given tags or an empty array if no such elements are found.static MediaPackageElementMediaPackageElementParser.getFromXml(String xml) Parses the serialized media package element and returns its object representation.MediaPackage.getUnclassifiedElements()Returns media package elements that are neither, attachments, catalogs nor tracks.MediaPackageImpl.getUnclassifiedElements()Returns media package elements that are neither, attachments, catalogs nor tracks.MediaPackageElementBuilder.newElement(MediaPackageElement.Type type, MediaPackageElementFlavor flavor) Creates a new media package elment of the specified type.MediaPackageElementBuilderImpl.newElement(MediaPackageElement.Type type, MediaPackageElementFlavor flavor) MediaPackage.removeElementById(String id) Removes the element with the given identifier from the mediapackage and returns it.MediaPackageImpl.removeElementById(String id) Removes the element with the given identifier from the mediapackage and returns it.Methods in org.opencastproject.mediapackage that return types with arguments of type MediaPackageElementModifier and TypeMethodDescriptionMediaPackageSupport.Filters.byFlavor(MediaPackageElementFlavor flavor) MediaPackageSupport.Filters.byFlavor(MediaPackageElementFlavor flavor) static <A extends MediaPackageElement>
Function<MediaPackageElement, List<A>> MediaPackage.elements()Returns an iteration of the media package elements.MediaPackageImpl.elements()Returns an iteration of the media package elements.static List<? extends MediaPackageElement> MediaPackageElementParser.getArrayFromXml(String xml) Parses the serialized media package element list.static List<? extends MediaPackageElement> MediaPackageElementParser.getArrayFromXmlUnchecked(String xml) Same as getArrayFromXml(), but throwing a RuntimeException instead of a checked exception.static Function<MediaPackageElement, Boolean> Check if mediapackage element has any of the given tags.static Function<MediaPackageElement, Boolean> MediaPackageSupport.Filters.matchesFlavor(MediaPackageElementFlavor flavor) Return true if the element has a flavor that matchesflavor.static <A extends MediaPackageElement>
Function<MediaPackageElement, Boolean> static Consumer<MediaPackageElement> MediaPackageSupport.updateElement(MediaPackage mp) Methods in org.opencastproject.mediapackage with parameters of type MediaPackageElementModifier and TypeMethodDescriptionvoidMediaPackage.add(MediaPackageElement element) Adds an arbitraryMediaPackageElementto this media package.voidMediaPackageImpl.add(MediaPackageElement element) Adds an arbitraryMediaPackageElementto this media package.voidMediaPackage.addDerived(MediaPackageElement derivedElement, MediaPackageElement sourceElement) Adds an element to this media package that represents a derived version ofsourceElement.voidMediaPackageImpl.addDerived(MediaPackageElement derivedElement, MediaPackageElement sourceElement) Adds an element to this media package that represents a derived version ofsourceElement.static voidPublicationImpl.addElementToPublication(Publication publication, MediaPackageElement element) Adds aMediaPackageElementto this publication by determining its type.intAbstractMediaPackageElement.compareTo(MediaPackageElement o) booleanMediaPackage.contains(MediaPackageElement element) Returnstrueif the given element is part of the media package.booleanMediaPackageImpl.contains(MediaPackageElement element) static StringMediaPackageElementParser.getAsXml(MediaPackageElement element) Serializes the media package element to a string.MediaPackage.getDerived(MediaPackageElement sourceElement, MediaPackageElementFlavor derivateFlavor) Returns those media package elements that are derivates ofsourceElementand feature the flavorderivateFlavor.MediaPackageImpl.getDerived(MediaPackageElement sourceElement, MediaPackageElementFlavor derivateFlavor) Returns those media package elements that are derivates ofsourceElementand feature the flavorderivateFlavor.static com.entwinemedia.fn.data.Opt<String> MediaPackageSupport.getFileName(MediaPackageElement mpe) Extract the file name from a media package elements URI.voidAbstractMediaPackageElement.referTo(MediaPackageElement element) voidMediaPackageElement.referTo(MediaPackageElement element) Adds a reference to the media package elementelement.voidMediaPackage.remove(MediaPackageElement element) Removes an arbitrary media package element.voidMediaPackageImpl.remove(MediaPackageElement element) Removes an arbitrary media package element.static voidMediaPackageSupport.updateElement(MediaPackage mp, MediaPackageElement e) Update a mediapackage element of a mediapackage.Method parameters in org.opencastproject.mediapackage with type arguments of type MediaPackageElementModifier and TypeMethodDescriptionstatic StringMediaPackageElementParser.getArrayAsXml(Collection<? extends MediaPackageElement> elements) Serializes media package element list to a string.static booleanAdaptivePlaylist.hasHLSPlaylist(Collection<MediaPackageElement> elements) MediaPackageElementSelector.select(List<MediaPackageElement> elements, boolean withTagsAndFlavors) Returns the media package elements that are matched by this selector.Constructors in org.opencastproject.mediapackage with parameters of type MediaPackageElementModifierConstructorDescriptionMediaPackageReferenceImpl(MediaPackageElement mediaPackageElement) Creates a reference to the specified media package element.UnsupportedElementException(MediaPackageElement element, String message) Creates a new exception for the given element with the given message. -
Uses of MediaPackageElement in org.opencastproject.mediapackage.attachment
Classes in org.opencastproject.mediapackage.attachment that implement MediaPackageElement -
Uses of MediaPackageElement in org.opencastproject.mediapackage.elementbuilder
Methods in org.opencastproject.mediapackage.elementbuilder that return MediaPackageElementModifier and TypeMethodDescriptionAbstractAttachmentBuilderPlugin.elementFromManifest(Node elementNode, MediaPackageSerializer serializer) CatalogBuilderPlugin.elementFromManifest(Node elementNode, MediaPackageSerializer serializer) Creates a media package element from the DOM element.MediaPackageElementBuilderPlugin.elementFromManifest(Node elementNode, MediaPackageSerializer serializer) Deprecated.Creates a media package element from the DOM element.PublicationBuilderPlugin.elementFromManifest(Node elementNode, MediaPackageSerializer serializer) TrackBuilderPlugin.elementFromManifest(Node elementNode, MediaPackageSerializer serializer) AbstractAttachmentBuilderPlugin.elementFromURI(URI uri) Utility method that returns an attachment object from the given url.AbstractAttachmentBuilderPlugin.elementFromURI(URI uri, MediaPackageElement.Type type, MediaPackageElementFlavor flavor) CatalogBuilderPlugin.elementFromURI(URI uri) MediaPackageElementBuilderPlugin.elementFromURI(URI uri) Deprecated.Creates a media package element from the given url that was previously accepted.PublicationBuilderPlugin.elementFromURI(URI uri) TrackBuilderPlugin.elementFromURI(URI uri) AbstractAttachmentBuilderPlugin.newElement(MediaPackageElement.Type type, MediaPackageElementFlavor flavor) CatalogBuilderPlugin.newElement(MediaPackageElement.Type type, MediaPackageElementFlavor flavor) Creates a new media package element of the specified type.MediaPackageElementBuilderPlugin.newElement(MediaPackageElement.Type type, MediaPackageElementFlavor flavor) Deprecated.Creates a new media package element of the specified type.PublicationBuilderPlugin.newElement(MediaPackageElement.Type type, MediaPackageElementFlavor flavor) TrackBuilderPlugin.newElement(MediaPackageElement.Type type, MediaPackageElementFlavor flavor) -
Uses of MediaPackageElement in org.opencastproject.mediapackage.selector
Classes in org.opencastproject.mediapackage.selector with type parameters of type MediaPackageElementModifier and TypeClassDescriptionclassThis selector will return anyMediaPackageElements from aMediaPackagethat matches the tag and flavors.Method parameters in org.opencastproject.mediapackage.selector with type arguments of type MediaPackageElementModifier and TypeMethodDescriptionAbstractMediaPackageElementSelector.select(List<MediaPackageElement> elements, boolean withTagsAndFlavors) -
Uses of MediaPackageElement in org.opencastproject.mediapackage.track
Classes in org.opencastproject.mediapackage.track that implement MediaPackageElementModifier and TypeClassDescriptionclassThis class is the base implementation for a media track, which itself is part of a media package, representing e. g. -
Uses of MediaPackageElement in org.opencastproject.metadata.dublincore
Classes in org.opencastproject.metadata.dublincore that implement MediaPackageElementModifier and TypeClassDescriptionclassCatalog for DublinCore structured metadata to be serialized as XML.Methods in org.opencastproject.metadata.dublincore with parameters of type MediaPackageElementModifier and TypeMethodDescriptionstatic DublinCoreCatalogDublinCoreUtil.loadDublinCore(Workspace workspace, MediaPackageElement mpe) Load the DublinCore catalog identified bympe. -
Uses of MediaPackageElement in org.opencastproject.publication.api
Method parameters in org.opencastproject.publication.api with type arguments of type MediaPackageElementModifier and TypeMethodDescriptionConfigurablePublicationService.replace(MediaPackage mediaPackage, String channelId, Collection<? extends MediaPackageElement> addElements, Set<String> retractElementIds) Replaces media package elements.OaiPmhPublicationService.replace(MediaPackage mediaPackage, String repository, Set<? extends MediaPackageElement> downloadElements, Set<? extends MediaPackageElement> streamingElements, Set<MediaPackageElementFlavor> retractDownloadFlavors, Set<MediaPackageElementFlavor> retractStreamingFlavors, Set<? extends Publication> publications, boolean checkAvailability) Updates the given media package in the Oai-Pmh storage incrementally, i.e. without retracting the whole media package.ConfigurablePublicationService.replaceSync(MediaPackage mediaPackage, String channelId, Collection<? extends MediaPackageElement> addElements, Set<String> retractElementIds) Synchronously replaces media package elements.OaiPmhPublicationService.replaceSync(MediaPackage mediaPackage, String repository, Set<? extends MediaPackageElement> downloadElements, Set<? extends MediaPackageElement> streamingElements, Set<MediaPackageElementFlavor> retractDownloadFlavors, Set<MediaPackageElementFlavor> retractStreamingFlavors, Set<? extends Publication> publications, boolean checkAvailability) Synchronously updates the given media package in the Oai-Pmh storage incrementally, i.e. without retracting the whole media package. -
Uses of MediaPackageElement in org.opencastproject.publication.configurable
Method parameters in org.opencastproject.publication.configurable with type arguments of type MediaPackageElementModifier and TypeMethodDescriptionConfigurablePublicationServiceImpl.replace(MediaPackage mediaPackage, String channelId, Collection<? extends MediaPackageElement> addElements, Set<String> retractElementIds) ConfigurablePublicationServiceImpl.replaceSync(MediaPackage mediaPackage, String channelId, Collection<? extends MediaPackageElement> addElements, Set<String> retractElementIds) -
Uses of MediaPackageElement in org.opencastproject.publication.configurable.remote
Method parameters in org.opencastproject.publication.configurable.remote with type arguments of type MediaPackageElementModifier and TypeMethodDescriptionConfigurablePublicationServiceRemoteImpl.replace(MediaPackage mediaPackage, String channelId, Collection<? extends MediaPackageElement> addElements, Set<String> retractElementIds) ConfigurablePublicationServiceRemoteImpl.replaceSync(MediaPackage mediaPackage, String channelId, Collection<? extends MediaPackageElement> addElements, Set<String> retractElementIds) -
Uses of MediaPackageElement in org.opencastproject.publication.oaipmh
Method parameters in org.opencastproject.publication.oaipmh with type arguments of type MediaPackageElementModifier and TypeMethodDescriptionOaiPmhPublicationServiceImpl.replace(MediaPackage mediaPackage, String repository, Set<? extends MediaPackageElement> downloadElements, Set<? extends MediaPackageElement> streamingElements, Set<MediaPackageElementFlavor> retractDownloadFlavors, Set<MediaPackageElementFlavor> retractStreamingFlavors, Set<? extends Publication> publications, boolean checkAvailability) OaiPmhPublicationServiceImpl.replaceSync(MediaPackage mediaPackage, String repository, Set<? extends MediaPackageElement> downloadElements, Set<? extends MediaPackageElement> streamingElements, Set<MediaPackageElementFlavor> retractDownloadFlavors, Set<MediaPackageElementFlavor> retractStreamingFlavors, Set<? extends Publication> publications, boolean checkAvailability) -
Uses of MediaPackageElement in org.opencastproject.publication.oaipmh.remote
Method parameters in org.opencastproject.publication.oaipmh.remote with type arguments of type MediaPackageElementModifier and TypeMethodDescriptionOaiPmhPublicationServiceRemoteImpl.replace(MediaPackage mediaPackage, String repository, Set<? extends MediaPackageElement> downloadElements, Set<? extends MediaPackageElement> streamingElements, Set<MediaPackageElementFlavor> retractDownloadFlavors, Set<MediaPackageElementFlavor> retractStreamingFlavors, Set<? extends Publication> publications, boolean checkAvailability) OaiPmhPublicationServiceRemoteImpl.replaceSync(MediaPackage mediaPackage, String repository, Set<? extends MediaPackageElement> downloadElements, Set<? extends MediaPackageElement> streamingElements, Set<MediaPackageElementFlavor> retractDownloadFlavors, Set<MediaPackageElementFlavor> retractStreamingFlavors, Set<? extends Publication> publications, boolean checkAvailability) -
Uses of MediaPackageElement in org.opencastproject.serviceregistry.api
Fields in org.opencastproject.serviceregistry.api with type parameters of type MediaPackageElementModifier and TypeFieldDescriptionstatic final Function<org.apache.http.HttpResponse, Option<List<MediaPackageElement>>> RemoteBase.elementsFromHttpResponse -
Uses of MediaPackageElement in org.opencastproject.smil.api.util
Methods in org.opencastproject.smil.api.util with parameters of type MediaPackageElementModifier and TypeMethodDescriptionstatic DocumentSmilUtil.loadSmilDocument(InputStream in, MediaPackageElement mpe) Load the SMIL document identified bympe. -
Uses of MediaPackageElement in org.opencastproject.transcription.amberscript
Methods in org.opencastproject.transcription.amberscript that return MediaPackageElementModifier and TypeMethodDescriptionAmberscriptTranscriptionService.getGeneratedTranscription(String mpId, String jobId, MediaPackageElement.Type type) -
Uses of MediaPackageElement in org.opencastproject.transcription.api
Methods in org.opencastproject.transcription.api that return MediaPackageElementModifier and TypeMethodDescriptionTranscriptionService.getGeneratedTranscription(String mpId, String jobId, MediaPackageElement.Type type) -
Uses of MediaPackageElement in org.opencastproject.transcription.googlespeech
Methods in org.opencastproject.transcription.googlespeech that return MediaPackageElementModifier and TypeMethodDescriptionGoogleSpeechTranscriptionService.getGeneratedTranscription(String mpId, String jobId, MediaPackageElement.Type type) -
Uses of MediaPackageElement in org.opencastproject.transcription.ibmwatson
Methods in org.opencastproject.transcription.ibmwatson that return MediaPackageElementModifier and TypeMethodDescriptionIBMWatsonTranscriptionService.getGeneratedTranscription(String mpId, String jobId, MediaPackageElement.Type type) -
Uses of MediaPackageElement in org.opencastproject.transcription.microsoft.azure
Methods in org.opencastproject.transcription.microsoft.azure that return MediaPackageElementModifier and TypeMethodDescriptionMicrosoftAzureTranscriptionService.getGeneratedTranscription(String mpId, String jobId, MediaPackageElement.Type type) -
Uses of MediaPackageElement in org.opencastproject.util
Methods in org.opencastproject.util that return types with arguments of type MediaPackageElementModifier and TypeMethodDescriptionstatic Function<Job, MediaPackageElement> JobUtil.payloadAsMediaPackageElement(Job waiter, ServiceRegistry reg) Interpret the payload of a completedJobas aMediaPackageElement.static Function<Job, MediaPackageElement> JobUtil.payloadAsMediaPackageElement(ServiceRegistry reg) Interpret the payload of a completedJobas aMediaPackageElement. -
Uses of MediaPackageElement in org.opencastproject.workflow.api
Methods in org.opencastproject.workflow.api with parameters of type MediaPackageElementModifier and TypeMethodDescriptionprotected StringAbstractWorkflowOperationHandler.getFileNameFromElements(MediaPackageElement source, MediaPackageElement derived) Generates a filename using the base name of a source element and the extension of a derived element. -
Uses of MediaPackageElement in org.opencastproject.workflow.handler.composer
Methods in org.opencastproject.workflow.handler.composer with type parameters of type MediaPackageElementModifier and TypeMethodDescriptionstatic <E extends MediaPackageElement,S extends AbstractMediaPackageElementSelector<E>>
com.entwinemedia.fn.StreamFold<MediaPackageElementFlavor, S> ImageWorkflowOperationHandler.flavorFold(S selector) Create a fold that folds flavors into a media package element selector.static <E extends MediaPackageElement,S extends AbstractMediaPackageElementSelector<E>>
com.entwinemedia.fn.StreamFold<String, S> ImageWorkflowOperationHandler.tagFold(S selector) Create a fold that folds tags into a media package element selector.Method parameters in org.opencastproject.workflow.handler.composer with type arguments of type MediaPackageElementModifier and TypeMethodDescriptionprotected longPartialImportWorkflowOperationHandler.checkForMuxing(MediaPackage mediaPackage, MediaPackageElementFlavor targetPresentationFlavor, MediaPackageElementFlavor targetPresenterFlavor, boolean useSuffix, List<MediaPackageElement> elementsToClean) protected longPartialImportWorkflowOperationHandler.mux(MediaPackage mediaPackage, Track video, Track audio, List<MediaPackageElement> elementsToClean) Mux a video and an audio track.