Package com.ibm.fhir.server.registry
Class ServerRegistryResourceProvider
- java.lang.Object
 - 
- com.ibm.fhir.registry.spi.AbstractRegistryResourceProvider
 - 
- com.ibm.fhir.server.registry.ServerRegistryResourceProvider
 
 
 
- 
- All Implemented Interfaces:
 FHIRRegistryResourceProvider
public class ServerRegistryResourceProvider extends AbstractRegistryResourceProvider
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static Loggerlogstatic CacheManager.ConfigurationREGISTRY_RESOURCE_CACHE_CONFIGURATIONstatic StringREGISTRY_RESOURCE_CACHE_NAME 
- 
Constructor Summary
Constructors Constructor Description ServerRegistryResourceProvider(PersistenceHelper persistenceHelper) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<FHIRRegistryResource>getProfileResources()Get the profiles for all of the resources.Collection<FHIRRegistryResource>getProfileResources(String type)Get the profile resources from this provider that constrain the given resource typeCollection<FHIRRegistryResource>getRegistryResources()Get all the registry resources from this providerCollection<FHIRRegistryResource>getRegistryResources(Class<? extends Resource> resourceType)Get the registry resources from this provider for the given resource typeprotected List<FHIRRegistryResource>getRegistryResources(Class<? extends Resource> resourceType, String url)Collection<FHIRRegistryResource>getSearchParameterResources(String type)Get the search parameter resources from this provider with the given search parameter type (e.g.- 
Methods inherited from class com.ibm.fhir.registry.spi.AbstractRegistryResourceProvider
getRegistryResource 
 - 
 
 - 
 
- 
- 
Field Detail
- 
log
public static final Logger log
 
- 
REGISTRY_RESOURCE_CACHE_NAME
public static final String REGISTRY_RESOURCE_CACHE_NAME
- See Also:
 - Constant Field Values
 
 
- 
REGISTRY_RESOURCE_CACHE_CONFIGURATION
public static final CacheManager.Configuration REGISTRY_RESOURCE_CACHE_CONFIGURATION
 
 - 
 
- 
Constructor Detail
- 
ServerRegistryResourceProvider
public ServerRegistryResourceProvider(PersistenceHelper persistenceHelper)
 
 - 
 
- 
Method Detail
- 
getRegistryResources
protected List<FHIRRegistryResource> getRegistryResources(Class<? extends Resource> resourceType, String url)
- Specified by:
 getRegistryResourcesin classAbstractRegistryResourceProvider
 
- 
getRegistryResources
public Collection<FHIRRegistryResource> getRegistryResources(Class<? extends Resource> resourceType)
Description copied from interface:FHIRRegistryResourceProviderGet the registry resources from this provider for the given resource type- Specified by:
 getRegistryResourcesin interfaceFHIRRegistryResourceProvider- Specified by:
 getRegistryResourcesin classAbstractRegistryResourceProvider- Parameters:
 resourceType- the resource type of the registry resource- Returns:
 - the registry resources from this provider for the given resource type
 
 
- 
getRegistryResources
public Collection<FHIRRegistryResource> getRegistryResources()
Description copied from interface:FHIRRegistryResourceProviderGet all the registry resources from this provider- Specified by:
 getRegistryResourcesin interfaceFHIRRegistryResourceProvider- Specified by:
 getRegistryResourcesin classAbstractRegistryResourceProvider- Returns:
 - all of the registry resources from this provider
 
 
- 
getProfileResources
public Collection<FHIRRegistryResource> getProfileResources()
Description copied from interface:FHIRRegistryResourceProviderGet the profiles for all of the resources.- Returns:
 - the profile resources from this provider that constrain the resource types
 
 
- 
getProfileResources
public Collection<FHIRRegistryResource> getProfileResources(String type)
Description copied from interface:FHIRRegistryResourceProviderGet the profile resources from this provider that constrain the given resource type- Specified by:
 getProfileResourcesin interfaceFHIRRegistryResourceProvider- Specified by:
 getProfileResourcesin classAbstractRegistryResourceProvider- Parameters:
 type- the constrained resource type- Returns:
 - the profile resources from this provider that constrain the given resource type
 
 
- 
getSearchParameterResources
public Collection<FHIRRegistryResource> getSearchParameterResources(String type)
Description copied from interface:FHIRRegistryResourceProviderGet the search parameter resources from this provider with the given search parameter type (e.g. string, token, etc.)- Specified by:
 getSearchParameterResourcesin interfaceFHIRRegistryResourceProvider- Specified by:
 getSearchParameterResourcesin classAbstractRegistryResourceProvider- Parameters:
 type- the search parameter type- Returns:
 - the search parameter resources from this provider with the given search parameter type
 
 
 - 
 
 -