public class AuthorizedList extends Object
SearchNarrowingInterceptor.buildAuthorizedList(RequestDetails)| Constructor and Description |
|---|
AuthorizedList() |
| Modifier and Type | Method and Description |
|---|---|
AuthorizedList |
addCompartment(String theCompartment)
Adds a compartment that the user should be allowed to access
|
AuthorizedList |
addCompartments(String... theCompartments)
Adds a compartment that the user should be allowed to access
|
AuthorizedList |
addResource(String theResource)
Adds a resource that the user should be allowed to access
|
AuthorizedList |
addResources(String... theResources)
Adds a resource that the user should be allowed to access
|
public AuthorizedList()
public AuthorizedList addCompartment(String theCompartment)
theCompartment - The compartment name, e.g. "Patient/123" (in this example the user would be allowed to access Patient/123 as well as Observations where Observation.subject="Patient/123"m, etc.this for easy method chainingpublic AuthorizedList addCompartments(String... theCompartments)
theCompartments - The compartment names, e.g. "Patient/123" (in this example the user would be allowed to access Patient/123 as well as Observations where Observation.subject="Patient/123"m, etc.this for easy method chainingpublic AuthorizedList addResource(String theResource)
theResource - The resource name, e.g. "Patient/123" (in this example the user would be allowed to access Patient/123 but not Observations where Observation.subject="Patient/123"m, etc.this for easy method chainingpublic AuthorizedList addResources(String... theResources)
theResources - The resource names, e.g. "Patient/123" (in this example the user would be allowed to access Patient/123 but not Observations where Observation.subject="Patient/123"m, etc.this for easy method chainingCopyright © 2014–2019 University Health Network. All rights reserved.