org.mythtv.services.api.v025.impl
Class VideoTemplate

java.lang.Object
  extended by org.mythtv.services.api.AbstractOperations
      extended by org.mythtv.services.api.v025.impl.VideoTemplate
All Implemented Interfaces:
VideoOperations

public class VideoTemplate
extends AbstractOperations
implements VideoOperations

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


Field Summary
 
Fields inherited from class org.mythtv.services.api.AbstractOperations
formatter
 
Constructor Summary
VideoTemplate(org.springframework.web.client.RestOperations restOperations, java.lang.String apiUrlBase)
           
 
Method Summary
 org.springframework.http.ResponseEntity<Bool> addVideo(java.lang.String fileName, java.lang.String hostName)
           
 org.springframework.http.ResponseEntity<BlurayInfo> getBluray(java.lang.String path, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<VideoMetadataInfo> getVideo(java.lang.Integer id, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<VideoMetadataInfo> getVideoByFileName(java.lang.String fileName, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<VideoMetadataInfoList> getVideoList(java.lang.Boolean descending, java.lang.Integer startIndex, java.lang.Integer count, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<VideoLookupList> lookupVideo(java.lang.String title, java.lang.String subtitle, java.lang.String inetref, java.lang.Integer season, java.lang.Integer episode, java.lang.String grabberType, java.lang.Boolean allowGeneric, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<Bool> removeVideoFromDB(java.lang.Integer id)
           
 
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

VideoTemplate

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

addVideo

public org.springframework.http.ResponseEntity<Bool> addVideo(java.lang.String fileName,
                                                              java.lang.String hostName)
                                                       throws MythServiceApiRuntimeException
Specified by:
addVideo in interface VideoOperations
Throws:
MythServiceApiRuntimeException

getBluray

public org.springframework.http.ResponseEntity<BlurayInfo> getBluray(java.lang.String path,
                                                                     ETagInfo etagInfo)
                                                              throws MythServiceApiRuntimeException
Specified by:
getBluray in interface VideoOperations
Throws:
MythServiceApiRuntimeException

getVideo

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

getVideoByFileName

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

getVideoList

public org.springframework.http.ResponseEntity<VideoMetadataInfoList> getVideoList(java.lang.Boolean descending,
                                                                                   java.lang.Integer startIndex,
                                                                                   java.lang.Integer count,
                                                                                   ETagInfo etagInfo)
                                                                            throws MythServiceApiRuntimeException
Specified by:
getVideoList in interface VideoOperations
Throws:
MythServiceApiRuntimeException

lookupVideo

public org.springframework.http.ResponseEntity<VideoLookupList> lookupVideo(java.lang.String title,
                                                                            java.lang.String subtitle,
                                                                            java.lang.String inetref,
                                                                            java.lang.Integer season,
                                                                            java.lang.Integer episode,
                                                                            java.lang.String grabberType,
                                                                            java.lang.Boolean allowGeneric,
                                                                            ETagInfo etagInfo)
                                                                     throws MythServiceApiRuntimeException
Specified by:
lookupVideo in interface VideoOperations
Throws:
MythServiceApiRuntimeException

removeVideoFromDB

public org.springframework.http.ResponseEntity<Bool> removeVideoFromDB(java.lang.Integer id)
                                                                throws MythServiceApiRuntimeException
Specified by:
removeVideoFromDB in interface VideoOperations
Throws:
MythServiceApiRuntimeException