|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Transactional(readOnly=true) @Deprecated public interface DataSetService
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 |
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> providers)
Deprecated. Add the given list of DataSetProviders to the providers on this service. |
Method Detail |
---|
void setProviders(java.util.List<DataSetProvider> providers) throws APIException
registerProvider(DataSetProvider)
for each provider
providers
- list of DataSetProvider objects to add on service
APIException
java.util.List<DataSetProvider> getProviders() throws APIException
APIException
setProviders(List)
void registerProvider(DataSetProvider newProvider)
newProvider
- DataSetProvider to addvoid removeProvider(DataSetProvider provider) throws APIException
provider
- DataSetProvider to remove
APIException
DataSetProvider getProvider(DataSetDefinition definition) throws APIException
definition
-
APIException
DataSet evaluate(DataSetDefinition definition, Cohort inputCohort, EvaluationContext evalContext) throws APIException
definition
- inputCohort
- Input cohort optionally specified by the user. May be ignored by some data
sets.evalContext
- EvaluationContext containing parameter values, etc
APIException
- when no DataSetProvider is found in the registered providers for the
given definitionsetProviders(List)
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |