Builds the the database structure.
Builds the the database structure.
Note: An empty database is expected.
denotes which database/table to be created
Future[Boolean] - true, if the operation was successful
Clears the database structure.
Clears the database structure.
Note: All data, tables, databases, etc, are destroyed.
denotes which database/table to be removed
Future[Boolean] - true, if the operation was successful
Creates a new entry for the supplied object in the database.
Creates a new entry for the supplied object in the database.
the object data
Future[Boolean] - true, if the operation was successful
Deletes the specified object form the database.
Deletes the specified object form the database.
the type of the object to be deleted
the ID of the object
Future[Boolean] - true, if the operation was successful
Performs a custom database query.
Performs a custom database query.
the type of objects to be queried
the custom query name to be performed
the query parameters
Future[ContainerSet] - a container set based on the query results
Retrieves a database identification string, for information/debugging purposes.
Retrieves a database identification string, for information/debugging purposes.
Future[String] - the identifier string
Performs a generic database query that retrieves all data in for the specified container type.
Performs a generic database query that retrieves all data in for the specified container type.
the type of objects to be queried
Future[ContainerSet] - a container set based on the query results
Retrieves the type of the Database Abstraction Layer.
Retrieves the type of the Database Abstraction Layer.
Future[LayerType] - the layer type
Retrieves the specified object.
Retrieves the specified object.
the type of the object to be retrieved
the ID of the object to be retrieved
Future[Container] - the requested object
Retrieves a list of containers supported by the database.
Retrieves a list of containers supported by the database.
Future[ Vector[ContainerType] ] - the list of supported containers
Performs all queries defined in the supplied view and loads the resulting data in it.
Performs all queries defined in the supplied view and loads the resulting data in it.
the view to load
Future[Unit] - nothing (the supplied object is updated)
Updates the existing entry for the supplied object in the database.
Updates the existing entry for the supplied object in the database.
Note: Immutable containers cannot be updated.
the object data
Future[Boolean] - true, if the operation was successful
Verifies the structure of the database.
Verifies the structure of the database.
denotes which database/table to be verified
Future[Boolean] - true, if the structure is valid