@Deprecated public class DataSetServiceImpl extends java.lang.Object implements DataSetService
Modifier and Type | Field and Description |
---|---|
org.apache.commons.logging.Log |
log
Deprecated.
|
Constructor and Description |
---|
DataSetServiceImpl()
Deprecated.
Default no-arg constructor
|
Modifier and Type | Method and Description |
---|---|
DataSet |
evaluate(DataSetDefinition definition,
Cohort inputCohort,
EvaluationContext evalContext)
Deprecated.
Evaluate a data set definition to get turn it into a DataSet
|
DataSetProvider |
getProvider(DataSetDefinition definition)
Deprecated.
|
java.util.List<DataSetProvider> |
getProviders()
Deprecated.
Gets the list of providers that have been previously set on this service
|
void |
onShutdown()
Deprecated.
Clean up after this class.
|
void |
registerProvider(DataSetProvider newProvider)
Deprecated.
Registered a DataSetProvider and make it available to users of the data set service
|
void |
removeProvider(DataSetProvider provider)
Deprecated.
Remove a registered DataSetProvider
|
void |
setProviders(java.util.List<DataSetProvider> newProviders)
Deprecated.
Add the given list of DataSetProviders to the providers on this service.
|
public DataSetServiceImpl()
public void onShutdown()
BaseOpenmrsService.onShutdown()
public void setProviders(java.util.List<DataSetProvider> newProviders)
DataSetService
DataSetService.registerProvider(DataSetProvider)
for each providersetProviders
in interface DataSetService
newProviders
- list of DataSetProvider objects to add on serviceDataSetService.setProviders(List)
public java.util.List<DataSetProvider> getProviders()
DataSetService
getProviders
in interface DataSetService
DataSetService.getProviders()
public void registerProvider(DataSetProvider newProvider)
DataSetService
registerProvider
in interface DataSetService
newProvider
- DataSetProvider to addDataSetService.registerProvider(org.openmrs.report.DataSetProvider)
public void removeProvider(DataSetProvider provider)
DataSetService
removeProvider
in interface DataSetService
provider
- DataSetProvider to removeDataSetService.removeProvider(org.openmrs.report.DataSetProvider)
public DataSetProvider getProvider(DataSetDefinition definition)
getProvider
in interface DataSetService
DataSetService.getProvider(org.openmrs.report.DataSetDefinition)
public DataSet evaluate(DataSetDefinition definition, Cohort inputCohort, EvaluationContext evalContext)
DataSetService
evaluate
in interface DataSetService
inputCohort
- Input cohort optionally specified by the user. May be ignored by some data
sets.evalContext
- EvaluationContext containing parameter values, etcDataSetService.evaluate(org.openmrs.report.DataSetDefinition,
org.openmrs.Cohort, org.openmrs.report.EvaluationContext)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.