|
|||||||||
| 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.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,
java.lang.String apiUrlBase)
|
|
| Method Summary | |
|---|---|
org.springframework.http.ResponseEntity<Int> |
addCaptureCard(CaptureCard captureCard)
- POST |
org.springframework.http.ResponseEntity<Int> |
addCardInput(CardInput cardInput)
- POST |
protected java.lang.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(java.lang.String hostName,
java.lang.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,
java.lang.String setting,
java.lang.String value)
- POST |
org.springframework.http.ResponseEntity<Bool> |
updateCardInput(int cardInputId,
java.lang.String setting,
java.lang.String value)
- 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 CaptureTemplate(org.springframework.web.client.RestOperations restOperations,
java.lang.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(java.lang.String hostName,
java.lang.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,
java.lang.String setting,
java.lang.String value)
throws MythServiceApiRuntimeException
CaptureOperations
updateCaptureCard in interface CaptureOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<Bool> updateCardInput(int cardInputId,
java.lang.String setting,
java.lang.String value)
throws MythServiceApiRuntimeException
CaptureOperations
updateCardInput in interface CaptureOperationsMythServiceApiRuntimeExceptionprotected java.lang.String getApiUrlBase()
getApiUrlBase in class AbstractOperations
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||