Class BTProjectDiaryUpdate
java.lang.Object
overit.geocall.bl.BusinessTask<ProjectDiaryUpdateEvent>
overit.geocallapp.wfm.project.bl.diary.task.BTProjectDiaryUpdate
- All Implemented Interfaces:
Serializable,Tool
@Event(ProjectDiaryUpdateEvent.class)
public class BTProjectDiaryUpdate
extends BusinessTask<ProjectDiaryUpdateEvent>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(ProjectDiaryUpdateEvent event, PoolKit pk) Implements this method to write the specific task logic to handle the input parameter.protected voidinsertModifyValues(BOProjectDiary diary, PoolKit pk) protected BOProjectDiaryupdateDiary(BOProjectDiary diary, PoolKit pk) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTProjectDiaryUpdate
public BTProjectDiaryUpdate()
-
-
Method Details
-
body
protected void body(ProjectDiaryUpdateEvent 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<ProjectDiaryUpdateEvent>- 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
-
insertModifyValues
protected void insertModifyValues(BOProjectDiary diary, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
updateDiary
protected BOProjectDiary updateDiary(BOProjectDiary diary, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-