com.xpn.xwiki.plugin.google
Class GooglePluginApi

java.lang.Object
  extended by com.xpn.xwiki.api.Api
      extended by com.xpn.xwiki.plugin.google.GooglePluginApi

public class GooglePluginApi
extends Api


Field Summary
 
Fields inherited from class com.xpn.xwiki.api.Api
context
 
Constructor Summary
GooglePluginApi(GooglePlugin plugin, XWikiContext context)
           
 
Method Summary
 byte[] doGetCachedPage(String clientKey, String url)
           
 com.google.api.search.GoogleSearchResult doGoogleSearch(String clientKey, String query)
           
 com.google.api.search.GoogleSearchResult doGoogleSearch(String clientKey, String query, int start)
           
 com.google.api.search.GoogleSearchResult doGoogleSearch(String clientKey, String query, int start, int maxResults, boolean filter, String restrict, boolean safeSearch, String lr, String ie, String oe)
           
 com.google.api.search.GoogleSearchResult doGoogleSearch(String clientKey, String query, int start, String lr)
           
 String doSpellingSuggestion(String clientKey, String text)
           
 GooglePlugin getPlugin()
           
 void setPlugin(GooglePlugin plugin)
           
 
Methods inherited from class com.xpn.xwiki.api.Api
convert, convert, convert, convertAttachments, getXWikiContext, hasAccessLevel, hasAdminRights, hasProgrammingRights, hasWikiAdminRights
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GooglePluginApi

public GooglePluginApi(GooglePlugin plugin,
                       XWikiContext context)
Method Detail

getPlugin

public GooglePlugin getPlugin()

setPlugin

public void setPlugin(GooglePlugin plugin)

doSpellingSuggestion

public String doSpellingSuggestion(String clientKey,
                                   String text)
                            throws javax.xml.rpc.ServiceException,
                                   RemoteException
Throws:
javax.xml.rpc.ServiceException
RemoteException

doGetCachedPage

public byte[] doGetCachedPage(String clientKey,
                              String url)
                       throws RemoteException,
                              javax.xml.rpc.ServiceException
Throws:
RemoteException
javax.xml.rpc.ServiceException

doGoogleSearch

public com.google.api.search.GoogleSearchResult doGoogleSearch(String clientKey,
                                                               String query,
                                                               int start,
                                                               int maxResults,
                                                               boolean filter,
                                                               String restrict,
                                                               boolean safeSearch,
                                                               String lr,
                                                               String ie,
                                                               String oe)
                                                        throws RemoteException,
                                                               javax.xml.rpc.ServiceException
Throws:
RemoteException
javax.xml.rpc.ServiceException

doGoogleSearch

public com.google.api.search.GoogleSearchResult doGoogleSearch(String clientKey,
                                                               String query)
                                                        throws RemoteException,
                                                               javax.xml.rpc.ServiceException
Throws:
RemoteException
javax.xml.rpc.ServiceException

doGoogleSearch

public com.google.api.search.GoogleSearchResult doGoogleSearch(String clientKey,
                                                               String query,
                                                               int start)
                                                        throws RemoteException,
                                                               javax.xml.rpc.ServiceException
Throws:
RemoteException
javax.xml.rpc.ServiceException

doGoogleSearch

public com.google.api.search.GoogleSearchResult doGoogleSearch(String clientKey,
                                                               String query,
                                                               int start,
                                                               String lr)
                                                        throws RemoteException,
                                                               javax.xml.rpc.ServiceException
Throws:
RemoteException
javax.xml.rpc.ServiceException


Copyright © 2004-2013 XWiki. All Rights Reserved.