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