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
public class CmsAccountsToolHandler extends org.opencms.workplace.tools.CmsDefaultToolHandler
Users management tool handler that hides the tool if the current user has not the needed privileges.- Since:
- 6.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PATH_KILL_SESSIONS
Path for the kill session tool.static java.lang.String
PATH_UNLOCK
Path for the unlock tool.protected static java.lang.String
VISIBILITY_ALL
Visibility parameter value constant.
-
Constructor Summary
Constructors Constructor Description CmsAccountsToolHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDisabledHelpText()
protected java.lang.String
getPath(java.lang.String jspName)
Returns the path to the jsp.protected java.lang.String
getVisibilityFlag()
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.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 Detail
-
PATH_KILL_SESSIONS
public static final java.lang.String PATH_KILL_SESSIONS
Path for the kill session tool.- See Also:
- Constant Field Values
-
PATH_UNLOCK
public static final java.lang.String PATH_UNLOCK
Path for the unlock tool.- See Also:
- Constant Field Values
-
VISIBILITY_ALL
protected static final java.lang.String VISIBILITY_ALL
Visibility parameter value constant.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CmsAccountsToolHandler
public CmsAccountsToolHandler()
-
-
Method Detail
-
getDisabledHelpText
public java.lang.String 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
public boolean isEnabled(org.opencms.workplace.CmsWorkplace wp)
- 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
public boolean isVisible(org.opencms.file.CmsObject cms)
- 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
public boolean isVisible(org.opencms.workplace.CmsWorkplace wp)
- 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
protected java.lang.String getPath(java.lang.String jspName)
Returns the path to the jsp.- Parameters:
jspName
- the jsp name- Returns:
- the full path
-
getVisibilityFlag
protected java.lang.String getVisibilityFlag()
Returns the visibility flag module parameter value.- Returns:
- the visibility flag module parameter value
-
-