Class BTProjectActivityGenericDebriefingSave
java.lang.Object
overit.geocall.bl.BusinessTask<ProjectActivityGenericDebriefingSaveEvent>
overit.geocallapp.wfm.project.bl.activitydebriefing.task.BTProjectActivityGenericDebriefingSave
- All Implemented Interfaces:
Serializable,Tool
@Event(ProjectActivityGenericDebriefingSaveEvent.class)
public class BTProjectActivityGenericDebriefingSave
extends BusinessTask<ProjectActivityGenericDebriefingSaveEvent>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(ProjectActivityGenericDebriefingSaveEvent event, PoolKit pk) Implements this method to write the specific task logic to handle the input parameter.protected voidcheckProjectActivityStatus(BOProjectActivity activity) protected voidconvertCalendarUnitFields(BOProjectActivityDebriefing debriefing, Long projectId, PoolKit pk) protected voidfillGenericDebriefingData(BOProjectActivityDebriefing debriefing, PoolKit pk) protected BOProjectProfilegetProjectProfile(Long projectId, PoolKit pk) protected BOProjectActivityDebriefinginsertDebriefing(BOProjectActivityDebriefing debriefing, PoolKit pk) protected BOProjectActivityloadActivity(Long activityId, PoolKit pk) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTProjectActivityGenericDebriefingSave
public BTProjectActivityGenericDebriefingSave()
-
-
Method Details
-
body
protected void body(ProjectActivityGenericDebriefingSaveEvent 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<ProjectActivityGenericDebriefingSaveEvent>- 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
-
insertDebriefing
protected BOProjectActivityDebriefing insertDebriefing(BOProjectActivityDebriefing debriefing, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
fillGenericDebriefingData
protected void fillGenericDebriefingData(BOProjectActivityDebriefing debriefing, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
convertCalendarUnitFields
protected void convertCalendarUnitFields(BOProjectActivityDebriefing debriefing, Long projectId, PoolKit pk) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
getProjectProfile
protected BOProjectProfile getProjectProfile(Long projectId, PoolKit pk) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
loadActivity
protected BOProjectActivity loadActivity(Long activityId, PoolKit pk) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
checkProjectActivityStatus
- Throws:
DAValidateException
-