|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 String |
ERROR_CANTACCESSFIELD
Used as GlobalSearchException message when provided field does not exist in the document. |
static String |
ERROR_DOCUMENTTRANSLATIONS
Used as GlobalSearchException message when failed to get document translations. |
static String |
LOG_GETDOCUMENTFROMNAME
Used as log message when trying to get document from name. |
static String |
LOG_SEARCHDOCUMENTS
Used as log message when trying to search documents. |
static String |
MESSAGETOOL_CONTEXT_KEY
Key to use with Hashtable.get(Object) . |
Fields inherited from class com.xpn.xwiki.web.XWikiMessageTool |
---|
bundle, 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, 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 String MESSAGETOOL_CONTEXT_KEY
Hashtable.get(Object)
.
public static final String ERROR_CANTACCESSFIELD
GlobalSearchException
message when provided field does not exist in the document.
public static final String ERROR_DOCUMENTTRANSLATIONS
GlobalSearchException
message when failed to get document translations.
public static final String LOG_SEARCHDOCUMENTS
public static final String LOG_GETDOCUMENTFROMNAME
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 |