Class BTOutcomeReasonCheck
java.lang.Object
overit.geocall.bl.BusinessTask<OutcomeReasonCheckEvent>
overit.geocallapp.wfm.execution.bl.outcome.reason.task.BTOutcomeReasonCheck
- All Implemented Interfaces:
Serializable,Tool
@Event(OutcomeReasonCheckEvent.class)
public class BTOutcomeReasonCheck
extends BusinessTask<OutcomeReasonCheckEvent>
Business task in order to check the correct saving of an outcome reason.
When the
OutcomeReasonCheckEvent is launched
the BT notices the call and performs the necessary checks for the correct saving of an outcome reason,
basing on the event's input.- Since:
- 21.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(OutcomeReasonCheckEvent event, PoolKit pk) Performs the necessary checks for the correct saving of an outcome reason.protected voidvalidate(OutcomeReasonCheckEventInput input, PoolKit pk) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTOutcomeReasonCheck
public BTOutcomeReasonCheck()
-
-
Method Details
-
body
protected void body(OutcomeReasonCheckEvent event, PoolKit pk) throws DAException, DAValidateException Performs the necessary checks for the correct saving of an outcome reason.- Specified by:
bodyin classBusinessTask<OutcomeReasonCheckEvent>- Parameters:
event- theOutcomeReasonCheckEventpk- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
validate
protected void validate(OutcomeReasonCheckEventInput input, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-