Class BTSkillConfigurationUpdate
java.lang.Object
overit.geocall.bl.BusinessTask<SkillConfigurationUpdateEvent>
overit.geocallapp.wfm.skills.bl.configuration.task.BTSkillConfigurationUpdate
- All Implemented Interfaces:
Serializable,Tool
@Event(SkillConfigurationUpdateEvent.class)
@Permission("fsm.core.skill.edit")
public class BTSkillConfigurationUpdate
extends BusinessTask<SkillConfigurationUpdateEvent>
Business task in order to update a
When the
BOSkillConfiguration. When the
SkillConfigurationUpdateEvent is launched
the BT notices the call and updates the BOSkillConfiguration basing on the event's input. - Since:
- 10.1
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidafterUpdate(BOSkillConfiguration skillConfiguration, PoolKit poolKit) Actions to perform after the update.protected voidbody(SkillConfigurationUpdateEvent event, PoolKit pk) Updates theBOSkillConfigurationwith all its needed components.protected voidupdate(BOSkillConfiguration skillConfiguration, PoolKit poolKit) Updates the given skill configuration together with the related history.protected voidvalidate(BOSkillConfiguration skillConfiguration, PoolKit poolKit) Validates the data before the update.Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTSkillConfigurationUpdate
public BTSkillConfigurationUpdate()
-
-
Method Details
-
body
protected void body(SkillConfigurationUpdateEvent event, PoolKit pk) throws DAException, DAValidateException Updates theBOSkillConfigurationwith all its needed components.- Specified by:
bodyin classBusinessTask<SkillConfigurationUpdateEvent>- Parameters:
event- theSkillConfigurationUpdateEventpk- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
validate
protected void validate(BOSkillConfiguration skillConfiguration, PoolKit poolKit) throws DAValidateException, DAException Validates the data before the update.- Parameters:
skillConfiguration- theBOSkillConfigurationto updatepoolKit- thePoolKit- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
update
protected void update(BOSkillConfiguration skillConfiguration, PoolKit poolKit) throws DAValidateException, DAException Updates the given skill configuration together with the related history.- Parameters:
skillConfiguration- theBOSkillConfigurationto updatepoolKit- thePoolKit- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
afterUpdate
Actions to perform after the update.- Parameters:
skillConfiguration- the skill configurationpoolKit- thePoolKit
-