Package org.opencms.workplace.tools
Class CmsToolUserData
java.lang.Object
org.opencms.workplace.tools.CmsToolUserData
Store for some administration view parameters,
for each user, used by the
CmsToolManager
.- Since:
- 6.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBaseTool
(String rootKey) Returns the base tool.getCurrentToolPath
(String rootKey) Returns the current tool path.Returns the root key.void
setBaseTool
(String rootKey, String baseTool) Sets the base tool.void
setCurrentToolPath
(String rootKey, String currentToolPath) Sets the current tool path.void
setRootKey
(String key) Sets the root key.
-
Constructor Details
-
CmsToolUserData
public CmsToolUserData()Default Constructor.
-
-
Method Details
-
getBaseTool
Returns the base tool.- Parameters:
rootKey
- the tool root- Returns:
- the base tool
-
getCurrentToolPath
Returns the current tool path.- Parameters:
rootKey
- the tool root- Returns:
- the current tool path
-
getRootKey
Returns the root key.- Returns:
- the root key
-
setBaseTool
Sets the base tool.- Parameters:
rootKey
- the tool rootbaseTool
- the base tool to set
-
setCurrentToolPath
Sets the current tool path.- Parameters:
rootKey
- the tool rootcurrentToolPath
- the current tool path to set
-
setRootKey
Sets the root key.- Parameters:
key
- the root key to set
-