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 .FilterInterface 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.
Optional
forceFetch: booleanWhether 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
Optional
forceFetch: booleanWhether 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.
Optional
entityType: SiteModelTypeReduce 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.
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.