org.jmythapi.database
Interface IDatabase
- All Known Implementing Classes:
- DataBase
public interface IDatabase
DEFAULT_PORT
static final int DEFAULT_PORT
- See Also:
- Constant Field Values
DEFAULT_USER
static final String DEFAULT_USER
- See Also:
- Constant Field Values
DEFAULT_DB
static final String DEFAULT_DB
- See Also:
- Constant Field Values
SETTING_HOST_ANY
static final String SETTING_HOST_ANY
- See Also:
- Constant Field Values
getDbVersion
int getDbVersion()
- Gets the current database version.
- Returns:
- the database version
getChannelInfo
IRecorderChannelInfo getChannelInfo(Integer chanID)
throws IOException
- Gets informations about the given channel
- Parameters:
chanID
- the channel id
- Returns:
- informations about the given channel
- Throws:
IOException
- on communication errors
getChannelInfosByCallSign
List<IRecorderChannelInfo> getChannelInfosByCallSign(String callSign)
throws IOException
- Throws:
IOException
getChannelInfos
List<IRecorderChannelInfo> getChannelInfos()
throws IOException
- Throws:
IOException
getChannelInfos
List<IRecorderChannelInfo> getChannelInfos(IRecorderInfo recorder)
throws IOException
- Throws:
IOException
getChannelInfos
List<IRecorderChannelInfo> getChannelInfos(Integer recorderID)
throws IOException
- Throws:
IOException
getRecorderForNum
IRecorderInfo getRecorderForNum(Integer recorderId)
throws IOException
- Throws:
IOException
getRecorders
List<IRecorderInfo> getRecorders()
throws IOException
- Throws:
IOException
querySetting
ISetting querySetting(String hostName,
String settingName)
throws IOException
- Throws:
IOException
querySettings
List<ISetting> querySettings(String hostName)
throws IOException
- Throws:
IOException
querySettings
List<ISetting> querySettings(String hostName,
String... settingsNames)
throws IOException
- Throws:
IOException
querySettingsMap
Map<String,ISetting> querySettingsMap(String hostName,
String... settingsNames)
throws IOException
- Throws:
IOException
queryMythFillStatus
IMythFillDatabaseSettings queryMythFillStatus()
throws IOException
- Throws:
IOException
queryMythShutdownStatus
IMythShutdownSettings queryMythShutdownStatus()
throws IOException
- Throws:
IOException
queryNextProgramInfo
IRecorderNextProgramInfo queryNextProgramInfo(IBasicChannelInfo channelInfo,
Date startDateTime)
throws IOException
- Throws:
IOException
queryNextProgramInfo
IRecorderNextProgramInfo queryNextProgramInfo(Integer channelId,
Date startDateTime)
throws IOException
- Throws:
IOException
queryGuideDataThrough
IGuideDataThrough queryGuideDataThrough()
throws IOException
- Throws:
IOException
getStorageGroups
List<IStorageGroup> getStorageGroups()
throws IOException
- Throws:
IOException
getStorageGroupDirectories
List<IStorageGroupDirectory> getStorageGroupDirectories()
throws IOException
- Throws:
IOException
getJobs
List<IJobQueue> getJobs()
throws IOException
- Throws:
IOException
getJob
IJobQueue getJob(Integer jobId)
throws IOException
- Throws:
IOException
addJob
Integer addJob(JobQueue job)
throws IOException
- Throws:
IOException
controlJob
boolean controlJob(Integer jobId,
IJobCommand command)
throws IOException
- Throws:
IOException
deleteJob
boolean deleteJob(Integer jobId)
throws IOException
- Throws:
IOException
getSchedules
List<ISchedule> getSchedules()
throws IOException
- Throws:
IOException
getSchedule
ISchedule getSchedule(Integer scheduleId)
throws IOException
- Throws:
IOException
addSchedule
Integer addSchedule(Schedule schedule)
throws IOException
- Throws:
IOException
deleteSchedule
boolean deleteSchedule(Integer scheduleId)
throws IOException
- Throws:
IOException
Copyright © 2008-2013. All Rights Reserved.