public interface ConnectionService
Modifier and Type | Method and Description |
---|---|
DBConnection |
create(DBConnectionBuilder builder)
Create a database connection in Projectrak from a connection builder
|
void |
delete(Connection connection)
Delete the connection
|
List<Connection> |
get()
Get the list of connections in Projectrak
|
Connection |
get(Integer id)
Get the connection from ID in Projectrak
|
DBConnectionBuilder |
getDBConnectionBuilder()
Get the builder to create a database connection in Projectrak
|
void |
update(Connection connection)
Update the connection in Projectrak
|
DBConnectionBuilder getDBConnectionBuilder()
DBConnection create(DBConnectionBuilder builder)
builder
- the connection builderList<Connection> get()
Connection get(Integer id)
id
- the id of the connectionvoid update(Connection connection)
connection
- the connection to be updatedvoid delete(Connection connection)
connection
- the connection to be deletedCopyright © 2022 DEISER. All Rights Reserved.