Class AuthorizedList

    • Method Detail

      • addCompartment

        public AuthorizedList addCompartment​(String theCompartment)
        Adds a compartment that the user should be allowed to access
        Parameters:
        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.
        Returns:
        Returns this for easy method chaining
      • addCompartments

        public AuthorizedList addCompartments​(String... theCompartments)
        Adds a compartment that the user should be allowed to access
        Parameters:
        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.
        Returns:
        Returns this for easy method chaining
      • addResource

        public AuthorizedList addResource​(String theResource)
        Adds a resource that the user should be allowed to access
        Parameters:
        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.
        Returns:
        Returns this for easy method chaining
      • addResources

        public AuthorizedList addResources​(String... theResources)
        Adds a resource that the user should be allowed to access
        Parameters:
        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.
        Returns:
        Returns this for easy method chaining