Protected
Readonly
dataThe connection to the database
Protected
Readonly
repositoryThe repository
Protected
Static
dbThe database instance (singleton pattern)
Closes the connection to the Database.
Deletes all rulesets.
Deletes a ruleset with the given ID.
The ID of the ruleset
Gets a specific ruleset by it ID. If there is no ruleset with this ID, undefined
will be returned.
The ID of the ruleset
Returns a list containing all rulesets.
Gets a new model to save data into
Saves a ruleset with the given ID. If it already exists it will be updated, otherwise it will be created.
The ID of the ruleset
The actual ruleset
Static
getGets the singleton database.
The path of the sqlite database
A custom Logger
SQLite Adapter