Class CmsAccountsToolHandler
java.lang.Object
org.opencms.workplace.tools.A_CmsToolHandler
org.opencms.workplace.tools.CmsDefaultToolHandler
org.opencms.workplace.tools.accounts.CmsAccountsToolHandler
- All Implemented Interfaces:
org.opencms.workplace.tools.I_CmsToolHandler
Users management tool handler that hides the tool if the current user
has not the needed privileges.
- Since:
- 6.0.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Path for the kill session tool.static final String
Path for the unlock tool.protected static final String
Visibility parameter value constant.Fields inherited from class org.opencms.workplace.tools.A_CmsToolHandler
ARG_PARAM_NAME, ARG_PATH_NAME, ARGS_PROPERTY_DEFINITION, ARGUMENT_SEPARATOR, DEFAULT_DISABLED_HELPTEXT, VALUE_SEPARATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
Returns the path to the jsp.protected String
Returns the visibility flag module parameter value.boolean
isEnabled
(org.opencms.workplace.CmsWorkplace wp) boolean
isVisible
(org.opencms.file.CmsObject cms) boolean
isVisible
(org.opencms.workplace.CmsWorkplace wp) Methods inherited from class org.opencms.workplace.tools.CmsDefaultToolHandler
isEnabled
Methods inherited from class org.opencms.workplace.tools.A_CmsToolHandler
getConfirmationMessage, getGroup, getHelpText, getIconPath, getLink, getName, getParameters, getPath, getPosition, getShortName, getSmallIconPath, setConfirmationMessage, setDisabledHelpText, setGroup, setHelpText, setIconPath, setLink, setLink, setName, setParameters, setParameterString, setPath, setPosition, setShortName, setSmallIconPath, setup, toString
-
Field Details
-
PATH_KILL_SESSIONS
Path for the kill session tool.- See Also:
-
PATH_UNLOCK
Path for the unlock tool.- See Also:
-
VISIBILITY_ALL
Visibility parameter value constant.- See Also:
-
-
Constructor Details
-
CmsAccountsToolHandler
public CmsAccountsToolHandler()
-
-
Method Details
-
getDisabledHelpText
- Specified by:
getDisabledHelpText
in interfaceorg.opencms.workplace.tools.I_CmsToolHandler
- Overrides:
getDisabledHelpText
in classorg.opencms.workplace.tools.A_CmsToolHandler
- See Also:
-
A_CmsToolHandler.getDisabledHelpText()
-
isEnabled
- Specified by:
isEnabled
in interfaceorg.opencms.workplace.tools.I_CmsToolHandler
- Overrides:
isEnabled
in classorg.opencms.workplace.tools.A_CmsToolHandler
- See Also:
-
A_CmsToolHandler.isEnabled(org.opencms.workplace.CmsWorkplace)
-
isVisible
- Specified by:
isVisible
in interfaceorg.opencms.workplace.tools.I_CmsToolHandler
- Overrides:
isVisible
in classorg.opencms.workplace.tools.CmsDefaultToolHandler
- See Also:
-
CmsDefaultToolHandler.isVisible(org.opencms.file.CmsObject)
-
isVisible
- Specified by:
isVisible
in interfaceorg.opencms.workplace.tools.I_CmsToolHandler
- Overrides:
isVisible
in classorg.opencms.workplace.tools.A_CmsToolHandler
- See Also:
-
A_CmsToolHandler.isVisible(org.opencms.workplace.CmsWorkplace)
-
getPath
Returns the path to the jsp.- Parameters:
jspName
- the jsp name- Returns:
- the full path
-
getVisibilityFlag
Returns the visibility flag module parameter value.- Returns:
- the visibility flag module parameter value
-