com.xpn.xwiki.plugin.globalsearch
Class GlobalSearchMessageTool

java.lang.Object
  extended by com.xpn.xwiki.web.XWikiMessageTool
      extended by com.xpn.xwiki.plugin.applicationmanager.core.plugin.XWikiPluginMessageTool
          extended by com.xpn.xwiki.plugin.globalsearch.GlobalSearchMessageTool

Deprecated.

@Deprecated
public class GlobalSearchMessageTool
extends XWikiPluginMessageTool

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.

Version:
$Id: 8c7f0dbe079fb9c67589f621ce99955ae6b14bed $

Field Summary
static String ERROR_CANTACCESSFIELD
          Deprecated. Used as GlobalSearchException message when provided field does not exist in the document.
static String ERROR_DOCUMENTTRANSLATIONS
          Deprecated. Used as GlobalSearchException message when failed to get document translations.
static String LOG_GETDOCUMENTFROMNAME
          Deprecated. Used as log message when trying to get document from name.
static String LOG_SEARCHDOCUMENTS
          Deprecated. Used as log message when trying to search documents.
static String MESSAGETOOL_CONTEXT_KEY
          Deprecated. 
 
Fields inherited from class com.xpn.xwiki.web.XWikiMessageTool
bundle, context
 
Method Summary
static GlobalSearchMessageTool getDefault(XWikiContext context)
          Deprecated. 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, getXWikiContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MESSAGETOOL_CONTEXT_KEY

@Deprecated
public static final String MESSAGETOOL_CONTEXT_KEY
Deprecated. 
Key to use with Hashtable.get(Object).

See Also:
Constant Field Values

ERROR_CANTACCESSFIELD

public static final String ERROR_CANTACCESSFIELD
Deprecated. 
Used as GlobalSearchException message when provided field does not exist in the document.

See Also:
Constant Field Values

ERROR_DOCUMENTTRANSLATIONS

public static final String ERROR_DOCUMENTTRANSLATIONS
Deprecated. 
Used as GlobalSearchException message when failed to get document translations.

See Also:
Constant Field Values

LOG_SEARCHDOCUMENTS

public static final String LOG_SEARCHDOCUMENTS
Deprecated. 
Used as log message when trying to search documents.

See Also:
Constant Field Values

LOG_GETDOCUMENTFROMNAME

public static final String LOG_GETDOCUMENTFROMNAME
Deprecated. 
Used as log message when trying to get document from name.

See Also:
Constant Field Values
Method Detail

getDefault

public static GlobalSearchMessageTool getDefault(XWikiContext context)
Deprecated. 
Get Global Search message tool registered in XWiki context. If not return default.

Parameters:
context - the XWiki context from which to get message tool.
Returns:
the default Global Search message tool.
Since:
1.1


Copyright © 2004-2013 XWiki. All Rights Reserved.