Class BTSkillConfigurationDivisionDelete
java.lang.Object
overit.geocall.bl.BusinessTask<SkillConfigurationDivisionDeleteEvent>
overit.geocallapp.wfm.skills.bl.configuration.division.task.BTSkillConfigurationDivisionDelete
- All Implemented Interfaces:
Serializable,Tool
@Event(SkillConfigurationDivisionDeleteEvent.class)
public class BTSkillConfigurationDivisionDelete
extends BusinessTask<SkillConfigurationDivisionDeleteEvent>
Business task in order to delete a
When the
BOSkillConfigurationDivision. When the
SkillConfigurationDivisionDeleteEvent is launched
the BT notices the call and deletes the BOSkillConfigurationDivision basing on the event's input. - Since:
- 17.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(SkillConfigurationDivisionDeleteEvent event, PoolKit poolKit) Deletes the givenBOSkillConfigurationDivision.protected BOSkillConfigurationDivisionloadSkillConfigurationDivision(Long id, PoolKit poolKit) Loads the skill configuration division relation.protected voidnotifyDelete(BOSkillConfigurationDivision relation, PoolKit poolKit) Notify the delete of theBOSkillConfigurationDivisionrelation.Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTSkillConfigurationDivisionDelete
public BTSkillConfigurationDivisionDelete()
-
-
Method Details
-
body
protected void body(SkillConfigurationDivisionDeleteEvent event, PoolKit poolKit) throws DAException, DAValidateException Deletes the givenBOSkillConfigurationDivision.- Specified by:
bodyin classBusinessTask<SkillConfigurationDivisionDeleteEvent>- Parameters:
event- theSkillConfigurationDivisionDeleteEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
loadSkillConfigurationDivision
protected BOSkillConfigurationDivision loadSkillConfigurationDivision(Long id, PoolKit poolKit) throws DAValidateException, DAException Loads the skill configuration division relation.- Parameters:
id- theBOSkillConfigurationDivisionidpoolKit- thePoolKit- Returns:
- the loaded
BOSkillConfigurationDivision - Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
notifyDelete
protected void notifyDelete(BOSkillConfigurationDivision relation, PoolKit poolKit) throws DAValidateException, DAException Notify the delete of theBOSkillConfigurationDivisionrelation.- Parameters:
relation- the deletedBOSkillConfigurationDivisionpoolKit- thePoolKit- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-