Class BTProjectActivityGenericDebriefingAlign
java.lang.Object
overit.geocall.bl.BusinessTask<ProjectActivityGenericDebriefingAlignEvent>
overit.geocallapp.wfm.project.bl.management.planning.task.BTProjectActivityGenericDebriefingAlign
- All Implemented Interfaces:
Serializable,Tool
@Event(ProjectActivityGenericDebriefingAlignEvent.class)
public class BTProjectActivityGenericDebriefingAlign
extends BusinessTask<ProjectActivityGenericDebriefingAlignEvent>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Longprotected DAOSearchProjectActivityDebriefingprotected OperationPlanning -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidImplements this method to write the specific task logic to handle the input parameter.elaborateAccountingData(BOPlanSlot slot, DBView accountingUsers) elaborateDebriefingData(BOPlanSlot slot, BOWorkOrderOperation operation, BOProjectActivity activity, PoolKit pk) protected DBViewgetAccountingUsers(LongSet slots, PoolKit pk) protected DBViewgetPrevoiusSlots(BOPlanSlot slot, BOWorkOrderOperation operation, PoolKit pk) protected voidprotected voidinsertGenericDebriefing(Map<String, Object> values, PoolKit pk) protected booleanisOutcomeCausalConclusive(Long outcomeCausalId, PoolKit pk) protected BOProjectActivityDebriefingloadLastGenericDebriefing(Long activityId, PoolKit pk) protected DBViewloadSortedDebriefing(Long activityId, PoolKit pk) protected voidsetDebriefingDates(BOPlanSlot slot, BOProjectActivity projectActivity, BOWorkOrderOperation operation, PoolKit pk) protected BOProjectActivityupdateProjectActivity(BOPlanSlot slot, BOProjectActivity projectActivity, BOWorkOrderOperation operation, PoolKit pk) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
daoSearchProjectActivityDebriefing
-
operationPlanning
-
currentSavingSlotId
-
-
Constructor Details
-
BTProjectActivityGenericDebriefingAlign
public BTProjectActivityGenericDebriefingAlign()
-
-
Method Details
-
body
protected void body(ProjectActivityGenericDebriefingAlignEvent 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<ProjectActivityGenericDebriefingAlignEvent>- 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(ProjectActivityGenericDebriefingAlignEvent event, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
alignGenericDebriefing
- Throws:
DAValidateExceptionDAException
-
elaborateDebriefingData
protected HashMap<String,Object> elaborateDebriefingData(BOPlanSlot slot, BOWorkOrderOperation operation, BOProjectActivity activity, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
elaborateAccountingData
-
getPrevoiusSlots
protected DBView getPrevoiusSlots(BOPlanSlot slot, BOWorkOrderOperation operation, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
getAccountingUsers
protected DBView getAccountingUsers(LongSet slots, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
insertGenericDebriefing
protected void insertGenericDebriefing(Map<String, Object> values, PoolKit pk) throws DAException, DAValidateException- Throws:
DAExceptionDAValidateException
-
updateProjectActivity
protected BOProjectActivity updateProjectActivity(BOPlanSlot slot, BOProjectActivity projectActivity, BOWorkOrderOperation operation, PoolKit pk) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
setDebriefingDates
protected void setDebriefingDates(BOPlanSlot slot, BOProjectActivity projectActivity, BOWorkOrderOperation operation, PoolKit pk) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
loadLastGenericDebriefing
protected BOProjectActivityDebriefing loadLastGenericDebriefing(Long activityId, PoolKit pk) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
loadSortedDebriefing
protected DBView loadSortedDebriefing(Long activityId, PoolKit pk) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
isOutcomeCausalConclusive
protected boolean isOutcomeCausalConclusive(Long outcomeCausalId, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-