org.mythtv.services.api.capture
Interface CaptureOperations

All Known Implementing Classes:
CaptureTemplate

public interface CaptureOperations

Author:
Daniel Frey

Method Summary
 org.springframework.http.ResponseEntity<Int> addCaptureCard(CaptureCard captureCard)
          - POST
 org.springframework.http.ResponseEntity<Int> addCardInput(CardInput cardInput)
          - POST
 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
 

Method Detail

addCaptureCard

org.springframework.http.ResponseEntity<Int> addCaptureCard(CaptureCard captureCard)
                                                            throws MythServiceApiRuntimeException
- POST

Parameters:
captureCard -
Returns:
Throws:
MythServiceApiRuntimeException

addCardInput

org.springframework.http.ResponseEntity<Int> addCardInput(CardInput cardInput)
                                                          throws MythServiceApiRuntimeException
- POST

Parameters:
cardInput -
Returns:
Throws:
MythServiceApiRuntimeException

getCaptureCard

org.springframework.http.ResponseEntity<CaptureCardWrapper> getCaptureCard(int cardId,
                                                                           ETagInfo etag)
                                                                           throws MythServiceApiRuntimeException
- GET

Parameters:
cardId -
Returns:
Throws:
MythServiceApiRuntimeException

getCaptureCardList

org.springframework.http.ResponseEntity<CaptureCardList> getCaptureCardList(ETagInfo etag)
                                                                            throws MythServiceApiRuntimeException
- GET

Returns:
Throws:
MythServiceApiRuntimeException

getCaptureCardList

org.springframework.http.ResponseEntity<CaptureCardList> getCaptureCardList(String hostName,
                                                                            String cardType,
                                                                            ETagInfo etag)
                                                                            throws MythServiceApiRuntimeException
- GET

Parameters:
hostName -
cardType -
Returns:
Throws:
MythServiceApiRuntimeException

removeCaptureCard

org.springframework.http.ResponseEntity<Bool> removeCaptureCard(int cardId,
                                                                ETagInfo etag)
                                                                throws MythServiceApiRuntimeException
- POST

Parameters:
cardId -
Returns:
Throws:
MythServiceApiRuntimeException

removeCardInput

org.springframework.http.ResponseEntity<Bool> removeCardInput(int cardInputId)
                                                              throws MythServiceApiRuntimeException
- POST

Parameters:
cardInputId -
Returns:
Throws:
MythServiceApiRuntimeException

updateCaptureCard

org.springframework.http.ResponseEntity<Bool> updateCaptureCard(int cardId,
                                                                String setting,
                                                                String value)
                                                                throws MythServiceApiRuntimeException
- POST

Parameters:
cardId -
setting -
value -
Returns:
Throws:
MythServiceApiRuntimeException

updateCardInput

org.springframework.http.ResponseEntity<Bool> updateCardInput(int cardInputId,
                                                              String setting,
                                                              String value)
                                                              throws MythServiceApiRuntimeException
- POST

Parameters:
cardInputId -
setting -
value -
Returns:
Throws:
MythServiceApiRuntimeException


Copyright © 2012. All Rights Reserved.