BidEntity
Extends:
Direct Subclass:
A base class for all other bid entities to extend.
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public get |
Determine if the entity is in an assembly |
|
| public get |
Gets the id of the bid entity. |
|
| public get |
Gets the bid entity title. |
|
| public set |
Sets the bid entity title. |
|
| public get |
Gets the bid entity type. |
|
Method Summary
| Public Methods | ||
| public abstract |
Assesses bid entity. |
|
| public |
dependants(): BidEntity[] Gets an array of depndants that rely on the bid entity. |
|
| public |
dependencies(): BidEntity[] Gets all the dependencies that the bid entity relies on. |
|
| public |
dirty() Flags the bid entity as dirty and to be saved. |
|
| public |
exportData(): object Exports the internal data for the bid entity. |
|
| public |
hasNullDependency(field: string): boolean Determines if bid entity relies on a null or undefined dependency value |
|
| public |
async initSaveChangeLog(originalValue: *, newValue: *, valueType: *, entityProperty: *, metaData: *): * |
|
| public |
Determines of bid entity is dirty. |
|
| public |
pristine() Marks the bid entity as clean. |
|
Inherited Summary
| From class AdvanceEventEmitter | ||
| public |
Maximum number of events fired for the requester before events stop. |
|
| public |
|
|
| public |
|
|
| public |
removeListenerByRequester(eventName: string, requesterId: string) Removes event listeners by event and requesterId. |
|
Public Constructors
public constructor() source
Creates an instance of AdvanceEventEmitter.
Override:
AdvanceEventEmitter#constructorPublic Members
Public Methods
public abstract assess(dependency: BidEntity) source
Assesses bid entity.
Params:
| Name | Type | Attribute | Description |
| dependency | BidEntity |
|
The calling dependency. |
Emit:
assessing |
Fires as assessment begins. |
assessed |
Fires when bid entity assessement is completed |
updated |
Fires when the bid entity has changed. |
public hasNullDependency(field: string): boolean source
Determines if bid entity relies on a null or undefined dependency value
Params:
| Name | Type | Attribute | Description |
| field | string |
|
Field property if other than 'value' |
public async initSaveChangeLog(originalValue: *, newValue: *, valueType: *, entityProperty: *, metaData: *): * source
Params:
| Name | Type | Attribute | Description |
| originalValue | * | ||
| newValue | * | ||
| valueType | * | ||
| entityProperty | * | ||
| metaData | * |
Return:
| * |