Class BTActivityOutcome
java.lang.Object
overit.geocall.bl.BusinessTask<AgendaOutcomeSaveEvent>
overit.geocallapp.wfm.core.bl.common.validexecution.ValidExecutionBusinessTask<AgendaOutcomeSaveEvent>
overit.geocallapp.wfm.core.bl.common.validexecution.ValidPermissionBusinessTask<AgendaOutcomeSaveEvent>
overit.geocallapp.wfm.cee.bl.task.BTCeeManagement<AgendaOutcomeSaveEvent>
overit.geocallapp.wfm.cee.bl.task.BTActivityOutcome
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(AgendaOutcomeSaveEvent.class)
public class BTActivityOutcome
extends BTCeeManagement<AgendaOutcomeSaveEvent>
Business task for planning action notification to Cee application
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CeeHelperprotected RestClientHelperprotected static final LogChannel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(AgendaOutcomeSaveEvent event, PoolKit poolKit) protected LonggetAppointmentId(Long interventionId, PoolKit pk) protected DTOInterventionOutcomegetInterventionOutcome(AgendaOutcomeSaveInput input, List<DTOMessage> messages, PoolKit poolKit) protected voidsendAppointmentOutcome(Long ceeInterventionId, DTOInterventionOutcome interventionOutcome) Methods inherited from class overit.geocallapp.wfm.cee.bl.task.BTCeeManagement
checkValidExecution, isValidExecution, throwExceptionIfInvalidMethods inherited from class overit.geocallapp.wfm.core.bl.common.validexecution.ValidPermissionBusinessTask
getExceptionMethods inherited from class overit.geocallapp.wfm.core.bl.common.validexecution.ValidExecutionBusinessTask
body, getEventMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
LOG
-
ceeHelper
-
helper
-
-
Constructor Details
-
BTActivityOutcome
public BTActivityOutcome()
-
-
Method Details
-
execute
protected void execute(AgendaOutcomeSaveEvent event, PoolKit poolKit) throws DAException, DAValidateException - Specified by:
executein classValidExecutionBusinessTask<AgendaOutcomeSaveEvent>- Throws:
DAExceptionDAValidateException
-
getAppointmentId
protected Long getAppointmentId(Long interventionId, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
getInterventionOutcome
protected DTOInterventionOutcome getInterventionOutcome(AgendaOutcomeSaveInput input, List<DTOMessage> messages, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
sendAppointmentOutcome
protected void sendAppointmentOutcome(Long ceeInterventionId, DTOInterventionOutcome interventionOutcome) throws DAValidateException - Throws:
DAValidateException
-