com.xpn.xwiki.plugin.globalsearch.tools
Class GlobalSearchResult
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
com.xpn.xwiki.plugin.globalsearch.tools.GlobalSearchResult
- All Implemented Interfaces:
- Serializable, Cloneable, Map<String,Object>
public class GlobalSearchResult
- extends HashMap<String,Object>
Contains one query result line.
- Version:
- $Id: 5398df2e0bc1a8fd2b647fe945f048136378e7d8 $
- See Also:
- Serialized Form
| Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
GlobalSearchResult
public GlobalSearchResult()
- Create new
GlobalSearchResult instance.
GlobalSearchResult
public GlobalSearchResult(String wikiName,
Iterable<String> names,
Object[] values)
- Create new
GlobalSearchResult instance.
- Parameters:
wikiName - the name of the wiki where this was found.names - the names of the columns to link with values.values - the found values.
setWikiName
public void setWikiName(String wikiName)
- Parameters:
wikiName - the name of the wiki where this was found.
getWikiName
public String getWikiName()
- Returns:
- the name of the wiki where this was found.
setResult
public void setResult(Collection<?> result)
- Parameters:
result - the found values.
setResult
public void setResult(Object[] result)
- Parameters:
result - the found values.
getResult
public Collection<Object> getResult()
- Returns:
- the found values.
Copyright © 2004-2013 XWiki. All Rights Reserved.