Class BTFormationSkillDivisionDelete
java.lang.Object
overit.geocall.bl.BusinessTask<FormationSkillDivisionDeleteEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<FormationSkillDivisionDeleteEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<FormationSkillDivisionDeleteEvent>
overit.geocallapp.wfm.teams.bl.team.formation.skilldivision.task.BTFormationSkillDivisionDelete
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(FormationSkillDivisionDeleteEvent.class)
public class BTFormationSkillDivisionDelete
extends ValidPermissionBusinessTask<FormationSkillDivisionDeleteEvent>
Business task in order to delete a
When the
BOFormationSkillDivision. When the
FormationSkillDivisionInsertEvent is launched
the BT notices the call and deletes the BOFormationSkillDivision basing on the event's input. - Since:
- 17.0
- See Also:
- GCApi:
- task
-
Field Summary
Fields inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(FormationSkillDivisionDeleteEvent event, PoolKit poolKit) Deletes the given formation skill division starting from the given id.booleanDetermines whether the current state is valid for execution.Methods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask
checkValidExecution, getException, throwExceptionIfInvalidMethods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask
body, getEventMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTFormationSkillDivisionDelete
public BTFormationSkillDivisionDelete()
-
-
Method Details
-
execute
protected void execute(FormationSkillDivisionDeleteEvent event, PoolKit poolKit) throws DAException, DAValidateException Deletes the given formation skill division starting from the given id.- Specified by:
executein classValidExecutionBusinessTask<FormationSkillDivisionDeleteEvent>- Parameters:
event- theFormationSkillDivisionInsertEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Description copied from interface:ValidExecutionDetermines whether the current state is valid for execution.- Returns:
- true if execution is valid, false otherwise
-