org.mythtv.services.api.v027.impl
Class ContentTemplate

java.lang.Object
  extended by org.mythtv.services.api.AbstractOperations
      extended by org.mythtv.services.api.v027.impl.ContentTemplate
All Implemented Interfaces:
ContentOperations

public class ContentTemplate
extends AbstractOperations
implements ContentOperations

Auto-generated file, do not modify manually !!!!


Field Summary
 
Fields inherited from class org.mythtv.services.api.AbstractOperations
formatter
 
Constructor Summary
ContentTemplate(org.springframework.web.client.RestOperations restOperations, java.lang.String apiUrlBase)
           
 
Method Summary
 org.springframework.http.ResponseEntity<LiveStreamInfo> addLiveStream(java.lang.String storageGroup, java.lang.String fileName, java.lang.String hostName, java.lang.Integer maxSegments, java.lang.Integer width, java.lang.Integer height, java.lang.Integer bitrate, java.lang.Integer audioBitrate, java.lang.Integer sampleRate, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<LiveStreamInfo> addRecordingLiveStream(java.lang.Integer chanId, org.joda.time.DateTime startTime, java.lang.Integer maxSegments, java.lang.Integer width, java.lang.Integer height, java.lang.Integer bitrate, java.lang.Integer audioBitrate, java.lang.Integer sampleRate, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<LiveStreamInfo> addVideoLiveStream(java.lang.Integer id, java.lang.Integer maxSegments, java.lang.Integer width, java.lang.Integer height, java.lang.Integer bitrate, java.lang.Integer audioBitrate, java.lang.Integer sampleRate, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<Bool> downloadFile(java.lang.String uRL, java.lang.String storageGroup)
           
 org.springframework.http.ResponseEntity<java.lang.String> getAlbumArt(java.lang.Integer id, java.lang.Integer width, java.lang.Integer height, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<java.lang.String> getFile(java.lang.String storageGroup, java.lang.String fileName, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<ArrayOfString> getFileList(java.lang.String storageGroup, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<java.lang.String> getHash(java.lang.String storageGroup, java.lang.String fileName, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<java.lang.String> getImageFile(java.lang.String storageGroup, java.lang.String fileName, java.lang.Integer width, java.lang.Integer height, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<LiveStreamInfo> getLiveStream(java.lang.Integer id, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<LiveStreamInfoList> getLiveStreamList(java.lang.String fileName, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<java.lang.String> getMusic(java.lang.Integer id, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<java.lang.String> getPreviewImage(java.lang.Integer chanId, org.joda.time.DateTime startTime, java.lang.Integer width, java.lang.Integer height, java.lang.Integer secsIn, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<ArtworkInfoList> getProgramArtworkList(java.lang.String inetref, java.lang.Integer season, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<java.lang.String> getRecording(java.lang.Integer chanId, org.joda.time.DateTime startTime, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<java.lang.String> getRecordingArtwork(java.lang.String type, java.lang.String inetref, java.lang.Integer season, java.lang.Integer width, java.lang.Integer height, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<ArtworkInfoList> getRecordingArtworkList(java.lang.Integer chanId, org.joda.time.DateTime startTime, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<java.lang.String> getVideo(java.lang.Integer id, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<java.lang.String> getVideoArtwork(java.lang.String type, java.lang.Integer id, java.lang.Integer width, java.lang.Integer height, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<Bool> removeLiveStream(java.lang.Integer id, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<LiveStreamInfo> stopLiveStream(java.lang.Integer id, ETagInfo etagInfo)
           
 
Methods inherited from class org.mythtv.services.api.AbstractOperations
buildUri, buildUri, buildUri, convertUtcAndFormat, getApiUrlBase, getRequestEntity, handleResponseEtag, setLogLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentTemplate

public ContentTemplate(org.springframework.web.client.RestOperations restOperations,
                       java.lang.String apiUrlBase)
Method Detail

addLiveStream

public org.springframework.http.ResponseEntity<LiveStreamInfo> addLiveStream(java.lang.String storageGroup,
                                                                             java.lang.String fileName,
                                                                             java.lang.String hostName,
                                                                             java.lang.Integer maxSegments,
                                                                             java.lang.Integer width,
                                                                             java.lang.Integer height,
                                                                             java.lang.Integer bitrate,
                                                                             java.lang.Integer audioBitrate,
                                                                             java.lang.Integer sampleRate,
                                                                             ETagInfo etagInfo)
                                                                      throws MythServiceApiRuntimeException
Specified by:
addLiveStream in interface ContentOperations
Throws:
MythServiceApiRuntimeException

addRecordingLiveStream

public org.springframework.http.ResponseEntity<LiveStreamInfo> addRecordingLiveStream(java.lang.Integer chanId,
                                                                                      org.joda.time.DateTime startTime,
                                                                                      java.lang.Integer maxSegments,
                                                                                      java.lang.Integer width,
                                                                                      java.lang.Integer height,
                                                                                      java.lang.Integer bitrate,
                                                                                      java.lang.Integer audioBitrate,
                                                                                      java.lang.Integer sampleRate,
                                                                                      ETagInfo etagInfo)
                                                                               throws MythServiceApiRuntimeException
Specified by:
addRecordingLiveStream in interface ContentOperations
Throws:
MythServiceApiRuntimeException

addVideoLiveStream

public org.springframework.http.ResponseEntity<LiveStreamInfo> addVideoLiveStream(java.lang.Integer id,
                                                                                  java.lang.Integer maxSegments,
                                                                                  java.lang.Integer width,
                                                                                  java.lang.Integer height,
                                                                                  java.lang.Integer bitrate,
                                                                                  java.lang.Integer audioBitrate,
                                                                                  java.lang.Integer sampleRate,
                                                                                  ETagInfo etagInfo)
                                                                           throws MythServiceApiRuntimeException
Specified by:
addVideoLiveStream in interface ContentOperations
Throws:
MythServiceApiRuntimeException

downloadFile

public org.springframework.http.ResponseEntity<Bool> downloadFile(java.lang.String uRL,
                                                                  java.lang.String storageGroup)
                                                           throws MythServiceApiRuntimeException
Specified by:
downloadFile in interface ContentOperations
Throws:
MythServiceApiRuntimeException

getAlbumArt

public org.springframework.http.ResponseEntity<java.lang.String> getAlbumArt(java.lang.Integer id,
                                                                             java.lang.Integer width,
                                                                             java.lang.Integer height,
                                                                             ETagInfo etagInfo)
                                                                      throws MythServiceApiRuntimeException
Specified by:
getAlbumArt in interface ContentOperations
Throws:
MythServiceApiRuntimeException

getFile

public org.springframework.http.ResponseEntity<java.lang.String> getFile(java.lang.String storageGroup,
                                                                         java.lang.String fileName,
                                                                         ETagInfo etagInfo)
                                                                  throws MythServiceApiRuntimeException
Specified by:
getFile in interface ContentOperations
Throws:
MythServiceApiRuntimeException

getFileList

public org.springframework.http.ResponseEntity<ArrayOfString> getFileList(java.lang.String storageGroup,
                                                                          ETagInfo etagInfo)
                                                                   throws MythServiceApiRuntimeException
Specified by:
getFileList in interface ContentOperations
Throws:
MythServiceApiRuntimeException

getHash

public org.springframework.http.ResponseEntity<java.lang.String> getHash(java.lang.String storageGroup,
                                                                         java.lang.String fileName,
                                                                         ETagInfo etagInfo)
                                                                  throws MythServiceApiRuntimeException
Specified by:
getHash in interface ContentOperations
Throws:
MythServiceApiRuntimeException

getImageFile

public org.springframework.http.ResponseEntity<java.lang.String> getImageFile(java.lang.String storageGroup,
                                                                              java.lang.String fileName,
                                                                              java.lang.Integer width,
                                                                              java.lang.Integer height,
                                                                              ETagInfo etagInfo)
                                                                       throws MythServiceApiRuntimeException
Specified by:
getImageFile in interface ContentOperations
Throws:
MythServiceApiRuntimeException

getLiveStream

public org.springframework.http.ResponseEntity<LiveStreamInfo> getLiveStream(java.lang.Integer id,
                                                                             ETagInfo etagInfo)
                                                                      throws MythServiceApiRuntimeException
Specified by:
getLiveStream in interface ContentOperations
Throws:
MythServiceApiRuntimeException

getLiveStreamList

public org.springframework.http.ResponseEntity<LiveStreamInfoList> getLiveStreamList(java.lang.String fileName,
                                                                                     ETagInfo etagInfo)
                                                                              throws MythServiceApiRuntimeException
Specified by:
getLiveStreamList in interface ContentOperations
Throws:
MythServiceApiRuntimeException

getMusic

public org.springframework.http.ResponseEntity<java.lang.String> getMusic(java.lang.Integer id,
                                                                          ETagInfo etagInfo)
                                                                   throws MythServiceApiRuntimeException
Specified by:
getMusic in interface ContentOperations
Throws:
MythServiceApiRuntimeException

getPreviewImage

public org.springframework.http.ResponseEntity<java.lang.String> getPreviewImage(java.lang.Integer chanId,
                                                                                 org.joda.time.DateTime startTime,
                                                                                 java.lang.Integer width,
                                                                                 java.lang.Integer height,
                                                                                 java.lang.Integer secsIn,
                                                                                 ETagInfo etagInfo)
                                                                          throws MythServiceApiRuntimeException
Specified by:
getPreviewImage in interface ContentOperations
Throws:
MythServiceApiRuntimeException

getProgramArtworkList

public org.springframework.http.ResponseEntity<ArtworkInfoList> getProgramArtworkList(java.lang.String inetref,
                                                                                      java.lang.Integer season,
                                                                                      ETagInfo etagInfo)
                                                                               throws MythServiceApiRuntimeException
Specified by:
getProgramArtworkList in interface ContentOperations
Throws:
MythServiceApiRuntimeException

getRecording

public org.springframework.http.ResponseEntity<java.lang.String> getRecording(java.lang.Integer chanId,
                                                                              org.joda.time.DateTime startTime,
                                                                              ETagInfo etagInfo)
                                                                       throws MythServiceApiRuntimeException
Specified by:
getRecording in interface ContentOperations
Throws:
MythServiceApiRuntimeException

getRecordingArtwork

public org.springframework.http.ResponseEntity<java.lang.String> getRecordingArtwork(java.lang.String type,
                                                                                     java.lang.String inetref,
                                                                                     java.lang.Integer season,
                                                                                     java.lang.Integer width,
                                                                                     java.lang.Integer height,
                                                                                     ETagInfo etagInfo)
                                                                              throws MythServiceApiRuntimeException
Specified by:
getRecordingArtwork in interface ContentOperations
Throws:
MythServiceApiRuntimeException

getRecordingArtworkList

public org.springframework.http.ResponseEntity<ArtworkInfoList> getRecordingArtworkList(java.lang.Integer chanId,
                                                                                        org.joda.time.DateTime startTime,
                                                                                        ETagInfo etagInfo)
                                                                                 throws MythServiceApiRuntimeException
Specified by:
getRecordingArtworkList in interface ContentOperations
Throws:
MythServiceApiRuntimeException

getVideo

public org.springframework.http.ResponseEntity<java.lang.String> getVideo(java.lang.Integer id,
                                                                          ETagInfo etagInfo)
                                                                   throws MythServiceApiRuntimeException
Specified by:
getVideo in interface ContentOperations
Throws:
MythServiceApiRuntimeException

getVideoArtwork

public org.springframework.http.ResponseEntity<java.lang.String> getVideoArtwork(java.lang.String type,
                                                                                 java.lang.Integer id,
                                                                                 java.lang.Integer width,
                                                                                 java.lang.Integer height,
                                                                                 ETagInfo etagInfo)
                                                                          throws MythServiceApiRuntimeException
Specified by:
getVideoArtwork in interface ContentOperations
Throws:
MythServiceApiRuntimeException

removeLiveStream

public org.springframework.http.ResponseEntity<Bool> removeLiveStream(java.lang.Integer id,
                                                                      ETagInfo etagInfo)
                                                               throws MythServiceApiRuntimeException
Specified by:
removeLiveStream in interface ContentOperations
Throws:
MythServiceApiRuntimeException

stopLiveStream

public org.springframework.http.ResponseEntity<LiveStreamInfo> stopLiveStream(java.lang.Integer id,
                                                                              ETagInfo etagInfo)
                                                                       throws MythServiceApiRuntimeException
Specified by:
stopLiveStream in interface ContentOperations
Throws:
MythServiceApiRuntimeException