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