@Unstable @Component @Named(value="consentauthorizer") @Singleton public class ConsentAuthorizerService extends Object implements org.xwiki.script.service.ScriptService
DefaultConsentAuthorizer.| Constructor and Description |
|---|
ConsentAuthorizerService() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
consentsGloballyEnabled()
Forwards the call to
ConsentAuthorizer. |
List<RecordElement> |
filterEnabled(List<RecordElement> elements,
String patientId)
Finds a patient by `patientId`, and calls
ConsentAuthorizer.filterForm(List, Patient). |
public List<RecordElement> filterEnabled(List<RecordElement> elements, String patientId)
ConsentAuthorizer.filterForm(List, Patient).elements - of a patient form to be filteredpatientId - of a patient whose data will be displayed through the `elements`ConsentAuthorizer.filterForm(List, Patient)public boolean consentsGloballyEnabled()
ConsentAuthorizer.ConsentAuthorizer.consentsGloballyEnabled()Copyright © 2011–2018 University of Toronto, Computational Biology Lab. All rights reserved.