@Role
public interface ConnectionManager
Connections.| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection(PatientSimilarityView patientPair)
Search for an existing connection for the patient pair view; if one exists, return it, otherwise create, store
and return a new connection, with the data from the passed patient pair view.
|
Connection |
getConnectionById(Long id)
Retrieve an existing connection from the storage.
|
Connection getConnection(PatientSimilarityView patientPair)
patientPair - the two patients and their owners that are involved in this connectionConnection getConnectionById(Long id)
id - the identifier of the requested connectionnull otherwiseCopyright © 2011–2016 University of Toronto, Computational Biology Lab. All rights reserved.