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