Class CmsChangeLogLevelAction
java.lang.Object
org.opencms.workplace.tools.A_CmsHtmlIconButton
org.opencms.workplace.list.A_CmsListAction
org.opencms.workplace.list.CmsListDirectAction
org.opencms.workplace.tools.workplace.logging.CmsChangeLogLevelAction
- All Implemented Interfaces:
I_CmsListAction
,I_CmsListDirectAction
,org.opencms.workplace.tools.I_CmsHtmlIconButton
Action handler for single actions from logging view.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.logging.log4j.Level
The actual log level of this row.Fields inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButton
EMPTY_MESSAGE, m_id
-
Constructor Summary
ConstructorsConstructorDescriptionCmsChangeLogLevelAction
(String id, org.apache.logging.log4j.Level level) Constructor so generate an instance.CmsChangeLogLevelAction
(String id, org.apache.logging.log4j.Level level, org.opencms.i18n.CmsMessageContainer helpText) Constructor so generate an instance.CmsChangeLogLevelAction
(String id, org.apache.logging.log4j.Level level, org.opencms.i18n.CmsMessageContainer name, org.opencms.i18n.CmsMessageContainer helpText) Constructor so generate an instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
protected String
resolveName
(Locale locale) Help method to resolve the name to use.Methods inherited from class org.opencms.workplace.list.CmsListDirectAction
buttonHtml, confirmationTextHtml, getColumnForTexts, getItem, helpTextHtml, resolveButtonStyle, resolveHelpText, resolveOnClic, setColumnForTexts, setItem
Methods inherited from class org.opencms.workplace.list.A_CmsListAction
buttonHtml, defaultConfirmationHtml, getConfirmationMessage, getListId, getWp, setConfirmationMessage, setListId, setWp
Methods inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButton
defaultButtonHtml, defaultButtonHtml, defaultHelpHtml, getHelpText, getIconPath, getId, getName, isVisible, setEnabled, setHelpText, setIconPath, setName, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opencms.workplace.tools.I_CmsHtmlIconButton
getHelpText, getIconPath, getId, getName, isVisible, setEnabled, setHelpText, setIconPath, setName, setVisible
Methods inherited from interface org.opencms.workplace.list.I_CmsListAction
buttonHtml, getConfirmationMessage, getListId, getWp, setConfirmationMessage, setListId, setWp
-
Field Details
-
m_logLevel
The actual log level of this row.
-
-
Constructor Details
-
CmsChangeLogLevelAction
Constructor so generate an instance.- Parameters:
id
- The id of the Log-channellevel
- The level of the Log-channel
-
CmsChangeLogLevelAction
public CmsChangeLogLevelAction(String id, org.apache.logging.log4j.Level level, org.opencms.i18n.CmsMessageContainer helpText) Constructor so generate an instance.- Parameters:
id
- Id of the Log-channellevel
- Level of the Log-channelhelpText
- Helptext of the Log-Channel
-
CmsChangeLogLevelAction
public CmsChangeLogLevelAction(String id, org.apache.logging.log4j.Level level, org.opencms.i18n.CmsMessageContainer name, org.opencms.i18n.CmsMessageContainer helpText) Constructor so generate an instance.- Parameters:
id
- Id of the Log-channellevel
- Level of the Log-channelname
- Name of the Log-channelhelpText
- Helptext of the Log-Channel
-
-
Method Details
-
resolveName
Help method to resolve the name to use.- Overrides:
resolveName
in classCmsListDirectAction
- Parameters:
locale
- the used locale- Returns:
- the name
-
isEnabled
- Specified by:
isEnabled
in interfaceorg.opencms.workplace.tools.I_CmsHtmlIconButton
- Overrides:
isEnabled
in classorg.opencms.workplace.tools.A_CmsHtmlIconButton
- See Also:
-
A_CmsHtmlIconButton.isEnabled()
-