com.xpn.xwiki.plugin.wikimanager
Class WikiManagerMessageTool

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.wikimanager.WikiManagerMessageTool

Deprecated.

@Deprecated
public class WikiManagerMessageTool
extends XWikiPluginMessageTool

Wiki 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.

Version:
$Id: 060c96df9b5c9e6cda8ba0ac3720222d24e9936a $

Field Summary
static String COMMENT_CREATEEMPTYWIKI
          Deprecated. Used as comment when creating a new empty wiki.
static String COMMENT_CREATEWIKIFROMPACKAGE
          Deprecated. Used as comment when creating a new wiki from XAR package.
static String COMMENT_CREATEWIKIFROMTEMPLATE
          Deprecated. Used as comment when creating a new wiki from wiki template.
static String COMMENT_CREATEWIKITEMPLATE
          Deprecated. Used as comment when creating a new wiki template.
static String ERROR_DELETEMAINWIKI
          Deprecated. Used as WikiManagerException message when trying to delete the main wiki.
static String ERROR_DESCRIPTORALREADYEXISTS
          Deprecated. Used as WikiManagerException message when trying to create a new wiki with a wiki descriptor that already exist.
static String ERROR_PACKAGEDOESNOTEXISTS
          Deprecated. Used as WikiManagerException message when provided XAR package does not exists.
static String ERROR_PACKAGEIMPORT
          Deprecated. Used as WikiManagerException message when failed to load XAR package as list of XWikiDocument.
static String ERROR_PACKAGEINSTALL
          Deprecated. Used as WikiManagerException message when failed to insert loaded XWikiDocument from package into database.
static String ERROR_RIGHTTOCREATEWIKI
          Deprecated. Used as WikiManagerException message when trying to create wiki when it's not administrator user.
static String ERROR_RIGHTTODELETEWIKI
          Deprecated. Used as WikiManagerException message when trying to delete wiki when it's not administrator user.
static String ERROR_UPDATEDATABASE
          Deprecated. Used as WikiManagerException message when call to XWiki.updateDatabase(String, XWikiContext) failed.
static String ERROR_USERDOESNOTEXIST
          Deprecated. Used as WikiManagerException message when provided user does not exists.
static String ERROR_USERNOTACTIVE
          Deprecated. Used as WikiManagerException message when provided user is not active.
static String ERROR_WIKIALIASDOESNOTEXISTS
          Deprecated. Used as WikiManagerException message when trying to get a wiki alias which does not exists.
static String ERROR_WIKIDOESNOTEXISTS
          Deprecated. Used as WikiManagerException message when trying to get a wiki which does not exists.
static String ERROR_WIKINAMEFORBIDDEN
          Deprecated. Used as WikiManagerException message when tring to create a new wiki with a wiki name forbidden.
static String ERROR_WIKITEMPLATEALIASDOESNOTEXISTS
          Deprecated. Used as WikiManagerException message when trying to delete wiki with not administrator user.
static String ERROR_XWIKINOTVIRTUAL
          Deprecated. Used as WikiManagerException message when trying to make action that require virtual mode in a wiki not in virtual mode.
static String LOG_DATABASEALREADYEXISTS
          Deprecated. Used as log message when trying to create a new database/schema that already exists.
static String LOG_DATABASECREATION
          Deprecated. Used as log message when database/schema creation failed.
static String LOG_DATABASECREATIONEXCEPTION
          Deprecated. Used as log message when database/schema creation thrown unknown exception.
static String LOG_DESCRIPTORALREADYEXISTS
          Deprecated. Used as log message when trying to create a new wiki with a wiki descriptor that already exist.
static String LOG_WIKIALIASGET
          Deprecated. Used as log message when failed to find wiki descriptor document.
static String LOG_WIKIALIASGETALL
          Deprecated. Used as log message when failed to find all the wikis aliases.
static String LOG_WIKICREATION
          Deprecated. Used as log message when wiki creation failed.
static String LOG_WIKIDELETION
          Deprecated. Used as log message when wiki deletion failed.
static String LOG_WIKIGET
          Deprecated. Used as log message when failed to find wiki alias.
static String LOG_WIKIGETALL
          Deprecated. Used as log message when failed to find all the wikis descriptors documents.
static String LOG_WIKISETVISIBILITY
          Deprecated. Used as log message when modification of the "visibility" field of a wiki descriptor failed.
static String LOG_WIKITEMPLATEGET
          Deprecated. Used as log message when failed to find wiki template descriptor document.
static String LOG_WIKITEMPLATEGETALL
          Deprecated. Used as log message when failed to find all the wikis templates descriptors documents.
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 WikiManagerMessageTool 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).

Since:
1.1
See Also:
Constant Field Values

COMMENT_CREATEEMPTYWIKI

public static final String COMMENT_CREATEEMPTYWIKI
Deprecated. 
Used as comment when creating a new empty wiki.

See Also:
Constant Field Values

COMMENT_CREATEWIKIFROMTEMPLATE

public static final String COMMENT_CREATEWIKIFROMTEMPLATE
Deprecated. 
Used as comment when creating a new wiki from wiki template.

See Also:
Constant Field Values

COMMENT_CREATEWIKIFROMPACKAGE

public static final String COMMENT_CREATEWIKIFROMPACKAGE
Deprecated. 
Used as comment when creating a new wiki from XAR package.

See Also:
Constant Field Values

COMMENT_CREATEWIKITEMPLATE

public static final String COMMENT_CREATEWIKITEMPLATE
Deprecated. 
Used as comment when creating a new wiki template.

See Also:
Constant Field Values

ERROR_XWIKINOTVIRTUAL

public static final String ERROR_XWIKINOTVIRTUAL
Deprecated. 
Used as WikiManagerException message when trying to make action that require virtual mode in a wiki not in virtual mode.

See Also:
Constant Field Values

ERROR_USERDOESNOTEXIST

public static final String ERROR_USERDOESNOTEXIST
Deprecated. 
Used as WikiManagerException message when provided user does not exists.

See Also:
Constant Field Values

ERROR_USERNOTACTIVE

public static final String ERROR_USERNOTACTIVE
Deprecated. 
Used as WikiManagerException message when provided user is not active.

See Also:
Constant Field Values

ERROR_WIKINAMEFORBIDDEN

public static final String ERROR_WIKINAMEFORBIDDEN
Deprecated. 
Used as WikiManagerException message when tring to create a new wiki with a wiki name forbidden.

See Also:
Constant Field Values

ERROR_DESCRIPTORALREADYEXISTS

public static final String ERROR_DESCRIPTORALREADYEXISTS
Deprecated. 
Used as WikiManagerException message when trying to create a new wiki with a wiki descriptor that already exist.

See Also:
Constant Field Values

ERROR_UPDATEDATABASE

public static final String ERROR_UPDATEDATABASE
Deprecated. 
Used as WikiManagerException message when call to XWiki.updateDatabase(String, XWikiContext) failed.

See Also:
Constant Field Values

ERROR_PACKAGEDOESNOTEXISTS

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

See Also:
Constant Field Values

ERROR_PACKAGEIMPORT

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

See Also:
Constant Field Values

ERROR_PACKAGEINSTALL

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

See Also:
Constant Field Values

ERROR_RIGHTTOCREATEWIKI

public static final String ERROR_RIGHTTOCREATEWIKI
Deprecated. 
Used as WikiManagerException message when trying to create wiki when it's not administrator user.

Since:
1.1
See Also:
Constant Field Values

ERROR_RIGHTTODELETEWIKI

public static final String ERROR_RIGHTTODELETEWIKI
Deprecated. 
Used as WikiManagerException message when trying to delete wiki when it's not administrator user.

Since:
1.1
See Also:
Constant Field Values

ERROR_WIKIALIASDOESNOTEXISTS

public static final String ERROR_WIKIALIASDOESNOTEXISTS
Deprecated. 
Used as WikiManagerException message when trying to get a wiki alias which does not exists.

Since:
1.1
See Also:
Constant Field Values

ERROR_WIKIDOESNOTEXISTS

public static final String ERROR_WIKIDOESNOTEXISTS
Deprecated. 
Used as WikiManagerException message when trying to get a wiki which does not exists.

Since:
1.1
See Also:
Constant Field Values

ERROR_WIKITEMPLATEALIASDOESNOTEXISTS

public static final String ERROR_WIKITEMPLATEALIASDOESNOTEXISTS
Deprecated. 
Used as WikiManagerException message when trying to delete wiki with not administrator user.

Since:
1.1
See Also:
Constant Field Values

ERROR_DELETEMAINWIKI

public static final String ERROR_DELETEMAINWIKI
Deprecated. 
Used as WikiManagerException message when trying to delete the main wiki.

Since:
1.1
See Also:
Constant Field Values

LOG_DESCRIPTORALREADYEXISTS

public static final String LOG_DESCRIPTORALREADYEXISTS
Deprecated. 
Used as log message when trying to create a new wiki with a wiki descriptor that already exist.

See Also:
Constant Field Values

LOG_DATABASEALREADYEXISTS

public static final String LOG_DATABASEALREADYEXISTS
Deprecated. 
Used as log message when trying to create a new database/schema that already exists.

See Also:
Constant Field Values

LOG_DATABASECREATION

public static final String LOG_DATABASECREATION
Deprecated. 
Used as log message when database/schema creation failed.

See Also:
Constant Field Values

LOG_DATABASECREATIONEXCEPTION

public static final String LOG_DATABASECREATIONEXCEPTION
Deprecated. 
Used as log message when database/schema creation thrown unknown exception.

See Also:
Constant Field Values

LOG_WIKICREATION

public static final String LOG_WIKICREATION
Deprecated. 
Used as log message when wiki creation failed.

See Also:
Constant Field Values

LOG_WIKIDELETION

public static final String LOG_WIKIDELETION
Deprecated. 
Used as log message when wiki deletion failed.

See Also:
Constant Field Values

LOG_WIKIGET

public static final String LOG_WIKIGET
Deprecated. 
Used as log message when failed to find wiki alias.

See Also:
Constant Field Values

LOG_WIKIALIASGET

public static final String LOG_WIKIALIASGET
Deprecated. 
Used as log message when failed to find wiki descriptor document.

See Also:
Constant Field Values

LOG_WIKIGETALL

public static final String LOG_WIKIGETALL
Deprecated. 
Used as log message when failed to find all the wikis descriptors documents.

See Also:
Constant Field Values

LOG_WIKIALIASGETALL

public static final String LOG_WIKIALIASGETALL
Deprecated. 
Used as log message when failed to find all the wikis aliases.

See Also:
Constant Field Values

LOG_WIKISETVISIBILITY

public static final String LOG_WIKISETVISIBILITY
Deprecated. 
Used as log message when modification of the "visibility" field of a wiki descriptor failed.

See Also:
Constant Field Values

LOG_WIKITEMPLATEGET

public static final String LOG_WIKITEMPLATEGET
Deprecated. 
Used as log message when failed to find wiki template descriptor document.

See Also:
Constant Field Values

LOG_WIKITEMPLATEGETALL

public static final String LOG_WIKITEMPLATEGETALL
Deprecated. 
Used as log message when failed to find all the wikis templates descriptors documents.

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 WikiManagerMessageTool 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.
Since:
1.1


Copyright © 2004-2013 XWiki. All Rights Reserved.