|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbbc.rd.tvanytime.programLocation.ProgramLocationTable
public class ProgramLocationTable
ProgramLocationTable: Represents a table that contains Schedule objects.
Constructor Summary | |
---|---|
ProgramLocationTable()
Constructor for objects of type ProgramLocationTable |
Method Summary | |
---|---|
void |
addSchedule(Schedule schedule)
Adds a Schedule object |
java.lang.Object |
clone()
Clones itself. |
int |
getNumSchedules()
Get the number of Schedule objects belonging to this ProgramLocationTable |
java.util.Vector |
getSchedule(java.util.Date startTime,
java.util.Date endTime)
Returns vector of CRIDs for all events that start at a time between the start time and the end time. |
java.util.Vector |
getSchedule(java.util.Date startTime,
java.util.Date endTime,
java.lang.String serviceID)
Returns vector of CRIDs for all events that start at a time between the start time and the end time and are on the specified service. |
Schedule |
getSchedule(int index)
Gets a Schedule object (note this is different to the other getSchedule() methods in this object) |
java.util.Vector |
getScheduleAsEvents(java.util.Date startTime,
java.util.Date endTime,
java.lang.String serviceID)
Returns vector of ScheduleEvents for all events that start at a time between the start time and the end time and are on the specified service. |
java.util.Vector |
getScheduleEvent(ContentReference crid)
Returns all ScheduleEvents that match this CRID. |
void |
removeAll()
Removes all Schedule objects |
java.util.Vector |
resolveLeafCRID(ContentReference crid)
Returns vector of BroadcastURLs with this CRID. |
java.util.Vector |
resolveLeafCRID(ContentReference crid,
java.lang.String serviceID)
Returns vector of BroadcastURLs with this CRID on the specified service. |
java.lang.String |
toString()
Returns string representation of this table. |
java.lang.String |
toString(int indent)
Returns string representation of this table. |
java.lang.String |
toXML()
Returns XML representation of this table. |
java.lang.String |
toXML(int indent)
Returns XML representation of this table. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProgramLocationTable()
Method Detail |
---|
public int getNumSchedules()
public Schedule getSchedule(int index)
index
- the index to the Schedule object
public void addSchedule(Schedule schedule)
schedule
- the Schedule objectpublic void removeAll()
public java.util.Vector resolveLeafCRID(ContentReference crid)
resolveLeafCRID
in interface LocationResolution
crid
- CRID to search for.
public java.util.Vector resolveLeafCRID(ContentReference crid, java.lang.String serviceID)
resolveLeafCRID
in interface LocationResolution
crid
- CRID to search for.serviceID
- The serviceID of the service we are interested in.
public java.util.Vector getSchedule(java.util.Date startTime, java.util.Date endTime)
getSchedule
in interface LocationResolution
startTime
- Start time of schedule.endTime
- End time of schedule.
public java.util.Vector getSchedule(java.util.Date startTime, java.util.Date endTime, java.lang.String serviceID)
getSchedule
in interface LocationResolution
startTime
- Start time of schedule.endTime
- End time of schedule.serviceID
- The serviceID of the service we are interested in.
public java.util.Vector getScheduleAsEvents(java.util.Date startTime, java.util.Date endTime, java.lang.String serviceID)
startTime
- Start time of schedule.endTime
- End time of schedule.serviceID
- The serviceID of the service we are interested in.
public java.util.Vector getScheduleEvent(ContentReference crid) throws SearchInterfaceNotSupportedException
crid
- CRID of programme to search for.
SearchInterfaceNotSupportedException
- If the implementation doesn't support this function.public java.lang.String toXML()
public java.lang.String toXML(int indent)
indent
- Number of tabs with which to indent the string.
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(int indent)
indent
- number of tabs to put before the string.
public java.lang.Object clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |