repository/software/list/software-list.component.ts
selector | c8y-software-list |
templateUrl | software-list.component.html |
Properties |
Methods |
constructor(repositoryService: RepositoryService, gridService: DeviceGridService, modalService: ModalService, bsModalService: BsModalService, translateService: TranslateService, alertService: AlertService, router: Router, activatedRoute: ActivatedRoute)
|
|||||||||||||||||||||||||||
Parameters :
|
addSoftware |
addSoftware()
|
Returns :
void
|
Async deleteSoftware | ||||||
deleteSoftware(software: IManagedObject)
|
||||||
Parameters :
Returns :
any
|
editSoftware | ||||||
editSoftware(software: Partial
|
||||||
Parameters :
Returns :
void
|
ngOnInit |
ngOnInit()
|
Returns :
void
|
Async onDataSourceModifier | ||||||
onDataSourceModifier(dataSourceModifier: DataSourceModifier)
|
||||||
Parameters :
Returns :
Promise<ServerSideDataResult>
|
trackByName | |||||||||
trackByName(_index, column: DeviceGridColumn)
|
|||||||||
Parameters :
Returns :
string
|
actionControls |
Type : ActionControl[]
|
Default value : []
|
columns |
Type : DeviceGridColumn[]
|
Default value : [
new SoftwareNameGridColumn(),
new DescriptionGridColumn(),
new DeviceTypeGridColumn(),
new SoftwareTypeGridColumn(),
new VersionsGridColumn()
]
|
pagination |
Type : object
|
Default value : {
pageSize: 50,
currentPage: 1
}
|
refresh$ |
Type : EventEmitter<void>
|
Default value : new EventEmitter()
|
serverSideDataCallback |
Type : any
|
sizeRequest |
Type : Promise<number>
|
sizeRequestDone |
Default value : false
|