public class SystemPropositionRetriever extends Object implements PropositionRetriever<String>
| Constructor and Description |
|---|
SystemPropositionRetriever(org.eurekaclinical.protempa.client.EurekaClinicalProtempaClient inEtlClient) |
| Modifier and Type | Method and Description |
|---|---|
org.protempa.PropositionDefinition |
retrieve(String sourceConfigId,
String inKey)
Retrieves a proposition definition with the specified id and for the
specified user.
|
List<org.protempa.PropositionDefinition> |
retrieveAll(String sourceConfigId,
List<String> inKeys,
Boolean withChildren)
Retrieves all of the system elements given by the keys for the given user
|
@Inject public SystemPropositionRetriever(org.eurekaclinical.protempa.client.EurekaClinicalProtempaClient inEtlClient)
public org.protempa.PropositionDefinition retrieve(String sourceConfigId, String inKey) throws PropositionFindException
PropositionRetrieverretrieve in interface PropositionRetriever<String>sourceConfigId - the source config id of interest.inKey - the proposition id of interest.null if
not found.PropositionFindExceptionpublic List<org.protempa.PropositionDefinition> retrieveAll(String sourceConfigId, List<String> inKeys, Boolean withChildren) throws PropositionFindException
sourceConfigId - the ID of the source config to use for the look upinKeys - the keys of the system elements to retrievewithChildren - whether the children of the given elements should be
retrieved as wellList of SystemPhenotypesPropositionFindExceptionCopyright © 2012–2021 Emory University. All rights reserved.