Copyright 2008 Motorola Inc. and Nokia Corporation. All Rights Reserved.
Specification License

Uses of Class
javax.microedition.broadcast.esg.Query

Packages that use Query
javax.microedition.broadcast.esg This package defines the classes and interfaces to access the Electronic Service Guide (ESG). 
 

Uses of Query in javax.microedition.broadcast.esg
 

Methods in javax.microedition.broadcast.esg that return Query
static Query QueryComposer.after(DateAttribute attribute, java.util.Date value)
          Generate a query to test if the attribute has a time value that's after the given value.
static Query QueryComposer.and(Query a, Query b)
          Generate a compound query that's the result of taking the logical "and" of the two given queries.
static Query QueryComposer.before(DateAttribute attribute, java.util.Date value)
          Generate a query to test if the attribute has a time value that's before the given value.
static Query QueryComposer.contains(StringAttribute attribute, java.lang.String value)
          Generate a query to test if the value of a string attribute contains a given substring.
static Query QueryComposer.currentProgram()
          Generate a query to find the current broadcast programs.
static Query QueryComposer.equivalent(Attribute attribute, java.lang.Object value)
          Generate an equivalence query based on any types of attribute.
static Query QueryComposer.equivalent(NumericAttribute attribute, double value)
          Generate an equivalence query for numeric attributes.
static Query QueryComposer.greaterThan(NumericAttribute attribute, double value)
          Generate a query to test if the attribute has a value greater than the given value.
static Query QueryComposer.isTrue(BooleanAttribute attribute)
          Generate a query to test if the given attribute has a boolean value that's true.
static Query QueryComposer.lessThan(NumericAttribute attribute, double value)
          Generate a query to test if the attribute has a value less than the given value.
static Query QueryComposer.not(Query a)
          Generate a query that's the logical complement of the given query.
static Query QueryComposer.or(Query a, Query b)
          Generate a compound query that's the result of taking the logical "or" of the two given queries.
 

Methods in javax.microedition.broadcast.esg with parameters of type Query
 void ServiceGuide.addListener(ServiceGuideListener listener, Query filter)
          Add a ServiceGuideListener to listen for any updates to the programs.
static Query QueryComposer.and(Query a, Query b)
          Generate a compound query that's the result of taking the logical "and" of the two given queries.
 ProgramEvent[] ServiceGuide.findPrograms(Query query)
          Search for the list of program events with the matching criteria based on the given query.
 ProgramEvent[] ServiceGuide.findPrograms(Query query, Attribute[] sortBy, int startOffset, int length)
          Search for the list of program events with the matching criteria based on the given query.
 Service[] ServiceGuide.findServices(Query query)
          Search for the list of services with the matching criteria based on the given query.
 Service[] ServiceGuide.findServices(Query query, Attribute[] sortBy, int startOffset, int length)
          Search for the list of services with the matching criteria based on the given query.
static Query QueryComposer.not(Query a)
          Generate a query that's the logical complement of the given query.
static Query QueryComposer.or(Query a, Query b)
          Generate a compound query that's the result of taking the logical "or" of the two given queries.
 



Copyright 2008 Motorola Inc. and Nokia Corporation. All Rights Reserved.
Specification License