|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openmrs.report.impl.DataSetServiceImpl
@Deprecated public class DataSetServiceImpl
Default implementation of the data set service.
Field Summary | |
---|---|
org.apache.commons.logging.Log |
log
Deprecated. |
Constructor Summary | |
---|---|
DataSetServiceImpl()
Deprecated. Default no-arg constructor |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public org.apache.commons.logging.Log log
Constructor Detail |
---|
public DataSetServiceImpl()
Method Detail |
---|
public void onShutdown()
BaseOpenmrsService.onShutdown()
public void setProviders(java.util.List<DataSetProvider> newProviders)
DataSetService
DataSetService.registerProvider(DataSetProvider)
for each provider
setProviders
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, etc
DataSetService.evaluate(org.openmrs.report.DataSetDefinition,
org.openmrs.Cohort, org.openmrs.report.EvaluationContext)
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |