Interface ConnectionService
public interface ConnectionService
Connection service
- 
Method SummaryModifier and TypeMethodDescriptioncreate(DBConnectionBuilder builder) Create a database connection in Projectrak from a connection buildervoiddelete(Connection connection) Delete the connectionget()Get the list of connections in ProjectrakGet the connection from ID in ProjectrakGet the builder to create a database connection in Projectrakvoidupdate(Connection connection) Update the connection in Projectrak
- 
Method Details- 
getDBConnectionBuilderDBConnectionBuilder getDBConnectionBuilder()Get the builder to create a database connection in Projectrak- Returns:
- the connection builder
 
- 
createCreate a database connection in Projectrak from a connection builder- Parameters:
- builder- the connection builder
- Returns:
- the created database connection
 
- 
getList<Connection> get()Get the list of connections in Projectrak- Returns:
- the list of connections
 
- 
getGet the connection from ID in Projectrak- Parameters:
- id- the id of the connection
- Returns:
- the connection
 
- 
updateUpdate the connection in Projectrak- Parameters:
- connection- the connection to be updated
 
- 
deleteDelete the connection- Parameters:
- connection- the connection to be deleted
 
 
-