public interface ConnectionsDAO
Modifier and Type | Method and Description |
---|---|
Long |
delete(Connection connection)
Delete a connection from the repository
|
Connection |
find(Long connDbId)
Retrieve a connection by its database ID
|
List<Connection> |
getAll()
Get all connections stored in the repository
|
Long |
getIdByData(Connection connection)
Get database id for a record that has same properties
|
Long |
save(Connection connection)
Insert a new connection used in a scenario execution into a database
|
Connection find(Long connDbId)
connDbId
- database idLong getIdByData(Connection connection)
connection
- wanted connectionList<Connection> getAll()
Long save(Connection connection)
connection
- connection to be insertedLong delete(Connection connection)
connection
- connection to be deletedCopyright © 2020. All rights reserved.