Package org.opencms.workplace.tools
Class CmsOnlyAdminToolHandler
java.lang.Object
org.opencms.workplace.tools.A_CmsToolHandler
org.opencms.workplace.tools.CmsOnlyAdminToolHandler
- All Implemented Interfaces:
- I_CmsToolHandler
This tool handler hides the tool to non admin users.
- Since:
- 6.0.0
- 
Field SummaryFields inherited from class org.opencms.workplace.tools.A_CmsToolHandlerARG_PARAM_NAME, ARG_PATH_NAME, ARGS_PROPERTY_DEFINITION, ARGUMENT_SEPARATOR, DEFAULT_DISABLED_HELPTEXT, VALUE_SEPARATOR
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.opencms.workplace.tools.A_CmsToolHandlergetConfirmationMessage, getDisabledHelpText, getGroup, getHelpText, getIconPath, getLink, getName, getParameters, getPath, getPosition, getShortName, getSmallIconPath, isEnabled, isVisible, setConfirmationMessage, setDisabledHelpText, setGroup, setHelpText, setIconPath, setLink, setLink, setName, setParameters, setParameterString, setPath, setPosition, setShortName, setSmallIconPath, setup, toString
- 
Constructor Details- 
CmsOnlyAdminToolHandlerpublic CmsOnlyAdminToolHandler()
 
- 
- 
Method Details- 
isEnabledDescription copied from interface:I_CmsToolHandlerReturns the state of the admin tool for a given cms context.- Parameters:
- cms- the cms context
- Returns:
- trueif enabled
- See Also:
 
- 
isVisibleDescription copied from interface:I_CmsToolHandlerReturns the visibility flag for a given cms context.- Parameters:
- cms- the cms context
- Returns:
- trueif visible
- See Also:
 
 
-