org.mythtv.services.api.v027.impl
Class MythTemplate

java.lang.Object
  extended by org.mythtv.services.api.AbstractOperations
      extended by org.mythtv.services.api.v027.impl.MythTemplate
All Implemented Interfaces:
MythOperations

public class MythTemplate
extends AbstractOperations
implements MythOperations

Auto-generated file, do not modify manually !!!!


Field Summary
 
Fields inherited from class org.mythtv.services.api.AbstractOperations
formatter
 
Constructor Summary
MythTemplate(org.springframework.web.client.RestOperations restOperations, java.lang.String apiUrlBase)
           
 
Method Summary
 org.springframework.http.ResponseEntity<Bool> addStorageGroupDir(java.lang.String groupName, java.lang.String dirName, java.lang.String hostName)
           
 org.springframework.http.ResponseEntity<Bool> backupDatabase()
           
 org.springframework.http.ResponseEntity<Bool> changePassword(java.lang.String userName, java.lang.String oldPassword, java.lang.String newPassword)
           
 org.springframework.http.ResponseEntity<Bool> checkDatabase(java.lang.Boolean repair)
           
 org.springframework.http.ResponseEntity<ConnectionInfo> getConnectionInfo(java.lang.String pin, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<java.lang.String> getHostName(ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<ArrayOfString> getHosts(ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<ArrayOfString> getKeys(ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<LogMessageList> getLogs(java.lang.String hostName, java.lang.String application, java.lang.Integer pID, java.lang.Integer tID, java.lang.String thread, java.lang.String filename, java.lang.Integer line, java.lang.String function, org.joda.time.DateTime fromTime, org.joda.time.DateTime toTime, java.lang.String level, java.lang.String msgContains, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<SettingList> getSetting(java.lang.String hostName, java.lang.String key, java.lang.String defaultValue, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<StorageGroupDirList> getStorageGroupDirs(java.lang.String groupName, java.lang.String hostName, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<TimeZoneInfo> getTimeZone(ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<Bool> profileDelete()
           
 org.springframework.http.ResponseEntity<Bool> profileSubmit()
           
 org.springframework.http.ResponseEntity<java.lang.String> profileText(ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<java.lang.String> profileUpdated(ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<java.lang.String> profileURL(ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<Bool> putSetting(java.lang.String hostName, java.lang.String key, java.lang.String value)
           
 org.springframework.http.ResponseEntity<Bool> removeStorageGroupDir(java.lang.String groupName, java.lang.String dirName, java.lang.String hostName)
           
 org.springframework.http.ResponseEntity<Bool> sendMessage(java.lang.String message, java.lang.String address, java.lang.Integer udpPort, java.lang.Integer timeout, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<Bool> sendNotification(java.lang.Boolean error, java.lang.String type, java.lang.String message, java.lang.String origin, java.lang.String description, java.lang.String image, java.lang.String extra, java.lang.String progressText, java.lang.Float progress, java.lang.Integer timeout, java.lang.Boolean fullscreen, java.lang.Integer visibility, java.lang.Integer priority, java.lang.String address, java.lang.Integer udpPort, ETagInfo etagInfo)
           
 org.springframework.http.ResponseEntity<Bool> testDBSettings(java.lang.String hostName, java.lang.String userName, java.lang.String password, java.lang.String dBName, java.lang.Integer dbPort)
           
 
Methods inherited from class org.mythtv.services.api.AbstractOperations
buildUri, buildUri, buildUri, convertUtcAndFormat, getApiUrlBase, getRequestEntity, handleResponseEtag, setLogLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MythTemplate

public MythTemplate(org.springframework.web.client.RestOperations restOperations,
                    java.lang.String apiUrlBase)
Method Detail

addStorageGroupDir

public org.springframework.http.ResponseEntity<Bool> addStorageGroupDir(java.lang.String groupName,
                                                                        java.lang.String dirName,
                                                                        java.lang.String hostName)
                                                                 throws MythServiceApiRuntimeException
Specified by:
addStorageGroupDir in interface MythOperations
Throws:
MythServiceApiRuntimeException

backupDatabase

public org.springframework.http.ResponseEntity<Bool> backupDatabase()
                                                             throws MythServiceApiRuntimeException
Specified by:
backupDatabase in interface MythOperations
Throws:
MythServiceApiRuntimeException

changePassword

public org.springframework.http.ResponseEntity<Bool> changePassword(java.lang.String userName,
                                                                    java.lang.String oldPassword,
                                                                    java.lang.String newPassword)
                                                             throws MythServiceApiRuntimeException
Specified by:
changePassword in interface MythOperations
Throws:
MythServiceApiRuntimeException

checkDatabase

public org.springframework.http.ResponseEntity<Bool> checkDatabase(java.lang.Boolean repair)
                                                            throws MythServiceApiRuntimeException
Specified by:
checkDatabase in interface MythOperations
Throws:
MythServiceApiRuntimeException

getConnectionInfo

public org.springframework.http.ResponseEntity<ConnectionInfo> getConnectionInfo(java.lang.String pin,
                                                                                 ETagInfo etagInfo)
                                                                          throws MythServiceApiRuntimeException
Specified by:
getConnectionInfo in interface MythOperations
Throws:
MythServiceApiRuntimeException

getHostName

public org.springframework.http.ResponseEntity<java.lang.String> getHostName(ETagInfo etagInfo)
                                                                      throws MythServiceApiRuntimeException
Specified by:
getHostName in interface MythOperations
Throws:
MythServiceApiRuntimeException

getHosts

public org.springframework.http.ResponseEntity<ArrayOfString> getHosts(ETagInfo etagInfo)
                                                                throws MythServiceApiRuntimeException
Specified by:
getHosts in interface MythOperations
Throws:
MythServiceApiRuntimeException

getKeys

public org.springframework.http.ResponseEntity<ArrayOfString> getKeys(ETagInfo etagInfo)
                                                               throws MythServiceApiRuntimeException
Specified by:
getKeys in interface MythOperations
Throws:
MythServiceApiRuntimeException

getLogs

public org.springframework.http.ResponseEntity<LogMessageList> getLogs(java.lang.String hostName,
                                                                       java.lang.String application,
                                                                       java.lang.Integer pID,
                                                                       java.lang.Integer tID,
                                                                       java.lang.String thread,
                                                                       java.lang.String filename,
                                                                       java.lang.Integer line,
                                                                       java.lang.String function,
                                                                       org.joda.time.DateTime fromTime,
                                                                       org.joda.time.DateTime toTime,
                                                                       java.lang.String level,
                                                                       java.lang.String msgContains,
                                                                       ETagInfo etagInfo)
                                                                throws MythServiceApiRuntimeException
Specified by:
getLogs in interface MythOperations
Throws:
MythServiceApiRuntimeException

getSetting

public org.springframework.http.ResponseEntity<SettingList> getSetting(java.lang.String hostName,
                                                                       java.lang.String key,
                                                                       java.lang.String defaultValue,
                                                                       ETagInfo etagInfo)
                                                                throws MythServiceApiRuntimeException
Specified by:
getSetting in interface MythOperations
Throws:
MythServiceApiRuntimeException

getStorageGroupDirs

public org.springframework.http.ResponseEntity<StorageGroupDirList> getStorageGroupDirs(java.lang.String groupName,
                                                                                        java.lang.String hostName,
                                                                                        ETagInfo etagInfo)
                                                                                 throws MythServiceApiRuntimeException
Specified by:
getStorageGroupDirs in interface MythOperations
Throws:
MythServiceApiRuntimeException

getTimeZone

public org.springframework.http.ResponseEntity<TimeZoneInfo> getTimeZone(ETagInfo etagInfo)
                                                                  throws MythServiceApiRuntimeException
Specified by:
getTimeZone in interface MythOperations
Throws:
MythServiceApiRuntimeException

profileDelete

public org.springframework.http.ResponseEntity<Bool> profileDelete()
                                                            throws MythServiceApiRuntimeException
Specified by:
profileDelete in interface MythOperations
Throws:
MythServiceApiRuntimeException

profileSubmit

public org.springframework.http.ResponseEntity<Bool> profileSubmit()
                                                            throws MythServiceApiRuntimeException
Specified by:
profileSubmit in interface MythOperations
Throws:
MythServiceApiRuntimeException

profileText

public org.springframework.http.ResponseEntity<java.lang.String> profileText(ETagInfo etagInfo)
                                                                      throws MythServiceApiRuntimeException
Specified by:
profileText in interface MythOperations
Throws:
MythServiceApiRuntimeException

profileURL

public org.springframework.http.ResponseEntity<java.lang.String> profileURL(ETagInfo etagInfo)
                                                                     throws MythServiceApiRuntimeException
Specified by:
profileURL in interface MythOperations
Throws:
MythServiceApiRuntimeException

profileUpdated

public org.springframework.http.ResponseEntity<java.lang.String> profileUpdated(ETagInfo etagInfo)
                                                                         throws MythServiceApiRuntimeException
Specified by:
profileUpdated in interface MythOperations
Throws:
MythServiceApiRuntimeException

putSetting

public org.springframework.http.ResponseEntity<Bool> putSetting(java.lang.String hostName,
                                                                java.lang.String key,
                                                                java.lang.String value)
                                                         throws MythServiceApiRuntimeException
Specified by:
putSetting in interface MythOperations
Throws:
MythServiceApiRuntimeException

removeStorageGroupDir

public org.springframework.http.ResponseEntity<Bool> removeStorageGroupDir(java.lang.String groupName,
                                                                           java.lang.String dirName,
                                                                           java.lang.String hostName)
                                                                    throws MythServiceApiRuntimeException
Specified by:
removeStorageGroupDir in interface MythOperations
Throws:
MythServiceApiRuntimeException

sendMessage

public org.springframework.http.ResponseEntity<Bool> sendMessage(java.lang.String message,
                                                                 java.lang.String address,
                                                                 java.lang.Integer udpPort,
                                                                 java.lang.Integer timeout,
                                                                 ETagInfo etagInfo)
                                                          throws MythServiceApiRuntimeException
Specified by:
sendMessage in interface MythOperations
Throws:
MythServiceApiRuntimeException

sendNotification

public org.springframework.http.ResponseEntity<Bool> sendNotification(java.lang.Boolean error,
                                                                      java.lang.String type,
                                                                      java.lang.String message,
                                                                      java.lang.String origin,
                                                                      java.lang.String description,
                                                                      java.lang.String image,
                                                                      java.lang.String extra,
                                                                      java.lang.String progressText,
                                                                      java.lang.Float progress,
                                                                      java.lang.Integer timeout,
                                                                      java.lang.Boolean fullscreen,
                                                                      java.lang.Integer visibility,
                                                                      java.lang.Integer priority,
                                                                      java.lang.String address,
                                                                      java.lang.Integer udpPort,
                                                                      ETagInfo etagInfo)
                                                               throws MythServiceApiRuntimeException
Specified by:
sendNotification in interface MythOperations
Throws:
MythServiceApiRuntimeException

testDBSettings

public org.springframework.http.ResponseEntity<Bool> testDBSettings(java.lang.String hostName,
                                                                    java.lang.String userName,
                                                                    java.lang.String password,
                                                                    java.lang.String dBName,
                                                                    java.lang.Integer dbPort)
                                                             throws MythServiceApiRuntimeException
Specified by:
testDBSettings in interface MythOperations
Throws:
MythServiceApiRuntimeException