Constructor Summary
Public Constructor | ||
public |
constructor(pvbidContext: PVBidContext) Creates an instance of ProjectLoader. |
Member Summary
Public Members | ||
public |
context: * |
Method Summary
Public Methods | ||
public |
Loads a project and bid instances. |
|
public |
loadVirtualClone(project: Project, bidIds: number[]): Project Generate a new project instance based on the original data from the given project. |
Public Constructors
public constructor(pvbidContext: PVBidContext) source
Creates an instance of ProjectLoader.
Params:
Name | Type | Attribute | Description |
pvbidContext | PVBidContext |
Public Members
public context: * source
Public Methods
public async load(projectId: number, options: object): Promise<Project> source
Loads a project and bid instances.