com.xpn.xwiki.plugin.globalsearch.tools
Class GlobalSearchResult
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<java.lang.String,java.lang.Object>
com.xpn.xwiki.plugin.globalsearch.tools.GlobalSearchResult
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>
public class GlobalSearchResult
- extends java.util.HashMap<java.lang.String,java.lang.Object>
Contains one query result line.
- Version:
- $Id: GlobalSearchResult.java 12931 2008-09-23 09:45:14Z tmortagne $
- See Also:
- Serialized Form
| Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
equals, hashCode |
GlobalSearchResult
public GlobalSearchResult()
- Create new
GlobalSearchResult instance.
GlobalSearchResult
public GlobalSearchResult(java.lang.String wikiName,
java.lang.Iterable<java.lang.String> names,
java.lang.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(java.lang.String wikiName)
- Parameters:
wikiName - the name of the wiki where this was found.
getWikiName
public java.lang.String getWikiName()
- Returns:
- the name of the wiki where this was found.
setResult
public void setResult(java.util.Collection<?> result)
- Parameters:
result - the found values.
setResult
public void setResult(java.lang.Object[] result)
- Parameters:
result - the found values.
getResult
public java.util.Collection<java.lang.Object> getResult()
- Returns:
- the found values.
Copyright © 2004-2010 XWiki. All Rights Reserved.