@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)
Deprecated.
use
getConnectionByToken(String) instead |
Connection |
getConnectionByToken(String token)
Retrieve an existing connection from the storage.
|
Connection getConnection(PatientSimilarityView patientPair)
patientPair - the two patients and their owners that are involved in this connection@Deprecated Connection getConnectionById(Long id)
getConnectionByToken(String) insteadid - the identifier of the requested connectionnull otherwiseConnection getConnectionByToken(String token)
token - the token of the requested connectionnull otherwiseCopyright © 2011–2017 University of Toronto, Computational Biology Lab. All rights reserved.