bbc.rd.tvanytime.search
Interface MetadataSearch

All Known Implementing Classes:
GroupInformationTable, ProgramInformationTable, SAXXMLParser

public interface MetadataSearch

MetadataSearch: Interface defining search functions of TVAnytime metadata tables: ProgramInformation, ProgramLocation, GroupInformation, SegmentationInformation


Implementations should throw SearchInterfaceNotSupportedException if they do not support this function.

Version:
1.0
Author:
Tristan Ferne, BBC Research & Development, May 2002

Method Summary
 java.util.Vector getGroupInformation(ContentReference crid)
          Get group information for the specified CRID.
 java.util.Vector getProgramInformation(ContentReference crid)
          Get program information for the specified CRID.
 java.util.Vector getProgramLocation(ContentReference crid)
          Get program location information for the specified CRID.
 java.util.Vector getSegmentInformation(ContentReference crid)
          Get segment information for the specified CRID.
 

Method Detail

getProgramLocation

java.util.Vector getProgramLocation(ContentReference crid)
                                    throws SearchInterfaceNotSupportedException
Get program location information for the specified CRID.

Parameters:
crid - the CRID of the ProgramLocation object to be searched for.
Returns:
Vector containing ProgramLocation objects.
Throws:
SearchInterfaceNotSupportedException - If the implementation doesn't support this function.

getProgramInformation

java.util.Vector getProgramInformation(ContentReference crid)
                                       throws SearchInterfaceNotSupportedException
Get program information for the specified CRID.

Parameters:
crid - the CRID of the ProgramInformation object to be searched for.
Returns:
Vector containing ProgramInformation objects.
Throws:
SearchInterfaceNotSupportedException - If the implementation doesn't support this function.

getSegmentInformation

java.util.Vector getSegmentInformation(ContentReference crid)
                                       throws SearchInterfaceNotSupportedException
Get segment information for the specified CRID.

Parameters:
crid - the CRID of the SegmentInformation object to be searched for.
Returns:
Vector containing SegmentInformation objects.
Throws:
SearchInterfaceNotSupportedException - If the implementation doesn't support this function.

getGroupInformation

java.util.Vector getGroupInformation(ContentReference crid)
                                     throws SearchInterfaceNotSupportedException
Get group information for the specified CRID.

Parameters:
crid - the CRID of the GroupInformation object to be searched for.
Returns:
Vector containing GroupInformation objects.
Throws:
SearchInterfaceNotSupportedException - If the implementation doesn't support this function.