Protected ReadonlydataThe connection to the database
Protected ReadonlyrepositoryThe repository
Protected StaticdbThe 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
StaticgetGets the singleton database.
Configuration
A custom Logger
Postgres Adapter