org.mythtv.services.api.v026
Interface MythOperations

All Known Implementing Classes:
MythTemplate

public interface MythOperations


Method Summary
 org.springframework.http.ResponseEntity<Bool> addStorageGroupDir(java.lang.String groupName, java.lang.String directoryName, java.lang.String hostName)
          - POST
 org.springframework.http.ResponseEntity<Bool> backupDatabase()
          - POST
 org.springframework.http.ResponseEntity<Bool> changePassword(java.lang.String username, java.lang.String oldPassword, java.lang.String newPassword)
          - POST
 org.springframework.http.ResponseEntity<Bool> checkDatabase(boolean repair)
          - POST
 org.springframework.http.ResponseEntity<ConnectionInfo> getConnectionInfo(java.lang.String pin, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<StringWrapper> getHostName()
          - GET
 org.springframework.http.ResponseEntity<StringList> getHosts(ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<StringList> getKeys(ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<LogMessageList> getLogs(java.lang.String hostname, java.lang.String application, int pid, int tid, java.lang.String thread, java.lang.String filename, int line, java.lang.String function, org.joda.time.DateTime from, org.joda.time.DateTime to, java.lang.String level, java.lang.String messageContains, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<SettingList> getSetting(java.lang.String hostname, java.lang.String key, java.lang.String defaultValue, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<StorageGroupDirectoryList> getStorageGroupDirectories(java.lang.String groupName, java.lang.String hostname, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<TimeZoneInfo> getTimeZoneInfo()
          - GET
 org.springframework.http.ResponseEntity<Bool> profileDelete()
          - POST
 org.springframework.http.ResponseEntity<Bool> profileSubmit()
          - POST
 org.springframework.http.ResponseEntity<StringWrapper> profileText()
          - GET
 org.springframework.http.ResponseEntity<StringWrapper> profileUpdated()
          - GET
 org.springframework.http.ResponseEntity<StringWrapper> profileUrl()
          - GET
 org.springframework.http.ResponseEntity<Bool> putSetting(java.lang.String hostname, java.lang.String key, java.lang.String value)
          - POST
 org.springframework.http.ResponseEntity<Bool> removeStorageGroupDir(java.lang.String groupName, java.lang.String directoryName, java.lang.String hostName)
          - POST
 org.springframework.http.ResponseEntity<Bool> sendMessage(java.lang.String message, java.lang.String address, int udpPort, int timeout)
          - GET
 org.springframework.http.ResponseEntity<Bool> testDatabaseSettings(java.lang.String hostname, java.lang.String username, java.lang.String password, java.lang.String databaseName, int databasePort)
          - POST
 

Method Detail

addStorageGroupDir

org.springframework.http.ResponseEntity<Bool> addStorageGroupDir(java.lang.String groupName,
                                                                 java.lang.String directoryName,
                                                                 java.lang.String hostName)
                                                                 throws MythServiceApiRuntimeException
- POST

Parameters:
groupName -
directoryName -
hostName -
Returns:
Throws:
MythServiceApiRuntimeException

backupDatabase

org.springframework.http.ResponseEntity<Bool> backupDatabase()
                                                             throws MythServiceApiRuntimeException
- POST

Returns:
Throws:
MythServiceApiRuntimeException

changePassword

org.springframework.http.ResponseEntity<Bool> changePassword(java.lang.String username,
                                                             java.lang.String oldPassword,
                                                             java.lang.String newPassword)
                                                             throws MythServiceApiRuntimeException
- POST

Parameters:
username -
oldPassword -
newPassword -
Returns:
Throws:
MythServiceApiRuntimeException

checkDatabase

org.springframework.http.ResponseEntity<Bool> checkDatabase(boolean repair)
                                                            throws MythServiceApiRuntimeException
- POST

Parameters:
repair -
Returns:
Throws:
MythServiceApiRuntimeException

getConnectionInfo

org.springframework.http.ResponseEntity<ConnectionInfo> getConnectionInfo(java.lang.String pin,
                                                                          ETagInfo etag)
                                                                          throws MythServiceApiRuntimeException
- GET

Parameters:
pin -
Returns:
Throws:
MythServiceApiRuntimeException

getHostName

org.springframework.http.ResponseEntity<StringWrapper> getHostName()
                                                                   throws MythServiceApiRuntimeException
- GET

Returns:
Throws:
MythServiceApiRuntimeException

getHosts

org.springframework.http.ResponseEntity<StringList> getHosts(ETagInfo etag)
                                                             throws MythServiceApiRuntimeException
- GET

Returns:
Throws:
MythServiceApiRuntimeException

getKeys

org.springframework.http.ResponseEntity<StringList> getKeys(ETagInfo etag)
                                                            throws MythServiceApiRuntimeException
- GET

Returns:
Throws:
MythServiceApiRuntimeException

getLogs

org.springframework.http.ResponseEntity<LogMessageList> getLogs(java.lang.String hostname,
                                                                java.lang.String application,
                                                                int pid,
                                                                int tid,
                                                                java.lang.String thread,
                                                                java.lang.String filename,
                                                                int line,
                                                                java.lang.String function,
                                                                org.joda.time.DateTime from,
                                                                org.joda.time.DateTime to,
                                                                java.lang.String level,
                                                                java.lang.String messageContains,
                                                                ETagInfo etag)
                                                                throws MythServiceApiRuntimeException
- GET

Parameters:
hostname -
application -
pid -
tid -
thread -
filename -
line -
function -
from -
to -
level -
messageContains -
Returns:
Throws:
MythServiceApiRuntimeException

getSetting

org.springframework.http.ResponseEntity<SettingList> getSetting(java.lang.String hostname,
                                                                java.lang.String key,
                                                                java.lang.String defaultValue,
                                                                ETagInfo etag)
                                                                throws MythServiceApiRuntimeException
- GET

Parameters:
hostname -
key -
defaultValue -
Returns:
Throws:
MythServiceApiRuntimeException

getStorageGroupDirectories

org.springframework.http.ResponseEntity<StorageGroupDirectoryList> getStorageGroupDirectories(java.lang.String groupName,
                                                                                              java.lang.String hostname,
                                                                                              ETagInfo etag)
                                                                                              throws MythServiceApiRuntimeException
- GET

Parameters:
groupName -
hostname -
Returns:
Throws:
MythServiceApiRuntimeException

getTimeZoneInfo

org.springframework.http.ResponseEntity<TimeZoneInfo> getTimeZoneInfo()
                                                                      throws MythServiceApiRuntimeException
- GET

Returns:
Throws:
MythServiceApiRuntimeException

profileDelete

org.springframework.http.ResponseEntity<Bool> profileDelete()
                                                            throws MythServiceApiRuntimeException
- POST

Returns:
Throws:
MythServiceApiRuntimeException

profileSubmit

org.springframework.http.ResponseEntity<Bool> profileSubmit()
                                                            throws MythServiceApiRuntimeException
- POST

Returns:
Throws:
MythServiceApiRuntimeException

profileText

org.springframework.http.ResponseEntity<StringWrapper> profileText()
                                                                   throws MythServiceApiRuntimeException
- GET

Returns:
Throws:
MythServiceApiRuntimeException

profileUrl

org.springframework.http.ResponseEntity<StringWrapper> profileUrl()
                                                                  throws MythServiceApiRuntimeException
- GET

Returns:
Throws:
MythServiceApiRuntimeException

profileUpdated

org.springframework.http.ResponseEntity<StringWrapper> profileUpdated()
                                                                      throws MythServiceApiRuntimeException
- GET

Returns:
Throws:
MythServiceApiRuntimeException

putSetting

org.springframework.http.ResponseEntity<Bool> putSetting(java.lang.String hostname,
                                                         java.lang.String key,
                                                         java.lang.String value)
                                                         throws MythServiceApiRuntimeException
- POST

Parameters:
hostname -
key -
value -
Returns:
Throws:
MythServiceApiRuntimeException

removeStorageGroupDir

org.springframework.http.ResponseEntity<Bool> removeStorageGroupDir(java.lang.String groupName,
                                                                    java.lang.String directoryName,
                                                                    java.lang.String hostName)
                                                                    throws MythServiceApiRuntimeException
- POST

Parameters:
groupName -
directoryName -
hostName -
Returns:
Throws:
MythServiceApiRuntimeException

sendMessage

org.springframework.http.ResponseEntity<Bool> sendMessage(java.lang.String message,
                                                          java.lang.String address,
                                                          int udpPort,
                                                          int timeout)
                                                          throws MythServiceApiRuntimeException
- GET

Parameters:
message -
address -
udpPort -
timeout -
Returns:
Throws:
MythServiceApiRuntimeException

testDatabaseSettings

org.springframework.http.ResponseEntity<Bool> testDatabaseSettings(java.lang.String hostname,
                                                                   java.lang.String username,
                                                                   java.lang.String password,
                                                                   java.lang.String databaseName,
                                                                   int databasePort)
                                                                   throws MythServiceApiRuntimeException
- POST

Parameters:
hostname -
username -
password -
databaseName -
databasePort -
Returns:
Throws:
MythServiceApiRuntimeException