org.mythtv.services.api.guide.impl
Class GuideTemplate
java.lang.Object
org.mythtv.services.api.AbstractOperations
org.mythtv.services.api.guide.impl.GuideTemplate
- All Implemented Interfaces:
- GuideOperations
public class GuideTemplate
- extends AbstractOperations
- implements GuideOperations
- Author:
- Daniel Frey
|
Constructor Summary |
GuideTemplate(org.springframework.web.client.RestOperations restOperations,
String apiUrlBase)
|
|
Method Summary |
protected String |
getApiUrlBase()
|
org.springframework.http.ResponseEntity<String> |
getChannelIcon(int channelId,
int width,
int height,
ETagInfo etag)
- GET |
org.springframework.http.ResponseEntity<ProgramWrapper> |
getProgramDetails(int channelId,
org.joda.time.DateTime startTime,
ETagInfo etag)
- GET |
org.springframework.http.ResponseEntity<ProgramGuideWrapper> |
getProgramGuide(org.joda.time.DateTime start,
org.joda.time.DateTime end,
int startChannelId,
int numberOfChannels,
boolean details,
ETagInfo etag)
- GET |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GuideTemplate
public GuideTemplate(org.springframework.web.client.RestOperations restOperations,
String apiUrlBase)
getChannelIcon
public org.springframework.http.ResponseEntity<String> getChannelIcon(int channelId,
int width,
int height,
ETagInfo etag)
throws MythServiceApiRuntimeException
- Description copied from interface:
GuideOperations
- - GET
- Specified by:
getChannelIcon in interface GuideOperations
- Returns:
-
- Throws:
MythServiceApiRuntimeException
getProgramDetails
public org.springframework.http.ResponseEntity<ProgramWrapper> getProgramDetails(int channelId,
org.joda.time.DateTime startTime,
ETagInfo etag)
throws MythServiceApiRuntimeException
- Description copied from interface:
GuideOperations
- - GET
- Specified by:
getProgramDetails in interface GuideOperations
- Returns:
-
- Throws:
MythServiceApiRuntimeException
getProgramGuide
public org.springframework.http.ResponseEntity<ProgramGuideWrapper> getProgramGuide(org.joda.time.DateTime start,
org.joda.time.DateTime end,
int startChannelId,
int numberOfChannels,
boolean details,
ETagInfo etag)
throws MythServiceApiRuntimeException
- Description copied from interface:
GuideOperations
- - GET
- Specified by:
getProgramGuide in interface GuideOperations
- Returns:
-
- Throws:
MythServiceApiRuntimeException
getApiUrlBase
protected String getApiUrlBase()
- Overrides:
getApiUrlBase in class AbstractOperations
- Returns:
Copyright © 2012. All Rights Reserved.