@Component(value="collectionsCache") public class CollectionsCache extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CollectionsCache.ResourceType
Inner enum class
|
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
collection_uid |
protected LinkedHashMap<String,String> |
collections |
protected List<String> |
data_hub_uid |
protected List<String> |
data_provider_uid |
protected List<String> |
data_resource_uid |
protected LinkedHashMap<String,String> |
dataHubs |
protected LinkedHashMap<String,String> |
dataProviders |
protected LinkedHashMap<String,String> |
dataResources |
protected LinkedHashMap<String,Integer> |
downloadLimits |
protected Boolean |
enabled |
protected List<String> |
institution_uid |
protected LinkedHashMap<String,String> |
institutions |
protected String |
registryUrl |
protected LinkedHashMap<String,String> |
tempDataResources |
| Constructor and Description |
|---|
CollectionsCache() |
| Modifier and Type | Method and Description |
|---|---|
protected LinkedHashMap<String,String> |
getCodesMap(CollectionsCache.ResourceType type,
List<String> guids)
Do the web services call.
|
LinkedHashMap<String,String> |
getCollections() |
LinkedHashMap<String,String> |
getDataHubs() |
LinkedHashMap<String,String> |
getDataProviders() |
LinkedHashMap<String,String> |
getDataResources() |
LinkedHashMap<String,Integer> |
getDownloadLimits() |
LinkedHashMap<String,String> |
getInstitutions()
Get the institutions
|
LinkedHashMap<String,String> |
getTempDataResources() |
void |
updateCache()
Update the entity types (fields)
|
protected LinkedHashMap<String,String> dataResources
protected LinkedHashMap<String,String> dataProviders
protected LinkedHashMap<String,String> tempDataResources
protected LinkedHashMap<String,Integer> downloadLimits
protected LinkedHashMap<String,String> institutions
protected LinkedHashMap<String,String> collections
protected LinkedHashMap<String,String> dataHubs
protected String registryUrl
protected Boolean enabled
public LinkedHashMap<String,String> getInstitutions()
public LinkedHashMap<String,String> getDataResources()
public LinkedHashMap<String,String> getDataProviders()
public LinkedHashMap<String,String> getTempDataResources()
public LinkedHashMap<String,String> getCollections()
public LinkedHashMap<String,String> getDataHubs()
public LinkedHashMap<String,Integer> getDownloadLimits()
@Scheduled(fixedDelay=3600000L) public void updateCache()
protected LinkedHashMap<String,String> getCodesMap(CollectionsCache.ResourceType type, List<String> guids)
type - Copyright © 2014. All rights reserved.