Class BTWorkingTeamLoad
java.lang.Object
overit.geocall.bl.BusinessTask<WorkingTeamLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<WorkingTeamLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<WorkingTeamLoadEvent>
overit.geocallapp.wfm.core.bl.team.task.BTWorkingTeamLoad
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(WorkingTeamLoadEvent.class)
public class BTWorkingTeamLoad
extends ValidPermissionBusinessTask<WorkingTeamLoadEvent>
Business task in order to load a
When the
BOWorkingTeam. When the
WorkingTeamLoadEvent is launched
the BT notices the call and loads the BOWorkingTeam basing on the event's input. - Since:
- 15.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(WorkingTeamLoadEvent event, PoolKit poolKit) Starting from the given id, it loads the correspondingBOWorkingTeamand writes it into the event journal.booleanChecks if the execution is valid.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
-
BTWorkingTeamLoad
public BTWorkingTeamLoad()
-
-
Method Details
-
execute
protected void execute(WorkingTeamLoadEvent event, PoolKit poolKit) throws DAException, DAValidateException Starting from the given id, it loads the correspondingBOWorkingTeamand writes it into the event journal.- Specified by:
executein classValidExecutionBusinessTask<WorkingTeamLoadEvent>- Parameters:
event- theWorkingTeamLoadEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Checks if the execution is valid.- Returns:
- true, if successful
-