Class BTMobileCardConfigurationInterventionGroupSave
java.lang.Object
overit.geocall.bl.BusinessTask<MobileCardConfigurationInterventionGroupSaveEvent>
overit.geocallapp.wfm.core.bl.mobilecard.configurationinterventiongroup.task.BTMobileCardConfigurationInterventionGroupSave
- All Implemented Interfaces:
Serializable,Tool
@Event(MobileCardConfigurationInterventionGroupSaveEvent.class)
public class BTMobileCardConfigurationInterventionGroupSave
extends BusinessTask<MobileCardConfigurationInterventionGroupSaveEvent>
Business task in order to update a
When the
BOInterventionGroup. When the
MobileCardConfigurationInterventionGroupSaveEvent is launched
the BT notices the call and updates the BOInterventionGroup basing on the event's input. - Since:
- 13.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(MobileCardConfigurationInterventionGroupSaveEvent event, PoolKit poolKit) Updates theBOInterventionGroupwith all its needed components.protected voidcheckRules(MobileCardConfigurationInterventionGroup cardConfigurationInterventionGroup) Check if pairs (User Types/Intevention States) are in conflict within the list of MobileCardInterventionRule of the Intervention GroupMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTMobileCardConfigurationInterventionGroupSave
public BTMobileCardConfigurationInterventionGroupSave()
-
-
Method Details
-
body
protected void body(MobileCardConfigurationInterventionGroupSaveEvent event, PoolKit poolKit) throws DAException, DAValidateException Updates theBOInterventionGroupwith all its needed components. Add JSON of Mobile Cards Rules to Intervention Group.- Specified by:
bodyin classBusinessTask<MobileCardConfigurationInterventionGroupSaveEvent>- Parameters:
event- theMobileCardConfigurationInterventionGroupSaveEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
checkRules
protected void checkRules(MobileCardConfigurationInterventionGroup cardConfigurationInterventionGroup) throws DAValidateException Check if pairs (User Types/Intevention States) are in conflict within the list of MobileCardInterventionRule of the Intervention Group- Parameters:
cardConfigurationInterventionGroup-- Throws:
DAValidateException
-