Class DataCollectionOutcomeReasonConverter
java.lang.Object
overit.geocallapp.wfm.core.bl.datacollection.converter.DataCollectionBaseConverter<BODataCollectionOutcomeReasonConversion,DataCollectionOutcomeReasonConversionInsertEvent>
overit.geocallapp.wfm.core.bl.datacollection.converter.DataCollectionSubConverter<BODataCollectionOutcomeReasonConversion,DataCollectionOutcomeReasonConversionInsertEvent,BODataCollectionOutcomeReasonConversion>
overit.geocallapp.wfm.core.bl.datacollection.converter.template.structure.outcomerule.DataCollectionOutcomeReasonConverter
public class DataCollectionOutcomeReasonConverter
extends DataCollectionSubConverter<BODataCollectionOutcomeReasonConversion,DataCollectionOutcomeReasonConversionInsertEvent,BODataCollectionOutcomeReasonConversion>
This class is responsible for Data Collection Template Outcome Reason conversion.
- Since:
- 13.0
- GCApi:
- bo
-
Field Summary
Fields inherited from class overit.geocallapp.wfm.core.bl.datacollection.converter.DataCollectionBaseConverter
CONNECTION_POOL_NAME, logger, teacherDuty -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(PoolKit poolKit, overit.geocallapp.wfm.survey.template.TemplateTree oldTemplateTree, DataCollectionTemplate newTemplateHeader) Convert all outcome rules.Methods inherited from class overit.geocallapp.wfm.core.bl.datacollection.converter.DataCollectionBaseConverter
commit, getLocalizedDescription, getTeacher, insertConversionResult, rollback, setLogger
-
Constructor Details
-
DataCollectionOutcomeReasonConverter
public DataCollectionOutcomeReasonConverter()
-
-
Method Details
-
convert
public List<BODataCollectionOutcomeReasonConversion> convert(PoolKit poolKit, overit.geocallapp.wfm.survey.template.TemplateTree oldTemplateTree, DataCollectionTemplate newTemplateHeader) throws DAException, DAValidateException Convert all outcome rules.- Specified by:
convertin classDataCollectionSubConverter<BODataCollectionOutcomeReasonConversion,DataCollectionOutcomeReasonConversionInsertEvent, BODataCollectionOutcomeReasonConversion> - Parameters:
poolKit- the PoolKitoldTemplateTree- old templatenewTemplateHeader- new template- Returns:
- the list of new
BODataCollectionOutcomeReasonConversion - Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception- See Also:
-