com.xpn.xwiki.plugin.applicationmanager
Class ApplicationManagerMessageTool

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.applicationmanager.ApplicationManagerMessageTool

Deprecated. since 5.0M1 use LocalizationManager instead

@Deprecated
public class ApplicationManagerMessageTool
extends XWikiPluginMessageTool

Application Manager 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.

Since:
1.1
Version:
$Id: aceabe10f8dd9f50d185f561cc0e948d7621aff1 $

Field Summary
static String COMMENT_AUTOUPDATETRANSLATIONS
          Deprecated. Used as comment when automatically update application translations pages.
static String COMMENT_CREATEAPPLICATION
          Deprecated. Used as comment when creating a new application.
static String COMMENT_IMPORTAPPLICATION
          Deprecated. Used as comment when importing a new application.
static String COMMENT_REFRESHALLTRANSLATIONS
          Deprecated. Used as comment when refreshing all applications translations pages.
static String COMMENT_RELOADALLAPPLICATIONS
          Deprecated. Used as comment when reloading all applications.
static String COMMENT_RELOADAPPLICATION
          Deprecated. Used as comment when reloading an application.
static String ERROR_APPDOESNOTEXISTS
          Deprecated. Used as ApplicationManagerException message when failed to find application from provided application name.
static String ERROR_APPPAGEALREADYEXISTS
          Deprecated. Used as ApplicationManagerException message when application default page name already exists.
static String ERROR_IMORT_IMPORT
          Deprecated. Used as ApplicationManagerException message when failed to load XAR package as list of XWikiDocument.
static String ERROR_IMORT_INSTALL
          Deprecated. Used as ApplicationManagerException message when failed to insert loaded XWikiDocument from package into database.
static String ERROR_IMORT_PKGDOESNOTEXISTS
          Deprecated. Used as ApplicationManagerException message when provided XAR package does not exists.
static String LOG_AUTOUPDATETRANSLATIONS
          Deprecated. Used as log message when automatically updating application translations information failed.
static String LOG_CREATEAPP
          Deprecated. Used as log message when application creation failed.
static String LOG_DELETEAPP
          Deprecated. Used as log message when application delete failed.
static String LOG_EXPORTAPP
          Deprecated. Used as log message when exporting application failed.
static String LOG_GETALLAPPS
          Deprecated. Used as log message when getting all application descriptors failed.
static String LOG_GETAPP
          Deprecated. Used as log message when getting application descriptor failed.
static String LOG_GETROOTAPP
          Deprecated. Used as log message when getting wiki root application failed.
static String LOG_IMPORTAPP
          Deprecated. Used as log message when importing application failed.
static String LOG_REALOADALLAPPS
          Deprecated. Used as log message when reloading all applications failed.
static String LOG_REFRESHALLTRANSLATIONS
          Deprecated. Used as log message when refreshing all applications translations pages.
static String LOG_RELOADAPP
          Deprecated. Used as log message when reloading application failed.
static String MESSAGETOOL_CONTEXT_KEY
          Deprecated. Key to use with Hashtable.get(Object).
 
Fields inherited from class com.xpn.xwiki.web.XWikiMessageTool
bundle, context
 
Method Summary
 String get(String key)
          Deprecated.  
 String get(String key, Object... params)
          Deprecated.  
static ApplicationManagerMessageTool getDefault(XWikiContext context)
          Deprecated. Get Wiki Manager 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, 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

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

See Also:
Constant Field Values

COMMENT_CREATEAPPLICATION

public static final String COMMENT_CREATEAPPLICATION
Deprecated. 
Used as comment when creating a new application.

See Also:
Constant Field Values

COMMENT_IMPORTAPPLICATION

public static final String COMMENT_IMPORTAPPLICATION
Deprecated. 
Used as comment when importing a new application.

See Also:
Constant Field Values

COMMENT_RELOADAPPLICATION

public static final String COMMENT_RELOADAPPLICATION
Deprecated. 
Used as comment when reloading an application.

See Also:
Constant Field Values

COMMENT_RELOADALLAPPLICATIONS

public static final String COMMENT_RELOADALLAPPLICATIONS
Deprecated. 
Used as comment when reloading all applications.

See Also:
Constant Field Values

COMMENT_AUTOUPDATETRANSLATIONS

public static final String COMMENT_AUTOUPDATETRANSLATIONS
Deprecated. 
Used as comment when automatically update application translations pages.

See Also:
Constant Field Values

COMMENT_REFRESHALLTRANSLATIONS

public static final String COMMENT_REFRESHALLTRANSLATIONS
Deprecated. 
Used as comment when refreshing all applications translations pages.

See Also:
Constant Field Values

ERROR_APPPAGEALREADYEXISTS

public static final String ERROR_APPPAGEALREADYEXISTS
Deprecated. 
Used as ApplicationManagerException message when application default page name already exists.

See Also:
Constant Field Values

ERROR_IMORT_PKGDOESNOTEXISTS

public static final String ERROR_IMORT_PKGDOESNOTEXISTS
Deprecated. 
Used as ApplicationManagerException message when provided XAR package does not exists.

See Also:
Constant Field Values

ERROR_IMORT_IMPORT

public static final String ERROR_IMORT_IMPORT
Deprecated. 
Used as ApplicationManagerException message when failed to load XAR package as list of XWikiDocument.

See Also:
Constant Field Values

ERROR_IMORT_INSTALL

public static final String ERROR_IMORT_INSTALL
Deprecated. 
Used as ApplicationManagerException message when failed to insert loaded XWikiDocument from package into database.

See Also:
Constant Field Values

ERROR_APPDOESNOTEXISTS

public static final String ERROR_APPDOESNOTEXISTS
Deprecated. 
Used as ApplicationManagerException message when failed to find application from provided application name.

See Also:
Constant Field Values

LOG_CREATEAPP

public static final String LOG_CREATEAPP
Deprecated. 
Used as log message when application creation failed.

See Also:
Constant Field Values

LOG_DELETEAPP

public static final String LOG_DELETEAPP
Deprecated. 
Used as log message when application delete failed.

See Also:
Constant Field Values

LOG_GETALLAPPS

public static final String LOG_GETALLAPPS
Deprecated. 
Used as log message when getting all application descriptors failed.

See Also:
Constant Field Values

LOG_GETAPP

public static final String LOG_GETAPP
Deprecated. 
Used as log message when getting application descriptor failed.

See Also:
Constant Field Values

LOG_EXPORTAPP

public static final String LOG_EXPORTAPP
Deprecated. 
Used as log message when exporting application failed.

See Also:
Constant Field Values

LOG_IMPORTAPP

public static final String LOG_IMPORTAPP
Deprecated. 
Used as log message when importing application failed.

See Also:
Constant Field Values

LOG_RELOADAPP

public static final String LOG_RELOADAPP
Deprecated. 
Used as log message when reloading application failed.

See Also:
Constant Field Values

LOG_REALOADALLAPPS

public static final String LOG_REALOADALLAPPS
Deprecated. 
Used as log message when reloading all applications failed.

See Also:
Constant Field Values

LOG_AUTOUPDATETRANSLATIONS

public static final String LOG_AUTOUPDATETRANSLATIONS
Deprecated. 
Used as log message when automatically updating application translations information failed.

See Also:
Constant Field Values

LOG_REFRESHALLTRANSLATIONS

public static final String LOG_REFRESHALLTRANSLATIONS
Deprecated. 
Used as log message when refreshing all applications translations pages.

See Also:
Constant Field Values

LOG_GETROOTAPP

public static final String LOG_GETROOTAPP
Deprecated. 
Used as log message when getting wiki root application failed.

See Also:
Constant Field Values
Method Detail

get

public String get(String key)
Deprecated. 
Overrides:
get in class XWikiMessageTool

get

public String get(String key,
                  Object... params)
Deprecated. 
Overrides:
get in class XWikiMessageTool

getDefault

public static ApplicationManagerMessageTool getDefault(XWikiContext context)
Deprecated. 
Get Wiki Manager message tool registered in XWiki context. If not return default.

Parameters:
context - the XWiki context from which to get message tool.
Returns:
the default Wiki Manager message tool.


Copyright © 2004-2013 XWiki. All Rights Reserved.