Factory method. Creates and returns a new empty instance of the entity.
An instance of the entity.
Find all repository items matching the filter parameters.
Filter parameters. Use {@link RestFilterBuilder} to create them.
Promise with the entities that match the filter.
Gets all repository items. The cached data will be returned if the data has been fetched before. Using the forceFetch parameter, a user can order a fresh copy to be fetched from the server.
Whether to bypass the cache and retrieve a fresh copy from the server.
Promise with the repository items.
Find Site Model Entities of a certain type within a given 2-dimensional radius [m] from a given point.
The SiteModelType to find.
The starting, central point to search from.
The maximum distance [m] from the central point.
Find the closest Site Model Entity of a certain type within a given 2-dimensional radius [m] from a given point.
The SiteModelType to find.
The starting, central point to search from.
The maximum distance [m] from the central point.
Get one repository item by id. The cached data will be returned if the data has been fetched before. Use the forceFetch parameter to retrieve a fresh copy from the server. In case a new record is fetched, the data and dataMap will be updated accordingly.
Identifier of the repository item
Whether to bypass the cache and retrieve a fresh copy from the server.
Find Site Model Entities from a given local coordinate with optional Site Model type.
Local point from which to find nearby Site Model Entities.
Reduce search to include only the given Site Model type.
Automatically generate a Site Model based on all datasets in the instance. Note that this will overwrite any existing Site Model data.
Deletes an item from the repository.
The item to delete.
Promise that resolves once the request has completed.
Save Site Model Entities of type "BUILDING" or "FREE SPACE NAVIGATION AREA" to the database. Note that children SMEs of the given Building/Free-Space-Navigation-Area SME will be overwritten.
Collection of SiteModelEntityInterfaces to create or update.
Update the attributes of the given Site Model Entities. Please note that this only persists data that are not geometric properties.
Collection of SiteModelEntityInterfaces to update.
Generated using TypeDoc
Site Model data repository.
The Site Model repository object enables standard create, read, update, and delete methods on Site Model Entities. Additional helpful methods are provided that enable more advanced retrieval of Site Model Entities.