Add a new object in the registry. The object is a map of key-value pairs that will be stored using the specified type and key. Note that if the object already exists, an exception will be thrown. If you want to force the object to be store you should instead use the addOrReplace method.
the type of the object to store
the key of the object to store within the type
Rest
...arguments: any[]a Map of key-value pairs representing the object to store
Add a new object in the registry or replace an existing one. The object is a map of key-value pairs that will be stored using the specified type and key. If the object already exists, it will be replaced by the new one.
the type of the object to store
the key of the object to store within the type
Rest
...arguments: any[]a Map of key-value pairs representing the object to store
Search objects from the registry by using a map filter. The filter is a map of key-value pairs that will be used to match objects that have the same values for the keys specified in the filter.
a map of key-value pairs to filter the objects to retrieve
a List of matching objects
Search objects from the registry by using a map filter and an order by clause. The filter is a map of key-value pairs that will be used to match objects that have the same values for the keys specified in the filter.
a map of key-value pairs to filter the objects to retrieve
a string representing the key to use to order the resulting objects. Not that this only works if the key refers to an integer value
a sorted List of matching objects
Helper class to make it possible to access the registry from the JavaScript engine