@Role
public interface ActionManager
Connections, such as sending emails and handling access granting.| Modifier and Type | Method and Description |
|---|---|
int |
grantAccess(Connection connection)
Grant mutual view access on the two patients to the owners.
|
int |
sendInitialMails(Connection connection,
Map<String,Object> options)
Send the initial email to the owner of the matched patient.
|
int |
sendSuccessMail(Connection connection)
Send the followup email to the user requesting access.
|
int sendInitialMails(Connection connection, Map<String,Object> options)
connection - the anonymous communication linking the two patients and their owners that are involved in this
connectionoptions - the mail content options selected by the user0 if the mail was successfully sent, other numbers in case of errorsint grantAccess(Connection connection)
connection - the anonymous communication linking the two patients and their owners that are involved in this
connection0 if access was successfully granted, other numbers in case of errorsint sendSuccessMail(Connection connection)
connection - the anonymous communication linking the two patients and their owners that are involved in this
connection0 if the mail was successfully sent, other numbers in case of errorsCopyright © 2011–2014 University of Toronto, Computational Biology Lab. All rights reserved.