Class BTProjectActivityDetailedDebriefingSave
java.lang.Object
overit.geocall.bl.BusinessTask<ProjectActivityDetailedDebriefingSaveEvent>
overit.geocallapp.wfm.project.bl.management.planning.task.BTProjectActivityDetailedDebriefingSave
- All Implemented Interfaces:
Serializable,Tool
@Event(ProjectActivityDetailedDebriefingSaveEvent.class)
public class BTProjectActivityDetailedDebriefingSave
extends BusinessTask<ProjectActivityDetailedDebriefingSaveEvent>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DAOSearchProjectActivityDebriefingprotected List<OperationPlanning> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidImplements this method to write the specific task logic to handle the input parameter.protected LongchooseOutcomeCausal(Long workOrderType, Long activityStatus, boolean isLastSlot, PooledConnection pc) protected voidprotected voidinsertUserDebriefingData(HashGetter debriefingData, PooledConnection pc) protected voidsavePlanSlots(BOPlanSlot slot, BOWorkOrderOperation operation, BOProjectActivity activity, boolean isLastSlot, PooledConnection pc) protected voidprotected voidsaveUserDebriefingData(BOAgendaResource user, BOPlanSlot slot, BOWorkOrderOperation operation, PooledConnection pc) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
daoSearchProjectActivityDebriefing
-
operationPlannings
-
-
Constructor Details
-
BTProjectActivityDetailedDebriefingSave
public BTProjectActivityDetailedDebriefingSave()
-
-
Method Details
-
body
protected void body(ProjectActivityDetailedDebriefingSaveEvent 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<ProjectActivityDetailedDebriefingSaveEvent>- 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
-
init
protected void init(ProjectActivityDetailedDebriefingSaveEvent event, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
saveSchedulingSlots
- Throws:
DAExceptionDAValidateException
-
savePlanSlots
protected void savePlanSlots(BOPlanSlot slot, BOWorkOrderOperation operation, BOProjectActivity activity, boolean isLastSlot, PooledConnection pc) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
chooseOutcomeCausal
protected Long chooseOutcomeCausal(Long workOrderType, Long activityStatus, boolean isLastSlot, PooledConnection pc) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
saveUserDebriefingData
protected void saveUserDebriefingData(BOAgendaResource user, BOPlanSlot slot, BOWorkOrderOperation operation, PooledConnection pc) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
insertUserDebriefingData
protected void insertUserDebriefingData(HashGetter debriefingData, PooledConnection pc) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-