Class ResourcesConfigAdapter


  • public class ResourcesConfigAdapter
    extends java.lang.Object
    An abstraction for the ibm-fhir-server fhirServer/resources property group
    • Field Detail

      • log

        public static final java.util.logging.Logger log
      • ALL_CONCRETE_TYPES

        public static final java.util.Set<java.lang.String> ALL_CONCRETE_TYPES
    • Constructor Detail

      • ResourcesConfigAdapter

        public ResourcesConfigAdapter​(PropertyGroup resourcesConfig)
    • Method Detail

      • isSearchRestricted

        public boolean isSearchRestricted()
        Returns:
        whether the server is configured to prevent searches for one or more resource types
      • isHistoryRestricted

        public boolean isHistoryRestricted()
        Returns:
        whether the server is configured to prevent history interactions for one or more resource types
      • getSupportedResourceTypes

        public java.util.Set<java.lang.String> getSupportedResourceTypes()
        Returns:
        an immutable, non-null set of concrete supported resource types
        Throws:
        java.lang.Exception
      • getSupportedResourceTypes

        public java.util.Set<java.lang.String> getSupportedResourceTypes​(Interaction interaction)
        Returns:
        an immutable, non-null set of concrete resource types that are configured for the given interaction
      • isWholeSystemSearchSupported

        public boolean isWholeSystemSearchSupported()
      • isWholeSystemHistorySupported

        public boolean isWholeSystemHistorySupported()