Package com.arms.api.util

## Class TreeServiceUtils

- java.lang.Object
- - com.arms.api.util.TreeServiceUtils

-     public class TreeServiceUtils
      extends java.lang.Object

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static <T extends TreeSearchEntity,​S extends TreeService> T` | `getNode​(S service, java.lang.Long cId, java.lang.Class<T> clazz)` |
    `static <T extends TreeSearchEntity,​S extends TreeService> java.util.Optional<T>` | `getNodeOptional​(S service, java.lang.Long cId, java.lang.Class<T> clazz)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getNode

          public static <T extends TreeSearchEntity,​S extends TreeService> T getNode​(S service,
                                                                                           java.lang.Long cId,
                                                                                           java.lang.Class<T> clazz)
                                                                                    throws java.lang.Exception

      Throws:
        `java.lang.Exception`

    - #### getNodeOptional

          public static <T extends TreeSearchEntity,​S extends TreeService> java.util.Optional<T> getNodeOptional​(S service,
                                                                                                                       java.lang.Long cId,
                                                                                                                       java.lang.Class<T> clazz)
                                                                                                                throws java.lang.Exception

      Throws:
        `java.lang.Exception`