Interface ConnectionService


public interface ConnectionService
Connection service
  • Method Details

    • getDBConnectionBuilder

      DBConnectionBuilder getDBConnectionBuilder()
      Get the builder to create a database connection in Projectrak
      Returns:
      the connection builder
    • create

      Create a database connection in Projectrak from a connection builder
      Parameters:
      builder - the connection builder
      Returns:
      the created database connection
    • get

      Get the list of connections in Projectrak
      Returns:
      the list of connections
    • get

      Get the connection from ID in Projectrak
      Parameters:
      id - the id of the connection
      Returns:
      the connection
    • update

      void update(Connection connection)
      Update the connection in Projectrak
      Parameters:
      connection - the connection to be updated
    • delete

      void delete(Connection connection)
      Delete the connection
      Parameters:
      connection - the connection to be deleted