Class BTUpgradeOldInterventionGroups
java.lang.Object
overit.geocall.bl.BusinessTask<UpgradeOldInterventionGroupsEvent>
overit.geocallapp.wfm.core.bl.schedule.intervention.outcome.interventiongroup.task.BTUpgradeOldInterventionGroups
- All Implemented Interfaces:
Serializable,Tool
@Event(UpgradeOldInterventionGroupsEvent.class)
public class BTUpgradeOldInterventionGroups
extends BusinessTask<UpgradeOldInterventionGroupsEvent>
- Since:
- 9.2
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DAOInterventionGroupprotected booleanprotected Collection<Long> protected static final LogChannelprotected TeacherDuty -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(UpgradeOldInterventionGroupsEvent event, PoolKit pk) Implements this method to write the specific task logic to handle the input parameter.protected voidconvertGIInputConfig(XMLTree tree) protected voidprotected voidconvertGISection(XMLTree tree) protected voidconvertType(XMLTree tree) protected DBViewprotected Teacherprotected voidprotected voidprotected voidtranslateAttributes(XMLTree tree) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
LOG
-
teacherDuty
-
translationMap
-
attributesGISection
-
attributesGIInput
-
attributesGIConfiguration
-
dropUselessElements
protected boolean dropUselessElements -
interventionGroupToElaborate
-
daoInterventionGroups
-
-
Constructor Details
-
BTUpgradeOldInterventionGroups
public BTUpgradeOldInterventionGroups()
-
-
Method Details
-
body
protected void body(UpgradeOldInterventionGroupsEvent event, PoolKit pk) throws DAException, DAValidateException Description copied from class:BusinessTaskImplements this method to write the specific task logic to handle the input parameter.- Specified by:
bodyin classBusinessTask<UpgradeOldInterventionGroupsEvent>- Parameters:
event- the object upon which the task will works onpk- the poolkit containing the reference to the database connection that can be used- Throws:
DAException- in case of database errorDAValidateException- in case of database validation error
-
initializeItemsAttributes
protected void initializeItemsAttributes() -
initializeTranslationMap
- Throws:
DAException
-
getInterventionGroups
- Throws:
DAExceptionDAValidateException
-
convertGIInterventionGroup
- Throws:
DAException
-
convertGISection
- Throws:
DAException
-
convertType
-
translateAttributes
-
convertGIInputConfig
-
getTeacher
-