assets-navigator/asset-selector/asset-selector.service.ts
getIndexOfSelected | ||||||||||||
getIndexOfSelected(selected: Array
|
||||||||||||
Returns the index of the currently selected item.
Parameters :
Returns :
any
An index, or -1 if not found. |
simplifyModel | |||||||||
simplifyModel(model: Partial
|
|||||||||
Parameters :
Returns :
Partial | IIdentified
|
canDropNode | ||||||||
canDropNode(dropOnRoot: boolean)
|
||||||||
Check if it is possible to drop a node after dragging.
Parameters :
Returns :
boolean
|
createAssetNode | ||||||
createAssetNode(config: Partial<AssetNode>)
|
||||||
Parameters :
Returns :
any
|
createChildNode | |||||||||
createChildNode(managedObject, config: Partial<AssetNode>)
|
|||||||||
Parameters :
Returns :
any
|
createDynamicGroupNode | ||||
createDynamicGroupNode(config)
|
||||
Parameters :
Returns :
any
|
Protected createFilter | ||||||||
createFilter(extraParams: any)
|
||||||||
Parameters :
Returns :
any
|
createRootNode | ||||||||
createRootNode(config: NavigatorNodeData)
|
||||||||
Parameters :
Returns :
AssetNode
|
getAllInventories | ||||||
getAllInventories(customFilter?: any)
|
||||||
Parameters :
Returns :
Promise<any>
|
getDeviceChildren | ||||||||||||||||||||
getDeviceChildren(moId: string, extraFilter: object, filterQuery: string, withChildren)
|
||||||||||||||||||||
Parameters :
Returns :
any
|
getDynamicGroupItems |
getDynamicGroupItems(groupQuery: string, filterObj: any)
|
Returns :
any
|
getGroupItems | ||||||||||||||||||||
getGroupItems(moId: string, extraFilter: object, withChildren, filterQuery: string)
|
||||||||||||||||||||
Parameters :
Returns :
any
|
getRootNodes | ||||||
getRootNodes(customFilter?: any)
|
||||||
Parameters :
Returns :
Promise<any>
|
getUnassignedDevices | ||||||||||||
getUnassignedDevices(withChildren, filterQuery: string)
|
||||||||||||
Parameters :
Returns :
any
|
getUnassignedDevicesQueryStr | ||||
getUnassignedDevicesQueryStr(filterQuery)
|
||||
Parameters :
Returns :
string
|
groupQueryFilter |
groupQueryFilter(moId: string, filterQuery?: string)
|
Returns :
string
|
icon | |||||||||
icon(mo: IManagedObject, open?: boolean)
|
|||||||||
Parameters :
Returns :
any
|
isAnyGroup | ||||||
isAnyGroup(mo: IManagedObject)
|
||||||
Parameters :
Returns :
any
|
isAsset | ||||||
isAsset(mo: IManagedObject)
|
||||||
Parameters :
Returns :
any
|
isDataBroker | ||||||
isDataBroker(mo: IManagedObject)
|
||||||
Parameters :
Returns :
any
|
isDataBrokerActive | ||||||
isDataBrokerActive(mo: IManagedObject)
|
||||||
Parameters :
Returns :
any
|
isDevice | ||||||
isDevice(mo: IManagedObject)
|
||||||
Parameters :
Returns :
any
|
isDynamicGroup | ||||||
isDynamicGroup(mo: IManagedObject)
|
||||||
Parameters :
Returns :
any
|
isGroup | ||||||
isGroup(mo: IManagedObject)
|
||||||
Parameters :
Returns :
any
|
isNewManagedObjectRoot | ||||||||
isNewManagedObjectRoot(response: Partial
|
||||||||
Parameters :
Returns :
boolean
|
navRootQueryFilter |
navRootQueryFilter()
|
onUpdate | |||
onUpdate(undefined)
|
|||
Parameters :
Returns :
any
|
preferBreadcrumb | ||||||||
preferBreadcrumb(parents: NavigatorNode[])
|
||||||||
There could be multiple breadcrumbs for devices, so we set a preferred one on click on a device.
Parameters :
Returns :
void
|
rootQueryFilter |
rootQueryFilter()
|
Public alert |
Type : AlertService
|
Public apiService |
Type : ApiService
|
draggedData |
Type : AssetNode
|
firstUrl |
Default value : true
|
Public inventory |
Type : InventoryService
|
Public modal |
Type : ModalService
|
Public moduleConfig |
Type : AssetNavigatorConfig
|
Decorators :
@Optional()
|
Protected PAGE_SIZE |
Type : number
|
Default value : 20
|
queriesUtil |
Type : QueriesUtil
|
rootNode |
Type : AssetNode
|