|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xpn.xwiki.web.XWikiMessageTool
com.xpn.xwiki.plugin.applicationmanager.core.plugin.XWikiPluginMessageTool
com.xpn.xwiki.plugin.globalsearch.GlobalSearchMessageTool
public class GlobalSearchMessageTool
Global Search plugin translation messages manager.
The main use of this class is construct XWikiPluginMessageTool with the correct
ResourceBundle and to list all the message keys used internally in the plugin.
| Field Summary | |
|---|---|
static java.lang.String |
ERROR_CANTACCESSFIELD
Used as GlobalSearchException message when provided field does not exist in the document. |
static java.lang.String |
ERROR_DOCUMENTTRANSLATIONS
Used as GlobalSearchException message when failed to get document translations. |
static java.lang.String |
LOG_GETDOCUMENTFROMNAME
Used as Log log message when trying to get document from name. |
static java.lang.String |
LOG_SEARCHDOCUMENTS
Used as Log log message when trying to search documents. |
static java.lang.String |
MESSAGETOOL_CONTEXT_KEY
Key to use with Hashtable.get(Object). |
| Fields inherited from class com.xpn.xwiki.web.XWikiMessageTool |
|---|
bundle, BYTE_ENCODING, context |
| Method Summary | |
|---|---|
static GlobalSearchMessageTool |
getDefault(XWikiContext context)
Get Global Search message tool registered in XWiki context. |
| Methods inherited from class com.xpn.xwiki.plugin.applicationmanager.core.plugin.XWikiPluginMessageTool |
|---|
get, get, getTranslation |
| Methods inherited from class com.xpn.xwiki.web.XWikiMessageTool |
|---|
get, get, getDocumentBundle, getDocumentBundleNames, getDocumentBundleProperties, getDocumentBundles, getDocumentBundles |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String MESSAGETOOL_CONTEXT_KEY
Hashtable.get(Object).
public static final java.lang.String ERROR_CANTACCESSFIELD
GlobalSearchException message when provided field does not exist in the document.
public static final java.lang.String ERROR_DOCUMENTTRANSLATIONS
GlobalSearchException message when failed to get document translations.
public static final java.lang.String LOG_SEARCHDOCUMENTS
Log log message when trying to search documents.
public static final java.lang.String LOG_GETDOCUMENTFROMNAME
Log log message when trying to get document from name.
| Method Detail |
|---|
public static GlobalSearchMessageTool getDefault(XWikiContext context)
context - the XWiki context from which to get message tool.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||