|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mythtv.services.api.AbstractOperations
org.mythtv.services.api.v026.impl.VideoTemplate
public class VideoTemplate
| Nested Class Summary | |
|---|---|
static class |
VideoTemplate.Endpoint
|
| 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)
- POST |
protected java.lang.String |
getApiUrlBase()
|
org.springframework.http.ResponseEntity<BlurayInfoWrapper> |
getBluray(java.lang.String path,
ETagInfo etag)
- GET |
org.springframework.http.ResponseEntity<VideoMetaDataInfoWrapper> |
getVideo(int id,
ETagInfo etag)
- GET |
org.springframework.http.ResponseEntity<VideoMetaDataInfoWrapper> |
getVideoByFilename(java.lang.String filename,
ETagInfo etag)
- GET |
org.springframework.http.ResponseEntity<VideoMetadataInfoList> |
getVideoList(boolean descending,
int startIndex,
int count,
ETagInfo etag)
- GET |
org.springframework.http.ResponseEntity<VideoLookupList> |
lookupVideo(java.lang.String title,
java.lang.String subtitle,
java.lang.String inetRef,
int season,
int episode,
java.lang.String grabberType,
boolean allowGeneric,
ETagInfo etag)
- GET |
org.springframework.http.ResponseEntity<Bool> |
removeVideoFromDatabase(int id)
- POST |
| Methods inherited from class org.mythtv.services.api.AbstractOperations |
|---|
buildUri, buildUri, buildUri, convertUtcAndFormat, getRequestEntity, handleResponseEtag, setLogLevel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VideoTemplate(org.springframework.web.client.RestOperations restOperations,
java.lang.String apiUrlBase)
| Method Detail |
|---|
public org.springframework.http.ResponseEntity<Bool> addVideo(java.lang.String filename,
java.lang.String hostname)
throws MythServiceApiRuntimeException
VideoOperations
addVideo in interface VideoOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<BlurayInfoWrapper> getBluray(java.lang.String path,
ETagInfo etag)
throws MythServiceApiRuntimeException
VideoOperations
getBluray in interface VideoOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<VideoMetaDataInfoWrapper> getVideo(int id,
ETagInfo etag)
throws MythServiceApiRuntimeException
VideoOperations
getVideo in interface VideoOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<VideoMetaDataInfoWrapper> getVideoByFilename(java.lang.String filename,
ETagInfo etag)
throws MythServiceApiRuntimeException
VideoOperations
getVideoByFilename in interface VideoOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<VideoMetadataInfoList> getVideoList(boolean descending,
int startIndex,
int count,
ETagInfo etag)
throws MythServiceApiRuntimeException
VideoOperations
getVideoList in interface VideoOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<VideoLookupList> lookupVideo(java.lang.String title,
java.lang.String subtitle,
java.lang.String inetRef,
int season,
int episode,
java.lang.String grabberType,
boolean allowGeneric,
ETagInfo etag)
throws MythServiceApiRuntimeException
VideoOperations
lookupVideo in interface VideoOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<Bool> removeVideoFromDatabase(int id)
VideoOperations
removeVideoFromDatabase in interface VideoOperationsprotected java.lang.String getApiUrlBase()
getApiUrlBase in class AbstractOperations
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||