com.xpn.xwiki.plugin.google
Class GooglePluginApi
java.lang.Object
com.xpn.xwiki.api.Api
com.xpn.xwiki.plugin.google.GooglePluginApi
public class GooglePluginApi
- extends Api
Fields inherited from class com.xpn.xwiki.api.Api |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GooglePluginApi
public GooglePluginApi(GooglePlugin plugin,
XWikiContext context)
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.