Class BTBundleSkillsDelete
java.lang.Object
overit.geocall.bl.BusinessTask<BundleSkillsDeleteEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<BundleSkillsDeleteEvent>
overit.geocallapp.wfm.bundler.bl.task.BTBundler<BundleSkillsDeleteEvent>
overit.geocallapp.wfm.bundler.bl.skill.task.BTBundleSkillsDelete
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(BundleSkillsDeleteEvent.class)
public class BTBundleSkillsDelete
extends BTBundler<BundleSkillsDeleteEvent>
Business task in order to delete all the
When the
BOBundleSkill related to a specific BOBundleHeader. When the
BundleSkillsDeleteEvent is launched
the BT notices the call and deletes all the needed BOBundleSkills basing on the event's input. - Since:
- 11.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddeleteSkills(Long bundleHeaderId, PoolKit poolKit) Delete the skills of a bundle.protected voidexecute(BundleSkillsDeleteEvent event, PoolKit poolKit) Deletes all theBOBundleSkillassociated to a specifiedBundle.Methods inherited from class overit.geocallapp.wfm.bundler.bl.task.BTBundler
getException, isValidExecution, throwExceptionIfInvalidMethods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask
body, checkValidExecution, getEventMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTBundleSkillsDelete
public BTBundleSkillsDelete()
-
-
Method Details
-
execute
protected void execute(BundleSkillsDeleteEvent event, PoolKit poolKit) throws DAException, DAValidateException Deletes all theBOBundleSkillassociated to a specifiedBundle.- Specified by:
executein classValidExecutionBusinessTask<BundleSkillsDeleteEvent>- Parameters:
event- theBundleSkillsDeleteEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
deleteSkills
protected void deleteSkills(Long bundleHeaderId, PoolKit poolKit) throws DAException, DAValidateException Delete the skills of a bundle.- Parameters:
bundleHeaderId- theBOBundleHeaderidpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-