Class StreamingProviderDataEntity

    • Constructor Detail

      • StreamingProviderDataEntity

        protected StreamingProviderDataEntity​(StreamingProvider streamingProvider,
                                              OembedDataEntity oembedData)
        Constructor from OembedDataEntity (http://oembed.com).
        Parameters:
        streamingProvider - the Silverpeas provider identifier.
        oembedData - the oembed data as JSON format.
      • StreamingProviderDataEntity

        protected StreamingProviderDataEntity()
    • Method Detail

      • from

        public static Optional<StreamingProviderDataEntity> from​(String homepageUrl)
        Creates a streaming provider data entity from specified homepage url.
        Parameters:
        homepageUrl - the streaming home page url.
        Returns:
        the streaming provider data entity representing the specified streaming.
      • getURI

        public URI getURI()
        Description copied from interface: WebEntity
        Gets the URI at which this web entity is published and can be accessed.
        Specified by:
        getURI in interface WebEntity
        Returns:
        the web entity URI.
      • setUri

        public void setUri​(URI uri)
      • getTitle

        public String getTitle()
      • setTitle

        public void setTitle​(String title)
      • getAuthor

        public String getAuthor()
      • setAuthor

        public void setAuthor​(String author)
      • getFormattedDurationHMS

        public String getFormattedDurationHMS()
      • setFormattedDurationHMS

        public void setFormattedDurationHMS​(String formattedDurationHMS)
      • getSilverpeasEmbedUrl

        public String getSilverpeasEmbedUrl()
      • getEmbedHtml

        public String getEmbedHtml()
      • setEmbedHtml

        public void setEmbedHtml​(String embedHtml)
      • forceSecureEmbedUrl

        public void forceSecureEmbedUrl()
      • getThumbnailUrl

        public URI getThumbnailUrl()
      • setThumbnailUrl

        public void setThumbnailUrl​(URI thumbnailUrl)
      • setThumbnailDefinition

        public void setThumbnailDefinition​(MediaDefinitionEntity thumbnailDefinition)
      • getThumbnailPreviewUrls

        public List<URI> getThumbnailPreviewUrls()
      • setThumbnailPreviewUrls

        public void setThumbnailPreviewUrls​(List<URI> thumbnailPreviewUrls)