The configuration for the store.
Primary index for the stores elements.
The element entries that are keyed by an id generated on the server.
Create notifications that broacast the entire set of entries.
Create notifications that broacast store or slice delta state changes.
Notifies observers when the store is empty.
Notifies observers of changes to the number of entries in the store.
Notifies observers of the store query.
The current guid key for the EStore instance.
this.config.guidKey;
The current id key for the EStore instance.
this.config.idKey;
Sets the current query state and notifies observers.
A snapshot of the query state.
Sets the current query state and notifies observers.
A snapshot of the query state.
Snapshot of all entries.
Snapshot array of all the elements the entities the store contains.
Returns true if the entries contain the identified instance.
Either an instance of type E
or a guid
identifying the instance.
true if the instance identified by the guid exists, false otherwise.
Returns true if the entries contain the identified instance.
Either an instance of type E
or a id
identifying the instance.
true if the instance identified by the id
exists, false otherwise.
Returns the number of entries contained.
The predicate to apply in order to filter the count
Returns a snapshto of the number of entries contained in the store.
The predicate to apply in order to filter the count
Calls complete on all {@link BehaviorSubject} instances.
Call destroy when disposing of the store.
Compare entities by GUID
The first entity
The second entity
true if the two entities have equal GUID ids
Compare entities by ID
The first entity
The second entity
true if the two entities have equal ID ids
Find and return the entity identified by the GUID parameter if it exists and return it.
The entity instance if it exists, null otherwise
Find and return the entity identified by the ID parameter if it exists and return it.
The entity instance if it exists, null otherwise
Check whether the store is empty.
A hot {@link Observable} that indicates whether the store is empty.
Check whether the store is empty.
A snapshot that indicates whether the store is empty.
Call all the notifiers at once.
Observe store state changes.
Optional sorting function yielding a sorted observable.
Observe delta updates.
Observe the query.
Snapshot of the entries that match the predicate.
The predicate used to query for the selection.
A snapshot array containing the entities that match the predicate.
Generated using TypeDoc
The current query state.