the ID/key type (number, string, etc.)
the model type (OnmsAlarm, OnmsEvent, etc.)
Construct a DAO instance.
Find all model objects given an optional filter.
the filter to use when retrieving a list of model objects
Retrieve a model object.
the ID of the object
Retrieve the API version from the currently configured server.
A convenience method to make it easy for implementers to extract the count (or totalCount) values from response data.
Returns the Promise for a IFilterProcessor.
Create an OnmsHTTPOptions object for DAO calls given an optional filter.
the filter to use
Returns or creates the PropertiesCache for this dao.
the PropertiesCache for this dao. It is created if it does not exist.
Get the list properties that can be used in queries.
Gets the property identified by the id if it exists.
The id to search the property by.
The path to retrieve search properties for this DAO.
Convert the given value to a date, or undefined if it cannot be converted.
Convert the given value to a number, or undefined if it cannot be converted.
Whether or not to use JSON when making ReST requests.
Generated using TypeDoc
An abstract data access layer API, meant to (somewhat) mirror the DAO interfaces inside OpenNMS. Used to retrieve model data like alarms, events, etc. from the OpenNMS ReST API in a consistent way.