org.jboss.portal.widget.google.provider
Class GGProvider

java.lang.Object
  extended by org.jboss.portal.widget.google.provider.GGProvider

public class GGProvider
extends java.lang.Object

Version:
$Revision: 1.1 $
Author:
Julien Viet, Boleslaw Dawidowicz

Field Summary
static GGQuery INITIAL_QUERY
          .
 
Constructor Summary
GGProvider()
           
 
Method Summary
 java.util.Collection getCategories()
           
 int getConnectionTimeout()
           
 GGWidget getWidget(java.lang.String id)
          Returns a specified widget.
 java.util.Collection search(GGQuery query)
          Returns a collection of widgets from a query.
 void setConnectionTimeout(int connectionTimeout)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INITIAL_QUERY

public static final GGQuery INITIAL_QUERY
.

Constructor Detail

GGProvider

public GGProvider()
Method Detail

start

public void start()

stop

public void stop()

getCategories

public java.util.Collection getCategories()

getWidget

public GGWidget getWidget(java.lang.String id)
Returns a specified widget.


search

public java.util.Collection search(GGQuery query)
Returns a collection of widgets from a query.


getConnectionTimeout

public int getConnectionTimeout()

setConnectionTimeout

public void setConnectionTimeout(int connectionTimeout)