|
||||||||||
| 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.wikimanager.WikiManagerMessageTool
@Deprecated public class WikiManagerMessageTool
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.
| 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 |
|---|
public static final String MESSAGETOOL_CONTEXT_KEY
Hashtable.get(Object).
public static final String COMMENT_CREATEEMPTYWIKI
public static final String COMMENT_CREATEWIKIFROMTEMPLATE
public static final String COMMENT_CREATEWIKIFROMPACKAGE
public static final String COMMENT_CREATEWIKITEMPLATE
public static final String ERROR_XWIKINOTVIRTUAL
WikiManagerException message when trying to make action that require virtual mode in a wiki not
in virtual mode.
public static final String ERROR_USERDOESNOTEXIST
WikiManagerException message when provided user does not exists.
public static final String ERROR_USERNOTACTIVE
WikiManagerException message when provided user is not active.
public static final String ERROR_WIKINAMEFORBIDDEN
WikiManagerException message when tring to create a new wiki with a wiki name forbidden.
public static final String ERROR_DESCRIPTORALREADYEXISTS
WikiManagerException message when trying to create a new wiki with a wiki descriptor that already
exist.
public static final String ERROR_UPDATEDATABASE
WikiManagerException message when call to
XWiki.updateDatabase(String, XWikiContext) failed.
public static final String ERROR_PACKAGEDOESNOTEXISTS
WikiManagerException message when provided XAR package does not exists.
public static final String ERROR_PACKAGEIMPORT
WikiManagerException message when failed to load XAR package as list of
XWikiDocument.
public static final String ERROR_PACKAGEINSTALL
WikiManagerException message when failed to insert loaded XWikiDocument
from package into database.
public static final String ERROR_RIGHTTOCREATEWIKI
WikiManagerException message when trying to create wiki when it's not administrator user.
public static final String ERROR_RIGHTTODELETEWIKI
WikiManagerException message when trying to delete wiki when it's not administrator user.
public static final String ERROR_WIKIALIASDOESNOTEXISTS
WikiManagerException message when trying to get a wiki alias which does not exists.
public static final String ERROR_WIKIDOESNOTEXISTS
WikiManagerException message when trying to get a wiki which does not exists.
public static final String ERROR_WIKITEMPLATEALIASDOESNOTEXISTS
WikiManagerException message when trying to delete wiki with not administrator user.
public static final String ERROR_DELETEMAINWIKI
WikiManagerException message when trying to delete the main wiki.
public static final String LOG_DESCRIPTORALREADYEXISTS
public static final String LOG_DATABASEALREADYEXISTS
public static final String LOG_DATABASECREATION
public static final String LOG_DATABASECREATIONEXCEPTION
public static final String LOG_WIKICREATION
public static final String LOG_WIKIDELETION
public static final String LOG_WIKIGET
public static final String LOG_WIKIALIASGET
public static final String LOG_WIKIGETALL
public static final String LOG_WIKIALIASGETALL
public static final String LOG_WIKISETVISIBILITY
public static final String LOG_WIKITEMPLATEGET
public static final String LOG_WIKITEMPLATEGETALL
| Method Detail |
|---|
public String get(String key)
get in class XWikiMessageTool
public String get(String key,
Object... params)
get in class XWikiMessageToolpublic static WikiManagerMessageTool 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 | |||||||||