public abstract class Favorite extends Object
Constructor and Description |
---|
Favorite() |
Favorite(ObjectInputStream in) |
Modifier and Type | Method and Description |
---|---|
void |
addExclusion(Exclusion exclusion) |
void |
addToBlackList(Program program)
Add a program to the black list
|
boolean |
contains(Program prog) |
abstract FavoriteConfigurator |
createConfigurator() |
Program[] |
getBlackListPrograms() |
Exclusion[] |
getExclusions() |
PluginAccess[] |
getForwardPlugins() |
LimitationConfiguration |
getLimitationConfiguration() |
String |
getName() |
Program[] |
getNewPrograms() |
Program[] |
getPrograms() |
ReminderConfiguration |
getReminderConfiguration() |
abstract String |
getTypeID() |
Program[] |
getWhiteListPrograms() |
void |
handleContainingPrograms(Program[] progs) |
protected abstract Program[] |
internalSearchForPrograms(Channel[] channelArr) |
protected abstract void |
internalWriteData(ObjectOutputStream out) |
boolean |
isOnBlackList(Program program)
Checks if a program is on the black list.
|
boolean |
isRemindAfterDownload() |
void |
refreshBlackList()
Checks if all programs on the black are valid.
|
void |
refreshPrograms()
Checks all current programs if the are not excluded,
and refreshes the program marks.
|
void |
removeExclusion(Exclusion exclusion) |
void |
removeFromBlackList(Program program)
Removes the program from the black list,
if it is in it.
|
void |
setExclusions(Exclusion[] exclusionArr) |
void |
setForwardPlugins(PluginAccess[] pluginArr) |
void |
setName(String name) |
void |
setRemindAfterDownload(boolean b) |
void |
updatePrograms()
Performs a new search, and refreshes the program marks
|
void |
updatePrograms(boolean send)
Performs a new search, and refreshes the program marks
|
void |
writeData(ObjectOutputStream out) |
public Favorite()
public Favorite(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public abstract String getTypeID()
public String getName()
public void setName(String name)
public LimitationConfiguration getLimitationConfiguration()
public ReminderConfiguration getReminderConfiguration()
public void setRemindAfterDownload(boolean b)
public boolean isRemindAfterDownload()
public void setForwardPlugins(PluginAccess[] pluginArr)
public PluginAccess[] getForwardPlugins()
public Program[] getPrograms()
public Program[] getNewPrograms()
public void handleContainingPrograms(Program[] progs)
public void writeData(ObjectOutputStream out) throws IOException
IOException
public Exclusion[] getExclusions()
public void addExclusion(Exclusion exclusion)
public void removeExclusion(Exclusion exclusion)
public void setExclusions(Exclusion[] exclusionArr)
public boolean contains(Program prog)
public void updatePrograms() throws TvBrowserException
TvBrowserException
public void updatePrograms(boolean send) throws TvBrowserException
send
- If the new found programs should be send to plugins.TvBrowserException
public void refreshPrograms() throws TvBrowserException
TvBrowserException
public void refreshBlackList()
public boolean isOnBlackList(Program program)
program
- The program to check.public void addToBlackList(Program program)
program
- The program to put on the black list.public void removeFromBlackList(Program program)
program
- The program to remove from the black list.public Program[] getWhiteListPrograms()
public Program[] getBlackListPrograms()
public abstract FavoriteConfigurator createConfigurator()
protected abstract void internalWriteData(ObjectOutputStream out) throws IOException
IOException
protected abstract Program[] internalSearchForPrograms(Channel[] channelArr) throws TvBrowserException
TvBrowserException
TV-Browser 2.2.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)