@Service public class IdCardClientImpl extends Object implements IdCardClient
| Constructor and Description |
|---|
IdCardClientImpl(org.apache.http.client.HttpClient httpClient,
IdCardIndexerSettings idCardIndexerSettings,
IdCardBiobankMapper idCardBiobankMapper) |
| Modifier and Type | Method and Description |
|---|---|
Entity |
getIdCardBiobank(String id)
Return a biobank by id from ID-Cards as entity
|
Entity |
getIdCardBiobank(String id,
long timeout)
Return a biobank by id from ID-Cards as entity, throws an exception if the request took longer than the given
timeout.
|
Iterable<Entity> |
getIdCardBiobanks()
Return all biobanks from ID-Cards as entities
|
Iterable<Entity> |
getIdCardBiobanks(Iterable<String> ids)
Return biobanks by ids from ID-Cards as entities
|
Iterable<Entity> |
getIdCardBiobanks(Iterable<String> ids,
long timeout)
Return biobanks by ids from ID-Cards as entities, throws an exception if the request took longer than the given
timeout.
|
Iterable<Entity> |
getIdCardBiobanks(long timeout)
Return all biobanks from ID-Cards as entities, throws an exception if the request took longer than the given
timeout.
|
@Autowired
public IdCardClientImpl(org.apache.http.client.HttpClient httpClient,
IdCardIndexerSettings idCardIndexerSettings,
IdCardBiobankMapper idCardBiobankMapper)
public Entity getIdCardBiobank(String id)
IdCardClientgetIdCardBiobank in interface IdCardClientpublic Entity getIdCardBiobank(String id, long timeout)
IdCardClientgetIdCardBiobank in interface IdCardClienttimeout - request timeout in mspublic Iterable<Entity> getIdCardBiobanks(Iterable<String> ids)
IdCardClientgetIdCardBiobanks in interface IdCardClientpublic Iterable<Entity> getIdCardBiobanks(Iterable<String> ids, long timeout)
IdCardClientgetIdCardBiobanks in interface IdCardClientpublic Iterable<Entity> getIdCardBiobanks()
IdCardClientgetIdCardBiobanks in interface IdCardClientpublic Iterable<Entity> getIdCardBiobanks(long timeout)
IdCardClientgetIdCardBiobanks in interface IdCardClienttimeout - request timeout in msCopyright © 2016. All Rights Reserved.