|
||||||||||
| 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.applicationmanager.ApplicationManagerMessageTool
public class ApplicationManagerMessageTool
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.
| Field Summary | |
|---|---|
static java.lang.String |
COMMENT_AUTOUPDATETRANSLATIONS
Used as comment when automatically update application translations pages. |
static java.lang.String |
COMMENT_CREATEAPPLICATION
Used as comment when creating a new application. |
static java.lang.String |
COMMENT_IMPORTAPPLICATION
Used as comment when importing a new application. |
static java.lang.String |
COMMENT_REFRESHALLTRANSLATIONS
Used as comment when refreshing all applications translations pages. |
static java.lang.String |
COMMENT_RELOADALLAPPLICATIONS
Used as comment when reloading all applications. |
static java.lang.String |
COMMENT_RELOADAPPLICATION
Used as comment when reloading an application. |
static java.lang.String |
ERROR_APPDOESNOTEXISTS
Used as ApplicationManagerException message when failed to find application from provided application
name. |
static java.lang.String |
ERROR_APPPAGEALREADYEXISTS
Used as ApplicationManagerException message when application default page name already exists. |
static java.lang.String |
ERROR_IMORT_IMPORT
Used as ApplicationManagerException message when failed to load XAR package as list of
XWikiDocument. |
static java.lang.String |
ERROR_IMORT_INSTALL
Used as ApplicationManagerException message when failed to insert loaded
XWikiDocument from package into database. |
static java.lang.String |
ERROR_IMORT_PKGDOESNOTEXISTS
Used as ApplicationManagerException message when provided XAR package does not exists. |
static java.lang.String |
LOG_AUTOUPDATETRANSLATIONS
Used as Log log message when automatically updating application translations
informations failed. |
static java.lang.String |
LOG_CREATEAPP
Used as Log log message when application creation failed. |
static java.lang.String |
LOG_DELETEAPP
Used as Log log message when application delete failed. |
static java.lang.String |
LOG_EXPORTAPP
Used as Log log message when exporting application failed. |
static java.lang.String |
LOG_GETALLAPPS
Used as Log log message when getting all application descriptors failed. |
static java.lang.String |
LOG_GETAPP
Used as Log log message when getting application descriptor failed. |
static java.lang.String |
LOG_GETROOTAPP
Used as Log log message when getting wiki root application failed. |
static java.lang.String |
LOG_IMPORTAPP
Used as Log log message when importing application failed. |
static java.lang.String |
LOG_REALOADALLAPPS
Used as Log log message when reloading all applications failed. |
static java.lang.String |
LOG_REFRESHALLTRANSLATIONS
Used as Log log message when refreshing all applications translations pages. |
static java.lang.String |
LOG_RELOADAPP
Used as Log log message when reloading application failed. |
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 ApplicationManagerMessageTool |
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_CREATEAPPLICATION
public static final java.lang.String COMMENT_IMPORTAPPLICATION
public static final java.lang.String COMMENT_RELOADAPPLICATION
public static final java.lang.String COMMENT_RELOADALLAPPLICATIONS
public static final java.lang.String COMMENT_AUTOUPDATETRANSLATIONS
public static final java.lang.String COMMENT_REFRESHALLTRANSLATIONS
public static final java.lang.String ERROR_APPPAGEALREADYEXISTS
ApplicationManagerException message when application default page name already exists.
public static final java.lang.String ERROR_IMORT_PKGDOESNOTEXISTS
ApplicationManagerException message when provided XAR package does not exists.
public static final java.lang.String ERROR_IMORT_IMPORT
ApplicationManagerException message when failed to load XAR package as list of
XWikiDocument.
public static final java.lang.String ERROR_IMORT_INSTALL
ApplicationManagerException message when failed to insert loaded
XWikiDocument from package into database.
public static final java.lang.String ERROR_APPDOESNOTEXISTS
ApplicationManagerException message when failed to find application from provided application
name.
public static final java.lang.String LOG_CREATEAPP
Log log message when application creation failed.
public static final java.lang.String LOG_DELETEAPP
Log log message when application delete failed.
public static final java.lang.String LOG_GETALLAPPS
Log log message when getting all application descriptors failed.
public static final java.lang.String LOG_GETAPP
Log log message when getting application descriptor failed.
public static final java.lang.String LOG_EXPORTAPP
Log log message when exporting application failed.
public static final java.lang.String LOG_IMPORTAPP
Log log message when importing application failed.
public static final java.lang.String LOG_RELOADAPP
Log log message when reloading application failed.
public static final java.lang.String LOG_REALOADALLAPPS
Log log message when reloading all applications failed.
public static final java.lang.String LOG_AUTOUPDATETRANSLATIONS
Log log message when automatically updating application translations
informations failed.
public static final java.lang.String LOG_REFRESHALLTRANSLATIONS
Log log message when refreshing all applications translations pages.
public static final java.lang.String LOG_GETROOTAPP
Log log message when getting wiki root application failed.
| Method Detail |
|---|
public static ApplicationManagerMessageTool 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 | |||||||||