public class DvrTemplate extends AbstractOperations implements DvrOperations
formatter| Constructor and Description |
|---|
DvrTemplate(org.springframework.web.client.RestOperations restOperations,
String apiUrlBase) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Int> |
addRecordingSchedule(int channelId,
org.joda.time.DateTime startTime,
int parentId,
boolean interactive,
int season,
int episode,
String inetRef,
int findId,
String type,
String searchType,
int recordingPriority,
int perferredInput,
int startOffset,
int endOffset,
String duplicateMethod,
String duplicateIn,
int filter,
String recordingProfile,
String recordingGroup,
String storageGroup,
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 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,
String titleRegEx,
String recordingGroup,
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
|
buildUri, buildUri, buildUri, convertUtcAndFormat, getRequestEntity, handleResponseEtagpublic DvrTemplate(org.springframework.web.client.RestOperations restOperations,
String apiUrlBase)
restOperations - apiUrlBase - public org.springframework.http.ResponseEntity<Int> addRecordingSchedule(int channelId, org.joda.time.DateTime startTime, int parentId, boolean interactive, int season, int episode, String inetRef, int findId, String type, String searchType, int recordingPriority, int perferredInput, int startOffset, int endOffset, String duplicateMethod, String duplicateIn, int filter, String recordingProfile, String recordingGroup, String storageGroup, 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
DvrOperationsaddRecordingSchedule in interface DvrOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<Bool> disableRecordingSchedule(int recordingId) throws MythServiceApiRuntimeException
DvrOperationsdisableRecordingSchedule in interface DvrOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<Bool> enableRecordingSchedule(int recordingId) throws MythServiceApiRuntimeException
DvrOperationsenableRecordingSchedule in interface DvrOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<ProgramList> getConflictList(int startIndex, int count, ETagInfo etag) throws MythServiceApiRuntimeException
DvrOperationsgetConflictList in interface DvrOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<EncoderList> getEncoderList(ETagInfo etag) throws MythServiceApiRuntimeException
DvrOperationsgetEncoderList in interface DvrOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<ProgramList> getExpiringList(int startIndex, int count, ETagInfo etag) throws MythServiceApiRuntimeException
DvrOperationsgetExpiringList in interface DvrOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<ProgramList> getFiltererRecordedList(boolean descending, int startIndex, int count, String titleRegEx, String recordingGroup, String storageGroup, ETagInfo etag) throws MythServiceApiRuntimeException
DvrOperationsgetFiltererRecordedList in interface DvrOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<RecRuleWrapper> getRecordSchedule(int recordId, ETagInfo etag) throws MythServiceApiRuntimeException
DvrOperationsgetRecordSchedule in interface DvrOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<RecRuleList> getRecordScheduleList(int startIndex, int count, ETagInfo etag) throws MythServiceApiRuntimeException
DvrOperationsgetRecordScheduleList in interface DvrOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<ProgramWrapper> getRecorded(int channelId, org.joda.time.DateTime startTime, ETagInfo etag) throws MythServiceApiRuntimeException
DvrOperationsgetRecorded in interface DvrOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<ProgramList> getRecordedList(ETagInfo etag) throws MythServiceApiRuntimeException
DvrOperationsgetRecordedList in interface DvrOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<ProgramList> getRecordedList(int startIndex, int count, boolean descending, ETagInfo etag) throws MythServiceApiRuntimeException
DvrOperationsgetRecordedList in interface DvrOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<ProgramList> getUpcomingList(int startIndex, int count, boolean showAll, ETagInfo etag) throws MythServiceApiRuntimeException
DvrOperationsgetUpcomingList in interface DvrOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<Bool> removeRecordingSchedule(int recordingId) throws MythServiceApiRuntimeException
DvrOperationsremoveRecordingSchedule in interface DvrOperationsMythServiceApiRuntimeExceptionpublic org.springframework.http.ResponseEntity<Bool> removeRecorded(int channelId, org.joda.time.DateTime startTime) throws MythServiceApiRuntimeException
DvrOperationsremoveRecorded in interface DvrOperationsMythServiceApiRuntimeExceptionprotected String getApiUrlBase()
getApiUrlBase in class AbstractOperationsCopyright © 2012. All Rights Reserved.