LoadByIndexes
This class is used to manage loading the child ids by their location in the array.
Constructor
The constructor for the LoadByIndexes class. | ||||||||||||
Presentation
| ||||||||||||
Parameters
|
Properties
Name | Type | Description |
---|---|---|
actions |
| |
entities | Observable<Dictionary< |
Methods
init() | |||||||||
---|---|---|---|---|---|---|---|---|---|
Initializes the service with the actions and starts the dispatcher. | |||||||||
Presentation
| |||||||||
Parameters
Returnsvoid |
loadByIndexes() | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
que up loading the ids for the indexes | ||||||||||||
Presentation
| ||||||||||||
Parameters
Returnsvoid |
loadByIndexesDispatcher() |
---|
Dispatches the loadByIndexes action after buffering the indexes. |
Presentation
|
Returnsvoid |
loadByIndexesSuccess() | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
This updates the childField with the ids provided so we can use them in the VirtualArray. Make sure when you call this you are calling the service for the parent entity and not the child entity. | ||||||||||||
Presentation
| ||||||||||||
Parameters
Returnsvoid |