|
|||||||||
| 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.DvrTemplate
public class DvrTemplate
| Nested Class Summary | |
|---|---|
static class |
DvrTemplate.Endpoint
|
| Field Summary |
|---|
| Fields inherited from class org.mythtv.services.api.AbstractOperations |
|---|
formatter |
| Constructor Summary | |
|---|---|
DvrTemplate(org.springframework.web.client.RestOperations restOperations,
java.lang.String apiUrlBase)
|
|
| Method Summary | |
|---|---|
org.springframework.http.ResponseEntity<Int> |
addRecordingSchedule(int channelId,
org.joda.time.DateTime startTime,
int parentId,
boolean interactive,
int season,
int episode,
java.lang.String inetRef,
int findId,
java.lang.String type,
java.lang.String searchType,
int recordingPriority,
int perferredInput,
int startOffset,
int endOffset,
java.lang.String duplicateMethod,
java.lang.String duplicateIn,
int filter,
java.lang.String recordingProfile,
java.lang.String recordingGroup,
java.lang.String storageGroup,
java.lang.String playGroup,
boolean autoExpire,
int maxEpisodes,
boolean maxNewest,
boolean autoCommercialFlag,
boolean autoTranscode,
boolean autoMetadataLookup,
boolean autoUserJob1,
boolean autoUserJob2,
boolean autoUserJob3,
boolean autoUserJob4,
int transcoder)
- POST |
org.springframework.http.ResponseEntity<Bool> |
disableRecordingSchedule(int recordingId)
- POST |
org.springframework.http.ResponseEntity<Bool> |
enableRecordingSchedule(int recordingId)
- POST |
protected java.lang.String |
getApiUrlBase()
|
org.springframework.http.ResponseEntity<ProgramList> |
getConflictList(int startIndex,
int count,
ETagInfo etag)
- GET |
org.springframework.http.ResponseEntity<EncoderList> |
getEncoderList(ETagInfo etag)
- GET |
org.springframework.http.ResponseEntity<ProgramList> |
getExpiringList(int startIndex,
int count,
ETagInfo etag)
- GET |
org.springframework.http.ResponseEntity<ProgramList> |
getFiltererRecordedList(boolean descending,
int startIndex,
int count,
java.lang.String titleRegEx,
java.lang.String recordingGroup,
java.lang.String storageGroup,
ETagInfo etag)
- GET |
org.springframework.http.ResponseEntity<ProgramWrapper> |
getRecorded(int channelId,
org.joda.time.DateTime startTime,
ETagInfo etag)
- GET |
org.springframework.http.ResponseEntity<ProgramList> |
getRecordedList(ETagInfo etag)
- GET |
org.springframework.http.ResponseEntity<ProgramList> |
getRecordedList(int startIndex,
int count,
boolean descending,
ETagInfo etag)
- GET |
org.springframework.http.ResponseEntity<RecRuleWrapper> |
getRecordSchedule(int recordId,
ETagInfo etag)
- GET |
org.springframework.http.ResponseEntity<RecRuleList> |
getRecordScheduleList(int startIndex,
int count,
ETagInfo etag)
- GET |
org.springframework.http.ResponseEntity<ProgramList> |
getUpcomingList(int startIndex,
int count,
boolean showAll,
ETagInfo etag)
- GET |
org.springframework.http.ResponseEntity<Bool> |
removeRecorded(int channelId,
org.joda.time.DateTime startTime)
- GET |
org.springframework.http.ResponseEntity<Bool> |
removeRecordingSchedule(int recordingId)
- 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 DvrTemplate(org.springframework.web.client.RestOperations restOperations,
java.lang.String apiUrlBase)
restOperations - apiUrlBase - | Method Detail |
|---|
public org.springframework.http.ResponseEntity<Int> addRecordingSchedule(int channelId,
org.joda.time.DateTime startTime,
int parentId,
boolean interactive,
int season,
int episode,
java.lang.String inetRef,
int findId,
java.lang.String type,
java.lang.String searchType,
int recordingPriority,
int perferredInput,
int startOffset,
int endOffset,
java.lang.String duplicateMethod,
java.lang.String duplicateIn,
int filter,
java.lang.String recordingProfile,
java.lang.String recordingGroup,
java.lang.String storageGroup,
java.lang.String playGroup,
boolean autoExpire,
int maxEpisodes,
boolean maxNewest,
boolean autoCommercialFlag,
boolean autoTranscode,
boolean autoMetadataLookup,
boolean autoUserJob1,
boolean autoUserJob2,
boolean autoUserJob3,
boolean autoUserJob4,
int transcoder)
throws MythServiceApiRuntimeException
DvrOperations
addRecordingSchedule in interface DvrOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<Bool> disableRecordingSchedule(int recordingId)
throws MythServiceApiRuntimeException
DvrOperations
disableRecordingSchedule in interface DvrOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<Bool> enableRecordingSchedule(int recordingId)
throws MythServiceApiRuntimeException
DvrOperations
enableRecordingSchedule in interface DvrOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<ProgramList> getConflictList(int startIndex,
int count,
ETagInfo etag)
throws MythServiceApiRuntimeException
DvrOperations
getConflictList in interface DvrOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<EncoderList> getEncoderList(ETagInfo etag)
throws MythServiceApiRuntimeException
DvrOperations
getEncoderList in interface DvrOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<ProgramList> getExpiringList(int startIndex,
int count,
ETagInfo etag)
throws MythServiceApiRuntimeException
DvrOperations
getExpiringList in interface DvrOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<ProgramList> getFiltererRecordedList(boolean descending,
int startIndex,
int count,
java.lang.String titleRegEx,
java.lang.String recordingGroup,
java.lang.String storageGroup,
ETagInfo etag)
throws MythServiceApiRuntimeException
DvrOperations
getFiltererRecordedList in interface DvrOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<RecRuleWrapper> getRecordSchedule(int recordId,
ETagInfo etag)
throws MythServiceApiRuntimeException
DvrOperations
getRecordSchedule in interface DvrOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<RecRuleList> getRecordScheduleList(int startIndex,
int count,
ETagInfo etag)
throws MythServiceApiRuntimeException
DvrOperations
getRecordScheduleList in interface DvrOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<ProgramWrapper> getRecorded(int channelId,
org.joda.time.DateTime startTime,
ETagInfo etag)
throws MythServiceApiRuntimeException
DvrOperations
getRecorded in interface DvrOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<ProgramList> getRecordedList(ETagInfo etag)
throws MythServiceApiRuntimeException
DvrOperations
getRecordedList in interface DvrOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<ProgramList> getRecordedList(int startIndex,
int count,
boolean descending,
ETagInfo etag)
throws MythServiceApiRuntimeException
DvrOperations
getRecordedList in interface DvrOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<ProgramList> getUpcomingList(int startIndex,
int count,
boolean showAll,
ETagInfo etag)
throws MythServiceApiRuntimeException
DvrOperations
getUpcomingList in interface DvrOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<Bool> removeRecordingSchedule(int recordingId)
throws MythServiceApiRuntimeException
DvrOperations
removeRecordingSchedule in interface DvrOperationsMythServiceApiRuntimeException
public org.springframework.http.ResponseEntity<Bool> removeRecorded(int channelId,
org.joda.time.DateTime startTime)
throws MythServiceApiRuntimeException
DvrOperations
removeRecorded in interface DvrOperationsMythServiceApiRuntimeExceptionprotected java.lang.String getApiUrlBase()
getApiUrlBase in class AbstractOperations
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||