File

assets-navigator/asset-selector/group-node.service.ts

Extends

AssetNodeService

Index

Properties
Methods

Methods

createChildNode
createChildNode(config: GroupNodeConfig)
Parameters :
Name Type Optional
config GroupNodeConfig No
Returns : GroupNode
createGroupNode
createGroupNode(config: GroupNodeConfig)
Parameters :
Name Type Optional
config GroupNodeConfig No
Returns : any
createAssetNode
createAssetNode(config: Partial<AssetNode>)
Parameters :
Name Type Optional
config Partial<AssetNode> No
Returns : any
createDynamicGroupNode
createDynamicGroupNode(config)
Parameters :
Name Optional
config No
Returns : any
Protected createFilter
createFilter(extraParams: any)
Parameters :
Name Type Optional Default value
extraParams any No {}
Returns : any
createRootNode
createRootNode(config: NavigatorNodeData)
Parameters :
Name Type Optional Default value
config NavigatorNodeData No {}
Returns : AssetNode
getAllInventories
getAllInventories(customFilter?: any)
Parameters :
Name Type Optional
customFilter any Yes
Returns : Promise<any>
getDeviceChildren
getDeviceChildren(moId: string, extraFilter: object, filterQuery: string, withChildren)
Parameters :
Name Type Optional Default value
moId string No
extraFilter object No {}
filterQuery string No ''
withChildren No false
Returns : any
getDynamicGroupItems
getDynamicGroupItems(groupQuery: string, filterObj: any)
Parameters :
Name Type Optional Default value
groupQuery string No
filterObj any No {}
Returns : any
getGroupItems
getGroupItems(moId: string, extraFilter: object, withChildren, filterQuery: string)
Parameters :
Name Type Optional Default value
moId string No
extraFilter object No {}
withChildren No false
filterQuery string No ''
Returns : any
getRootNodes
getRootNodes(customFilter?: any)
Parameters :
Name Type Optional
customFilter any Yes
Returns : Promise<any>
getUnassignedDevices
getUnassignedDevices(withChildren, filterQuery: string)
Parameters :
Name Type Optional Default value
withChildren No false
filterQuery string No ''
Returns : any
getUnassignedDevicesQueryStr
getUnassignedDevicesQueryStr(filterQuery)
Parameters :
Name Optional
filterQuery No
Returns : string
groupQueryFilter
groupQueryFilter(moId: string, filterQuery?: string)
Parameters :
Name Type Optional
moId string No
filterQuery string Yes
Returns : string
icon
icon(mo: IManagedObject, open?: boolean)
Parameters :
Name Type Optional
mo IManagedObject No
open boolean Yes
Returns : any
isAnyGroup
isAnyGroup(mo: IManagedObject)
Parameters :
Name Type Optional
mo IManagedObject No
Returns : any
isAsset
isAsset(mo: IManagedObject)
Parameters :
Name Type Optional
mo IManagedObject No
Returns : any
isDataBroker
isDataBroker(mo: IManagedObject)
Parameters :
Name Type Optional
mo IManagedObject No
Returns : any
isDataBrokerActive
isDataBrokerActive(mo: IManagedObject)
Parameters :
Name Type Optional
mo IManagedObject No
Returns : any
isDevice
isDevice(mo: IManagedObject)
Parameters :
Name Type Optional
mo IManagedObject No
Returns : any
isDynamicGroup
isDynamicGroup(mo: IManagedObject)
Parameters :
Name Type Optional
mo IManagedObject No
Returns : any
isGroup
isGroup(mo: IManagedObject)
Parameters :
Name Type Optional
mo IManagedObject No
Returns : any
isNewManagedObjectRoot
isNewManagedObjectRoot(response: Partial>)
Parameters :
Name Type Optional Default value
response Partial<IResult<IManagedObject>> No {}
Returns : boolean
navRootQueryFilter
navRootQueryFilter()
onUpdate
onUpdate(undefined)
Parameters :
Name Optional
No
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 :
Name Type Optional Description
parents NavigatorNode[] No

The parent nodes of the device to select the prefered one.

Returns : void
rootQueryFilter
rootQueryFilter()

Properties

Protected PAGE_SIZE
Type : number
Default value : 5
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()
@Inject(ASSET_NAVIGATOR_CONFIG)
queriesUtil
Type : QueriesUtil
rootNode
Type : AssetNode

results matching ""

    No results matching ""