EntitySubject
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
id: * |
|
public |
interface: * |
|
public |
model: * |
|
public |
name: * |
|
public |
observable: * |
|
public |
store: * |
|
public |
subscriptions: {} |
Method Summary
Public Methods | ||
public |
asObject(relationDeepness: *): * |
|
public |
|
|
public |
equals(entitySubject: *): * |
|
public |
isSubscriberOf(name: *, id: *): * |
|
public |
|
|
public |
subscribe(name: *, id: *): * |
|
public |
|
|
public |
unsubscribe(name: *, id: *) |
|
public |
|
Private Methods | ||
private |
_applyComputed(reactiveInterface: *) |
|
private |
_applyMutations(reactiveInterface: *) |
|
private |
_asObject(structure: *, item: *, deepness: *): * |
|
private |
_mapObserverToSource(item: {}, structure: *, stateProvider: *): * |
|
private |
_processReference(value: *, stateProvider: *): * |
Public Constructors
public constructor() source
Public Members
public id: * source
public interface: * source
public model: * source
public name: * source
public observable: * source
public store: * source
public subscriptions: {} source
Public Methods
public asObject(relationDeepness: *): * source
Params:
Name | Type | Attribute | Description |
relationDeepness | * |
Return:
* |
public equals(entitySubject: *): * source
Params:
Name | Type | Attribute | Description |
entitySubject | * |
Return:
* |
public isSubscriberOf(name: *, id: *): * source
Params:
Name | Type | Attribute | Description |
name | * | ||
id | * |
Return:
* |
public mutate(mutation: *, message: string) source
Params:
Name | Type | Attribute | Description |
mutation | * | ||
message | string |
|
public subscribe(name: *, id: *): * source
Params:
Name | Type | Attribute | Description |
name | * | ||
id | * |
Return:
* |
public unsubscribe(name: *, id: *) source
Params:
Name | Type | Attribute | Description |
name | * | ||
id | * |
public updateInterface() source
Private Methods
private _applyComputed(reactiveInterface: *) source
Params:
Name | Type | Attribute | Description |
reactiveInterface | * |
private _applyMutations(reactiveInterface: *) source
Params:
Name | Type | Attribute | Description |
reactiveInterface | * |
private _asObject(structure: *, item: *, deepness: *): * source
Params:
Name | Type | Attribute | Description |
structure | * | ||
item | * | ||
deepness | * |
Return:
* |
private _mapObserverToSource(item: {}, structure: *, stateProvider: *): * source
Params:
Name | Type | Attribute | Description |
item | {} |
|
|
structure | * | ||
stateProvider | * |
Return:
* |
private _processReference(value: *, stateProvider: *): * source
Params:
Name | Type | Attribute | Description |
value | * | ||
stateProvider | * |
Return:
* |