## Dec.Utils
平台workbench utils方法
* [Dec.Utils](#module_Dec.Utils)
* [~getWorkbenchSubDirectoryById(pId, callback)](#module_Dec.Utils..getWorkbenchSubDirectoryById)
* [~getCompleteDirectoryTree(callback)](#module_Dec.Utils..getCompleteDirectoryTree)
* [~searchWorkbenchSubDirectory(keyword, callback)](#module_Dec.Utils..searchWorkbenchSubDirectory)
* [~handlerCollect(id, isFavorite, callback)](#module_Dec.Utils..handlerCollect)
* [~getFavoritesList(callback)](#module_Dec.Utils..getFavoritesList)
### Dec.Utils~getWorkbenchSubDirectoryById(pId, callback)
根据父级id获取下一层子目录,根级id为 decision-directory-root
**Kind**: inner method of [Dec.Utils
](#module_Dec.Utils)
| Param | Description |
| --- | --- |
| pId | 父级id |
| callback | |
### Dec.Utils~getCompleteDirectoryTree(callback)
获取完整的目录树数据
**Kind**: inner method of [Dec.Utils
](#module_Dec.Utils)
| Param |
| --- |
| callback |
### Dec.Utils~searchWorkbenchSubDirectory(keyword, callback)
搜索目录树
**Kind**: inner method of [Dec.Utils
](#module_Dec.Utils)
| Param |
| --- |
| keyword |
| callback |
### Dec.Utils~handlerCollect(id, isFavorite, callback)
收藏或者取消收藏目录
**Kind**: inner method of [Dec.Utils
](#module_Dec.Utils)
| Param | Type | Description |
| --- | --- | --- |
| id | | |
| isFavorite | boolean
| 是否收藏 |
| callback | | |
### Dec.Utils~getFavoritesList(callback)
获取收藏列表
**Kind**: inner method of [Dec.Utils
](#module_Dec.Utils)
| Param |
| --- |
| callback |