jreceiver.common.rec.source
Class DplaylistRec
java.lang.Object
|
+--jreceiver.common.rec.BaseRec
|
+--jreceiver.common.rec.source.SourceRec
|
+--jreceiver.common.rec.source.PlaylistRec
|
+--jreceiver.common.rec.source.DplaylistRec
- All Implemented Interfaces:
- Filterable, Hashable, Playlist, Rec, Selectable, Sortable, Source
- public class DplaylistRec
- extends PlaylistRec
- implements Filterable
Bean to represent a single dynamic playlist record
- Version:
- $Revision: 1.4 $ $Date: 2003/04/27 23:14:31 $
- Author:
- Reed Esau
Field Summary |
protected java.lang.String |
m_raw_filter
the raw_filter to produce the dynamic playlist |
Fields inherited from interface jreceiver.common.rec.source.Source |
DEFAULT_URL, FORCE_PLAYLIST_URL, HKEY_CONTENT_URL, HKEY_DIRECT_URI, HKEY_DST_MIME, HKEY_DURATION, HKEY_MIME, HKEY_SITE_ID, HKEY_SRC_ID, HKEY_SRC_TYPE, HKEY_TITLE, MAX_SRC_ID, MIN_SRC_ID, POPULATE_CONTENT_URL, POPULATE_DIRECT_URI, POPULATE_MEXTERNAL, POPULATE_MFILE, SRCTYPE_PLAYLIST, SRCTYPE_TUNE, SRCTYPE_UNDEFINED |
Constructor Summary |
DplaylistRec(java.util.Hashtable hash)
ctor - construct from a hashtable, usually retrieved via XML-RPC |
DplaylistRec(int src_id,
java.lang.String mime,
int duration,
org.esau.ptarmigan.util.PtarURI direct_uri,
java.net.URL content_url,
java.lang.String name,
java.lang.String order_by,
int tune_count)
ctor - used by PlaylistDB.getRecs |
DplaylistRec(int src_id,
java.lang.String mime,
int duration,
org.esau.ptarmigan.util.PtarURI direct_uri,
java.net.URL content_url,
java.lang.String name,
java.lang.String order_by,
int tune_count,
java.lang.String raw_filter)
ctor - deep, with raw_filter string |
Method Summary |
java.lang.String |
getRawFilter()
Obtain the filter |
void |
setRawFilter(java.lang.String raw_filter)
Assign the filter |
java.util.Hashtable |
toHash()
Store the object as a hash suitable for
transport over an XML-RPC connection or similar. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class jreceiver.common.rec.source.PlaylistRec |
createInstance, createInstance, getChecked, getIsDynamicPlaylist, getIsFilePlaylist, getIsStationPlaylist, getIsTreePlaylist, getOrderBy, getPlaylistType, getTuneCount, setChecked, setOrderBy, setPlaylistType, setTuneCount |
Methods inherited from class jreceiver.common.rec.source.SourceRec |
getContentSystemId, getContentURL, getDirectSystemId, getDirectURI, getDstMime, getDuration, getFile, getFileExtension, getFileName, getFilePath, getIsLocal, getIsOffsite, getIsPlaylist, getIsTune, getKey, getMime, getSiteId, getSrcId, getTitle, getType, setContentURL, setDirectURI, setDirectURI, setDuration, setKey, setMime, setSrcId, setTitle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface jreceiver.common.rec.source.Source |
getContentSystemId, getContentURL, getDirectSystemId, getDirectURI, getDstMime, getDuration, getFile, getFileExtension, getFileName, getFilePath, getIsLocal, getIsOffsite, getIsPlaylist, getIsTune, getMime, getSiteId, getSrcId, getTitle, getType, setContentURL, setDirectURI, setDirectURI, setDuration, setMime, setSrcId, setTitle |
m_raw_filter
protected java.lang.String m_raw_filter
- the raw_filter to produce the dynamic playlist
DplaylistRec
public DplaylistRec(int src_id,
java.lang.String mime,
int duration,
org.esau.ptarmigan.util.PtarURI direct_uri,
java.net.URL content_url,
java.lang.String name,
java.lang.String order_by,
int tune_count)
- ctor - used by PlaylistDB.getRecs
DplaylistRec
public DplaylistRec(int src_id,
java.lang.String mime,
int duration,
org.esau.ptarmigan.util.PtarURI direct_uri,
java.net.URL content_url,
java.lang.String name,
java.lang.String order_by,
int tune_count,
java.lang.String raw_filter)
- ctor - deep, with raw_filter string
DplaylistRec
public DplaylistRec(java.util.Hashtable hash)
throws RecException
- ctor - construct from a hashtable, usually retrieved via XML-RPC
toHash
public java.util.Hashtable toHash()
- Store the object as a hash suitable for
transport over an XML-RPC connection or similar.
Use DplaylistRec(Hashtable)
to transform the data
back into an object of this type.
- Specified by:
toHash
in interface Hashable
- Overrides:
toHash
in class PlaylistRec
- Returns:
-
toString
public java.lang.String toString()
- Description copied from interface:
Hashable
- Returns a string representation of the object.
- Specified by:
toString
in interface Hashable
- Overrides:
toString
in class PlaylistRec
getRawFilter
public java.lang.String getRawFilter()
- Description copied from interface:
Filterable
- Obtain the filter
- Specified by:
getRawFilter
in interface Filterable
setRawFilter
public void setRawFilter(java.lang.String raw_filter)
- Description copied from interface:
Filterable
- Assign the filter
- Specified by:
setRawFilter
in interface Filterable
Copyright © 2001-2002 Reed Esau, All Rights Reserved.