org.mythtv.services.api.channel
Interface ChannelOperations

All Known Implementing Classes:
ChannelTemplate

public interface ChannelOperations

Author:
Daniel Frey

Method Summary
 org.springframework.http.ResponseEntity<Bool> addDBChannel(int multiplexId, int sourceId, int channelId, String callSign, String channelName, String channelNumber, int serviceId, int atscMajorChannel, int atscMinorChannel, boolean userEIT, boolean visible, String frequencyId, String icon, String format, String xmltvId, String defaultAuthority)
          - POST
 org.springframework.http.ResponseEntity<Int> addVideoSource(String sourceName, String grabber, String userId, String frequencyTable, String lineupId, String password, boolean useEit, String configPath, int nitId)
          - POST
 org.springframework.http.ResponseEntity<Int> fetchChannelsFromSource(int sourceId, int cardId, boolean waitForFinish, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<ChannelInfoWrapper> getChannelInfo(int channelId, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<ChannelInfoList> getChannelInfoList(ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<ChannelInfoList> getChannelInfoList(int sourceId, int startIndex, int count, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<LineupList> getDDLineupList(String source, String userId, String password, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<VideoMultiplexWrapper> getVideoMultiplex(int multiplexId, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<VideoMultiplexList> getVideoMultiplexList(int sourceId, int startIndex, int count, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<VideoSourceWrapper> getVideoSource(int sourceId, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<VideoSourceList> getVideoSourceList(ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<StringList> getXmltvIdList(int sourceId, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<Bool> removeDBChannel(int channelId)
          - POST
 org.springframework.http.ResponseEntity<Bool> removeVideoSource(int sourceId)
          - POST
 org.springframework.http.ResponseEntity<Bool> updateDBChannel(int multiplexId, int sourceId, int channelId, String callSign, String channelName, String channelNumber, int serviceId, int atscMajorChannel, int atscMinorChannel, boolean useEIT, boolean visible, String frequencyId, String icon, String format, String xmltvId, String defaultAuthority)
          - POST
 org.springframework.http.ResponseEntity<Bool> updateVideoSource(int sourceId, String sourceName, String grabber, String userId, String frequencyTable, String lineupId, String password, boolean userEIT, String configPath, int nitId)
          - POST
 

Method Detail

addDBChannel

org.springframework.http.ResponseEntity<Bool> addDBChannel(int multiplexId,
                                                           int sourceId,
                                                           int channelId,
                                                           String callSign,
                                                           String channelName,
                                                           String channelNumber,
                                                           int serviceId,
                                                           int atscMajorChannel,
                                                           int atscMinorChannel,
                                                           boolean userEIT,
                                                           boolean visible,
                                                           String frequencyId,
                                                           String icon,
                                                           String format,
                                                           String xmltvId,
                                                           String defaultAuthority)
                                                           throws MythServiceApiRuntimeException
- POST

Parameters:
multiplexId -
sourceId -
channelId -
callSign -
channelName -
channelNumber -
serviceId -
atscMajorChannel -
atscMinorChannel -
userEIT -
visible -
frequencyId -
icon -
format -
xmltvId -
defaultAuthority -
Returns:
Throws:
MythServiceApiRuntimeException

addVideoSource

org.springframework.http.ResponseEntity<Int> addVideoSource(String sourceName,
                                                            String grabber,
                                                            String userId,
                                                            String frequencyTable,
                                                            String lineupId,
                                                            String password,
                                                            boolean useEit,
                                                            String configPath,
                                                            int nitId)
                                                            throws MythServiceApiRuntimeException
- POST

Parameters:
sourceName -
grabber -
userId -
frequencyTable -
lineupId -
password -
useEit -
configPath -
nitId -
Returns:
Throws:
MythServiceApiRuntimeException

fetchChannelsFromSource

org.springframework.http.ResponseEntity<Int> fetchChannelsFromSource(int sourceId,
                                                                     int cardId,
                                                                     boolean waitForFinish,
                                                                     ETagInfo etag)
                                                                     throws MythServiceApiRuntimeException
- GET

Parameters:
sourceId -
cardId -
waitForFinish -
Returns:
Throws:
MythServiceApiRuntimeException

getChannelInfo

org.springframework.http.ResponseEntity<ChannelInfoWrapper> getChannelInfo(int channelId,
                                                                           ETagInfo etag)
                                                                           throws MythServiceApiRuntimeException
- GET

Parameters:
channelId -
Returns:
Throws:
MythServiceApiRuntimeException

getChannelInfoList

org.springframework.http.ResponseEntity<ChannelInfoList> getChannelInfoList(int sourceId,
                                                                            int startIndex,
                                                                            int count,
                                                                            ETagInfo etag)
                                                                            throws MythServiceApiRuntimeException
- GET

Parameters:
sourceId -
startIndex -
count -
Returns:
Throws:
MythServiceApiRuntimeException

getChannelInfoList

org.springframework.http.ResponseEntity<ChannelInfoList> getChannelInfoList(ETagInfo etag)
                                                                            throws MythServiceApiRuntimeException
- GET

Returns:
Throws:
MythServiceApiRuntimeException

getDDLineupList

org.springframework.http.ResponseEntity<LineupList> getDDLineupList(String source,
                                                                    String userId,
                                                                    String password,
                                                                    ETagInfo etag)
                                                                    throws MythServiceApiRuntimeException
- GET

Parameters:
source -
userId -
password -
Returns:
Throws:
MythServiceApiRuntimeException

getVideoMultiplex

org.springframework.http.ResponseEntity<VideoMultiplexWrapper> getVideoMultiplex(int multiplexId,
                                                                                 ETagInfo etag)
                                                                                 throws MythServiceApiRuntimeException
- GET

Parameters:
multiplexId -
Returns:
Throws:
MythServiceApiRuntimeException

getVideoMultiplexList

org.springframework.http.ResponseEntity<VideoMultiplexList> getVideoMultiplexList(int sourceId,
                                                                                  int startIndex,
                                                                                  int count,
                                                                                  ETagInfo etag)
                                                                                  throws MythServiceApiRuntimeException
- GET

Parameters:
sourceId -
startIndex -
count -
Returns:
Throws:
MythServiceApiRuntimeException

getVideoSource

org.springframework.http.ResponseEntity<VideoSourceWrapper> getVideoSource(int sourceId,
                                                                           ETagInfo etag)
                                                                           throws MythServiceApiRuntimeException
- GET

Parameters:
sourceId -
Returns:
Throws:
MythServiceApiRuntimeException

getVideoSourceList

org.springframework.http.ResponseEntity<VideoSourceList> getVideoSourceList(ETagInfo etag)
                                                                            throws MythServiceApiRuntimeException
- GET

Returns:
Throws:
MythServiceApiRuntimeException

getXmltvIdList

org.springframework.http.ResponseEntity<StringList> getXmltvIdList(int sourceId,
                                                                   ETagInfo etag)
                                                                   throws MythServiceApiRuntimeException
- GET

Parameters:
sourceId -
Returns:
Throws:
MythServiceApiRuntimeException

removeDBChannel

org.springframework.http.ResponseEntity<Bool> removeDBChannel(int channelId)
                                                              throws MythServiceApiRuntimeException
- POST

Parameters:
channelId -
Returns:
Throws:
MythServiceApiRuntimeException

removeVideoSource

org.springframework.http.ResponseEntity<Bool> removeVideoSource(int sourceId)
                                                                throws MythServiceApiRuntimeException
- POST

Parameters:
sourceId -
Returns:
Throws:
MythServiceApiRuntimeException

updateDBChannel

org.springframework.http.ResponseEntity<Bool> updateDBChannel(int multiplexId,
                                                              int sourceId,
                                                              int channelId,
                                                              String callSign,
                                                              String channelName,
                                                              String channelNumber,
                                                              int serviceId,
                                                              int atscMajorChannel,
                                                              int atscMinorChannel,
                                                              boolean useEIT,
                                                              boolean visible,
                                                              String frequencyId,
                                                              String icon,
                                                              String format,
                                                              String xmltvId,
                                                              String defaultAuthority)
                                                              throws MythServiceApiRuntimeException
- POST

Parameters:
multiplexId -
sourceId -
channelId -
callSign -
channelName -
channelNumber -
serviceId -
atscMajorChannel -
atscMinorChannel -
useEIT -
visible -
frequencyId -
icon -
format -
xmltvId -
defaultAuthority -
Returns:
Throws:
MythServiceApiRuntimeException

updateVideoSource

org.springframework.http.ResponseEntity<Bool> updateVideoSource(int sourceId,
                                                                String sourceName,
                                                                String grabber,
                                                                String userId,
                                                                String frequencyTable,
                                                                String lineupId,
                                                                String password,
                                                                boolean userEIT,
                                                                String configPath,
                                                                int nitId)
                                                                throws MythServiceApiRuntimeException
- POST

Parameters:
sourceId -
sourceName -
grabber -
userId -
frequencyTable -
lineupId -
password -
userEIT -
configPath -
nitId -
Returns:
Throws:
MythServiceApiRuntimeException


Copyright © 2012. All Rights Reserved.