File

operations/bulk-operations-service/bulk-operations.service.ts

Index

Properties
Methods

Constructor

constructor(operationBulkService: OperationBulkService, operationService: OperationService, inventoryService: InventoryService, location: Location, bulkTypes: Array<OperationType | []>)
Parameters :
Name Type Optional
operationBulkService OperationBulkService No
operationService OperationService No
inventoryService InventoryService No
location Location No
bulkTypes Array<OperationType | []> No

Methods

createBulkOperation
createBulkOperation(bulkOperation: Partial)
Parameters :
Name Type Optional
bulkOperation Partial<IOperationBulk> No
Returns : any
createGroup
createGroup(deviceQueryDataString: string)
Parameters :
Name Type Optional
deviceQueryDataString string No
Returns : any
deleteBulkOperation
deleteBulkOperation(bulkOperationId)
Parameters :
Name Optional
bulkOperationId No
Returns : any
getBulkOperationById
getBulkOperationById(bulkOperationId: string | number)
Parameters :
Name Type Optional
bulkOperationId string | number No
Returns : any
getBulkOperations
getBulkOperations(customFilter: object)
Parameters :
Name Type Optional Default value
customFilter object No {}
Returns : any
getBulkTypes
getBulkTypes()
Returns : OperationType[]
getOperation
getOperation(id: string)
Parameters :
Name Type Optional
id string No
Returns : Promise<IResult<IOperation>>
getSingleOperationsByStatus
getSingleOperationsByStatus(status, bulkOperationId)
Parameters :
Name Optional
status No
bulkOperationId No
Returns : any
retrieveBulkOperationType
retrieveBulkOperationType(operation: IOperation)
Parameters :
Name Type Optional
operation IOperation No
Returns : BulkOperationType
returnToBulkOperationOverview
returnToBulkOperationOverview()
Returns : void
Async scheduleBulkOperation
scheduleBulkOperation(deviceQueryString: string, details: OperationDetails)
Parameters :
Name Type Optional
deviceQueryString string No
details OperationDetails No
Returns : any
setBulkTypes
setBulkTypes(list: OperationType[])
Parameters :
Name Type Optional
list OperationType[] No
Returns : void
setFirmwareId
setFirmwareId(id: IdReference)
Parameters :
Name Type Optional
id IdReference No
Returns : void
updateBulkOperation
updateBulkOperation(bulkOperation: Partial)
Parameters :
Name Type Optional
bulkOperation Partial<IOperationBulk> No
Returns : any
updateSingleOperation
updateSingleOperation(partialUpdateObject: Partial)
Parameters :
Name Type Optional
partialUpdateObject Partial<IOperation> No
Returns : any

Properties

Readonly DD_LOW_COUNT
Type : number
Default value : 10
firmwareId
Type : Subject<IdReference>
Default value : new Subject<IdReference>()

results matching ""

    No results matching ""