Class BTSkillConfigurationSkillUpdate
java.lang.Object
overit.geocall.bl.BusinessTask<SkillConfigurationSkillUpdateEvent>
overit.geocallapp.wfm.skills.bl.configuration.skill.task.BTSkillConfigurationSkillUpdate
- All Implemented Interfaces:
Serializable,Tool
@Event(SkillConfigurationSkillUpdateEvent.class)
public class BTSkillConfigurationSkillUpdate
extends BusinessTask<SkillConfigurationSkillUpdateEvent>
Business task in order to update a
When the
BOSkillConfigurationSkill. When the
SkillConfigurationSkillUpdateEvent is launched
the BT notices the call and updates the BOSkillConfigurationSkill basing on the event's input. - Since:
- 17
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(SkillConfigurationSkillUpdateEvent event, PoolKit poolKit) Updates theBOSkillConfigurationSkillwith all its needed components.protected voidinsertHistory(Long skillConfigurationSkill, PoolKit poolKit) Insert the history for all the currently savedSkillConfigurationSkillHistoryEventfor the specificBOSkillConfigurationSkill.protected voidvalidate(BOSkillConfigurationSkill relation, PoolKit poolKit) Validates the data before the insert.Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTSkillConfigurationSkillUpdate
public BTSkillConfigurationSkillUpdate()
-
-
Method Details
-
body
protected void body(SkillConfigurationSkillUpdateEvent event, PoolKit poolKit) throws DAException, DAValidateException Updates theBOSkillConfigurationSkillwith all its needed components.- Specified by:
bodyin classBusinessTask<SkillConfigurationSkillUpdateEvent>- Parameters:
event- theSkillConfigurationSkillUpdateEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
validate
protected void validate(BOSkillConfigurationSkill relation, PoolKit poolKit) throws DAValidateException, DAException Validates the data before the insert.- Parameters:
relation- theBOSkillConfigurationSkillrelationpoolKit- thePoolKit- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
insertHistory
protected void insertHistory(Long skillConfigurationSkill, PoolKit poolKit) throws DAValidateException, DAException Insert the history for all the currently savedSkillConfigurationSkillHistoryEventfor the specificBOSkillConfigurationSkill.- Parameters:
skillConfigurationSkill- the skill configuration skillpoolKit- thePoolKit- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-