FlowKeyValue
Expression Extends:
class FlowKeyValue extends aggregate(FlowKeyValueModel, Helper)
Helper class representing Flow Data (Flow Process Value).
Constructor Summary
Public Constructor | ||
public |
constructor(json: Object) Constructor for helper class representing Flow Data (Flow Process Value) |
Member Summary
Public Members | ||
public get |
|
|
public set |
|
|
public get |
|
|
public set |
|
|
public get |
|
|
public set |
|
|
public get |
|
Method Summary
Public Methods | ||
public |
Delete (soft delete / hide) a flow process value resource given an id |
|
public |
save(): Promise<FlowKeyValue> Saves a flow key value (insert if id doesn't exist, update if it does) |
Public Constructors
Public Members
public get flowDataGroup: FlowDataGroup source
public set flowDataGroup: FlowDataGroup source
Public Methods
public delete(): Promise<any> source
Delete (soft delete / hide) a flow process value resource given an id
Example:
import { FlowKeyValue } from 'clinical6';
const kfv = new FlowKeyValue({...});
kfv.delete();
public save(): Promise<FlowKeyValue> source
Saves a flow key value (insert if id doesn't exist, update if it does)
Example:
import { FlowKeyValue, flowService } from 'clinical6';
// Inserts new flow key value (no existing id)
const flowKeyValue = new FlowKeyValue({...});
flowKeyValue.save();
// Updates existing flowKeyValue (has existing id)
flowService.get().then(flowKeyValue => flowKeyValue.save());