org.yestech.publish.publisher
Class EpisodicPublisher

java.lang.Object
  extended by org.yestech.publish.publisher.BasePublisher
      extended by org.yestech.publish.publisher.EpisodicPublisher
All Implemented Interfaces:
IPublisher<IFileArtifact>

public class EpisodicPublisher
extends BasePublisher
implements IPublisher<IFileArtifact>

Publishes videos to episodic by creating a unique episode with 1 asset under a given show.


  • show_id - The episodic show to publish artifacts as episodes too.
  • Optionally It is possible to save the episodeId and assetId back to the artifact if desired. The following must be done in order for this functionality to work:

    1. Make your artfact object implement IEpisodicArtifact
    2. Provide an implementation of IEpisodicArtifactPersister to the publisher via the setPersister(org.yestech.publish.objectmodel.episodic.IEpisodicArtifactPersister) method.

    Author:
    A.J. Wright

    Constructor Summary
    EpisodicPublisher()
               
     
    Method Summary
    protected  org.yestech.episodic.EpisodicService buildEpisodicService()
               
     String getApiKey()
               
     ArtifactType getArtifactType()
               
     String getPingUrl()
               
     String getSecret()
               
     String getShowId()
               
     File getTempDirectory()
               
     String proxyHost()
               
     String proxyPort()
               
     void publish(IFileArtifact artifact)
               
     void setArtifactType(ArtifactType artifactType)
               
     void setPersister(IEpisodicArtifactPersister persister)
               
     void setProperties(PublisherProperties properties)
               
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Constructor Detail

    EpisodicPublisher

    public EpisodicPublisher()
    Method Detail

    publish

    public void publish(IFileArtifact artifact)
    Specified by:
    publish in interface IPublisher<IFileArtifact>

    setArtifactType

    public void setArtifactType(ArtifactType artifactType)

    setProperties

    public void setProperties(PublisherProperties properties)

    setPersister

    public void setPersister(IEpisodicArtifactPersister persister)

    getSecret

    public String getSecret()

    getApiKey

    public String getApiKey()

    getShowId

    public String getShowId()

    getPingUrl

    public String getPingUrl()

    proxyHost

    public String proxyHost()

    proxyPort

    public String proxyPort()

    getArtifactType

    public ArtifactType getArtifactType()

    getTempDirectory

    public File getTempDirectory()

    buildEpisodicService

    protected org.yestech.episodic.EpisodicService buildEpisodicService()


    Copyright © 2010 YES Technology Association. All Rights Reserved.