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