|
||||||||||
| 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.capture.impl.CaptureTemplate
public class CaptureTemplate
| Nested Class Summary | |
|---|---|
static class |
CaptureTemplate.Endpoint
|
| Field Summary |
|---|
| Fields inherited from class org.mythtv.services.api.AbstractOperations |
|---|
formatter |
| Constructor Summary | |
|---|---|
CaptureTemplate(org.springframework.web.client.RestOperations restOperations,
String apiUrlBase)
|
|
| Method Summary | |
|---|---|
org.springframework.http.ResponseEntity<Int> |
addCaptureCard(CaptureCard captureCard)
- POST |
org.springframework.http.ResponseEntity<Int> |
addCardInput(CardInput cardInput)
- POST |
protected String |
getApiUrlBase()
|
org.springframework.http.ResponseEntity<CaptureCardWrapper> |
getCaptureCard(int cardId,
ETagInfo etag)
- GET |
org.springframework.http.ResponseEntity<CaptureCardList> |
getCaptureCardList(ETagInfo etag)
- GET |
org.springframework.http.ResponseEntity<CaptureCardList> |
getCaptureCardList(String hostName,
String cardType,
ETagInfo etag)
- GET |
org.springframework.http.ResponseEntity<Bool> |
removeCaptureCard(int cardId,
ETagInfo etag)
- POST |
org.springframework.http.ResponseEntity<Bool> |
removeCardInput(int cardInputId)
- POST |
org.springframework.http.ResponseEntity<Bool> |
updateCaptureCard(int cardId,
String setting,
String value)
- POST |
org.springframework.http.ResponseEntity<Bool> |
updateCardInput(int cardInputId,
String setting,
String value)
- POST |
| Methods inherited from class org.mythtv.services.api.AbstractOperations |
|---|
buildUri, buildUri, buildUri, convertUtcAndFormat, getRequestEntity, handleResponseEtag |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CaptureTemplate(org.springframework.web.client.RestOperations restOperations,
String apiUrlBase)
| Method Detail |
|---|
public org.springframework.http.ResponseEntity<Int> addCaptureCard(CaptureCard captureCard)
throws MythServiceApiRuntimeException
CaptureOperations
addCaptureCard in interface CaptureOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<Int> addCardInput(CardInput cardInput)
throws MythServiceApiRuntimeException
CaptureOperations
addCardInput in interface CaptureOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<CaptureCardWrapper> getCaptureCard(int cardId,
ETagInfo etag)
throws MythServiceApiRuntimeException
CaptureOperations
getCaptureCard in interface CaptureOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<CaptureCardList> getCaptureCardList(ETagInfo etag)
throws MythServiceApiRuntimeException
CaptureOperations
getCaptureCardList in interface CaptureOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<CaptureCardList> getCaptureCardList(String hostName,
String cardType,
ETagInfo etag)
throws MythServiceApiRuntimeException
CaptureOperations
getCaptureCardList in interface CaptureOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<Bool> removeCaptureCard(int cardId,
ETagInfo etag)
throws MythServiceApiRuntimeException
CaptureOperations
removeCaptureCard in interface CaptureOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<Bool> removeCardInput(int cardInputId)
throws MythServiceApiRuntimeException
CaptureOperations
removeCardInput in interface CaptureOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<Bool> updateCaptureCard(int cardId,
String setting,
String value)
throws MythServiceApiRuntimeException
CaptureOperations
updateCaptureCard in interface CaptureOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<Bool> updateCardInput(int cardInputId,
String setting,
String value)
throws MythServiceApiRuntimeException
CaptureOperations
updateCardInput in interface CaptureOperationsMythServiceApiRuntimeExceptionprotected String getApiUrlBase()
getApiUrlBase in class AbstractOperations
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||