Class BTRepopulateAgendaTeamResource
java.lang.Object
overit.geocall.bl.BusinessTask<Void>
overit.geocallapp.wfm.core.bl.schedule.intervention.agenda.teamresource.task.BTRepopulateAgendaTeamResource
- All Implemented Interfaces:
Serializable,Interruptable,Tool
Task to repopulate the table RAGENDATEAMRESOURCE from the values contained in
AAGENDA.AAGEIDSETTEAMRESOURCE and AAGEID_ASUE in case of enabling and
then disabling the property company.fsm.agenda.disableAgendaTeamResource
or in general to realign the table
*
- Since:
- 17.0
- See Also:
- GCApi:
- task
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected booleanprotected static final LogChannelprotected TimeSlot -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidImplements this method to write the specific task logic to handle the input parameter.voidprotected voidpopulateTable(DBView dbvAgenda, PoolKit pk) protected voidresetTable(Date fromDate, Date toDate, PoolKit pk) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
LOG
-
interrupt
protected boolean interrupt -
timeSlot
-
deletedRows
protected int deletedRows -
insertedRows
protected int insertedRows
-
-
Constructor Details
-
BTRepopulateAgendaTeamResource
public BTRepopulateAgendaTeamResource()
-
-
Method Details
-
body
Description copied from class:BusinessTaskImplements this method to write the specific task logic to handle the input parameter.- Specified by:
bodyin classBusinessTask<Void>- Parameters:
i- 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
-
resetTable
protected void resetTable(Date fromDate, Date toDate, PoolKit pk) throws SQLException, DAValidateException, DAException -
populateTable
- Throws:
DAValidateExceptionDAException
-
pleaseInterrupt
public void pleaseInterrupt()- Specified by:
pleaseInterruptin interfaceInterruptable
-