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