|
|||||||||
| 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.ChannelTemplate
public class ChannelTemplate
| Nested Class Summary | |
|---|---|
static class |
ChannelTemplate.Endpoint
|
| Field Summary |
|---|
| Fields inherited from class org.mythtv.services.api.AbstractOperations |
|---|
formatter |
| Constructor Summary | |
|---|---|
ChannelTemplate(org.springframework.web.client.RestOperations restOperations,
java.lang.String apiUrlBase)
|
|
| Method Summary | |
|---|---|
org.springframework.http.ResponseEntity<Bool> |
addDBChannel(int multiplexId,
int sourceId,
int channelId,
java.lang.String callSign,
java.lang.String channelName,
java.lang.String channelNumber,
int serviceId,
int atscMajorChannel,
int atscMinorChannel,
boolean userEIT,
boolean visible,
java.lang.String frequencyId,
java.lang.String icon,
java.lang.String format,
java.lang.String xmltvId,
java.lang.String defaultAuthority)
- POST |
org.springframework.http.ResponseEntity<Int> |
addVideoSource(java.lang.String sourceName,
java.lang.String grabber,
java.lang.String userId,
java.lang.String frequencyTable,
java.lang.String lineupId,
java.lang.String password,
boolean useEit,
java.lang.String configPath,
int nitId)
- POST |
org.springframework.http.ResponseEntity<Int> |
fetchChannelsFromSource(int sourceId,
int cardId,
boolean waitForFinish,
ETagInfo etag)
- GET |
protected java.lang.String |
getApiUrlBase()
|
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(java.lang.String source,
java.lang.String userId,
java.lang.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,
java.lang.String callSign,
java.lang.String channelName,
java.lang.String channelNumber,
int serviceId,
int atscMajorChannel,
int atscMinorChannel,
boolean useEIT,
boolean visible,
java.lang.String frequencyId,
java.lang.String icon,
java.lang.String format,
java.lang.String xmltvId,
java.lang.String defaultAuthority)
- POST |
org.springframework.http.ResponseEntity<Bool> |
updateVideoSource(int sourceId,
java.lang.String sourceName,
java.lang.String grabber,
java.lang.String userId,
java.lang.String frequencyTable,
java.lang.String lineupId,
java.lang.String password,
boolean userEIT,
java.lang.String configPath,
int nitId)
- 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 ChannelTemplate(org.springframework.web.client.RestOperations restOperations,
java.lang.String apiUrlBase)
| Method Detail |
|---|
public org.springframework.http.ResponseEntity<Bool> addDBChannel(int multiplexId,
int sourceId,
int channelId,
java.lang.String callSign,
java.lang.String channelName,
java.lang.String channelNumber,
int serviceId,
int atscMajorChannel,
int atscMinorChannel,
boolean userEIT,
boolean visible,
java.lang.String frequencyId,
java.lang.String icon,
java.lang.String format,
java.lang.String xmltvId,
java.lang.String defaultAuthority)
throws MythServiceApiRuntimeException
ChannelOperations
addDBChannel in interface ChannelOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<Int> addVideoSource(java.lang.String sourceName,
java.lang.String grabber,
java.lang.String userId,
java.lang.String frequencyTable,
java.lang.String lineupId,
java.lang.String password,
boolean useEit,
java.lang.String configPath,
int nitId)
throws MythServiceApiRuntimeException
ChannelOperations
addVideoSource in interface ChannelOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<Int> fetchChannelsFromSource(int sourceId,
int cardId,
boolean waitForFinish,
ETagInfo etag)
throws MythServiceApiRuntimeException
ChannelOperations
fetchChannelsFromSource in interface ChannelOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<ChannelInfoWrapper> getChannelInfo(int channelId,
ETagInfo etag)
throws MythServiceApiRuntimeException
ChannelOperations
getChannelInfo in interface ChannelOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<ChannelInfoList> getChannelInfoList(int sourceId,
int startIndex,
int count,
ETagInfo etag)
throws MythServiceApiRuntimeException
ChannelOperations
getChannelInfoList in interface ChannelOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<ChannelInfoList> getChannelInfoList(ETagInfo etag)
throws MythServiceApiRuntimeException
ChannelOperations
getChannelInfoList in interface ChannelOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<LineupList> getDDLineupList(java.lang.String source,
java.lang.String userId,
java.lang.String password,
ETagInfo etag)
throws MythServiceApiRuntimeException
ChannelOperations
getDDLineupList in interface ChannelOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<VideoMultiplexWrapper> getVideoMultiplex(int multiplexId,
ETagInfo etag)
throws MythServiceApiRuntimeException
ChannelOperations
getVideoMultiplex in interface ChannelOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<VideoMultiplexList> getVideoMultiplexList(int sourceId,
int startIndex,
int count,
ETagInfo etag)
throws MythServiceApiRuntimeException
ChannelOperations
getVideoMultiplexList in interface ChannelOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<VideoSourceWrapper> getVideoSource(int sourceId,
ETagInfo etag)
throws MythServiceApiRuntimeException
ChannelOperations
getVideoSource in interface ChannelOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<VideoSourceList> getVideoSourceList(ETagInfo etag)
throws MythServiceApiRuntimeException
ChannelOperations
getVideoSourceList in interface ChannelOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<StringList> getXmltvIdList(int sourceId,
ETagInfo etag)
throws MythServiceApiRuntimeException
ChannelOperations
getXmltvIdList in interface ChannelOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<Bool> removeDBChannel(int channelId)
throws MythServiceApiRuntimeException
ChannelOperations
removeDBChannel in interface ChannelOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<Bool> removeVideoSource(int sourceId)
throws MythServiceApiRuntimeException
ChannelOperations
removeVideoSource in interface ChannelOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<Bool> updateDBChannel(int multiplexId,
int sourceId,
int channelId,
java.lang.String callSign,
java.lang.String channelName,
java.lang.String channelNumber,
int serviceId,
int atscMajorChannel,
int atscMinorChannel,
boolean useEIT,
boolean visible,
java.lang.String frequencyId,
java.lang.String icon,
java.lang.String format,
java.lang.String xmltvId,
java.lang.String defaultAuthority)
throws MythServiceApiRuntimeException
ChannelOperations
updateDBChannel in interface ChannelOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<Bool> updateVideoSource(int sourceId,
java.lang.String sourceName,
java.lang.String grabber,
java.lang.String userId,
java.lang.String frequencyTable,
java.lang.String lineupId,
java.lang.String password,
boolean userEIT,
java.lang.String configPath,
int nitId)
throws MythServiceApiRuntimeException
ChannelOperations
updateVideoSource in interface ChannelOperationsMythServiceApiRuntimeExceptionprotected java.lang.String getApiUrlBase()
getApiUrlBase in class AbstractOperations
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||