Class TenantSpecificSearchParameterCache


  • public class TenantSpecificSearchParameterCache
    extends TenantSpecificFileBasedCache<Map<String,​ParametersMap>>
    This class implements a cache of SearchParameters organized by tenantId. Each object stored in the cache will be a two-level map of SearchParameters organized first by resource type, then by search parameter code. Note: While we support json format only, to enable XML, it's best to create a new cache specific to XML. This change should change one line in this class, and be instantiated in the SearchUtil, and embedded in the call to Parameters. Alternatively, one could, upon not finding the JSON file, load the XML file.