public interface TreeBrowser
| Modifier and Type | Method and Description |
|---|---|
GatewayGroup |
createNode(java.lang.String parentPath,
java.lang.String displayName)
Creates a gateway group node under the node specified by the parentPath argument.
|
GatewayGroup |
getGroup(java.lang.String path)
Returns a
GatewayGroup object
identified by the given path. |
GatewayGroup |
getParent(java.lang.String path)
Returns a
GatewayGroup object which is the parent
of the object identified by the given path into the gateway's tree. |
GatewayGroup[] |
getSubGroups(java.lang.String path)
Returns array of
GatewayGroup object immediate children of the group
identified by the given path into the gateway's tree. |
void |
removeNode(java.lang.String path)
Removes a gateway group node from the gateways tree.
|
GatewayGroup createNode(java.lang.String parentPath, java.lang.String displayName) throws CommunicationException, java.lang.Exception
parentPath - The path of the parent group.displayName - The name under which the created node will be visualized under the parent group node.GatewayGroup object representing the created gateway group node.{@link - CommunicationException} is thrown if communication fails.Exception - is thrown if such node already exists, the parent does not exist
or some other error occurs.CommunicationExceptionjava.lang.Exceptionvoid removeNode(java.lang.String path)
throws CommunicationException,
java.lang.Exception
path - The path of the group to be removed.{@link - CommunicationException} is thrown if communication fails.Exception - is thrown if the node does not exist or other error occurs.CommunicationExceptionjava.lang.ExceptionGatewayGroup getGroup(java.lang.String path) throws CommunicationException, java.lang.Exception
GatewayGroup object
identified by the given path.path - The path of the object.GatewayGroup object.{@link - CommunicationException} is thrown if communication fails.Exception - is thrown if such group is not present or other error occurs.CommunicationExceptionjava.lang.ExceptionGatewayGroup getParent(java.lang.String path) throws CommunicationException, java.lang.Exception
GatewayGroup object which is the parent
of the object identified by the given path into the gateway's tree.path - The path of the object.GatewayGroup object.{@link - CommunicationException} is thrown if communication fails.Exception - is thrown if the node is not present or other error occurs.CommunicationExceptionjava.lang.ExceptionGatewayGroup[] getSubGroups(java.lang.String path) throws CommunicationException, java.lang.Exception
GatewayGroup object immediate children of the group
identified by the given path into the gateway's tree.path - The path of the object.{@link - CommunicationException} is thrown if communication fails.Exception - is thrown if such group is not present or other error occurs.CommunicationExceptionjava.lang.ExceptionCopyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.