public class ClearTool extends Object
| Constructor and Description |
|---|
ClearTool(Map roleObjects)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear(String roleName)
Recursivly clears the specified node and all related children from the
object selection.
|
void |
clearKeepKeys(String roleName)
Recursivly clears the specified role, expept the keys on the first node.
|
void |
clearListBlocks(Set listBlocks)
Clears listblocks contained in the
listBlocks set. |
void |
clearMembers(String roleName)
Clears all roles associated with the specified role.
|
void |
clearRole(String roleName)
Recursivly clears the specified node and all related children from the
object selection.
|
RoleObject |
getRoleObject(String roleName)
Returns the role object associated with the specifed role name
|
public ClearTool(Map roleObjects)
roleObjects - the complemte map of role objects. Key = name of role,
value = the role object.public void clear(String roleName)
roleName - the name of the node to clearpublic void clearRole(String roleName)
roleName - the name of the node to clearpublic void clearMembers(String roleName)
roleName - the name of the object selection node.public void clearKeepKeys(String roleName)
roleName - the name of the object selection node.public void clearListBlocks(Set listBlocks)
listBlocks set.listBlocks - a set of listblocks to clear.public RoleObject getRoleObject(String roleName)
roleName - the name of the object selection node.Copyright © 2006–2018 Esito AS. All rights reserved.