Class BTCrewShellSchedulingTransfer
java.lang.Object
overit.geocall.bl.BusinessTask<CrewShellSchedulingTransferEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<CrewShellSchedulingTransferEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<CrewShellSchedulingTransferEvent>
overit.geocallapp.wfm.core.bl.crewshell.scheduling.task.BTCrewShellSchedulingTransfer
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(CrewShellSchedulingTransferEvent.class)
public class BTCrewShellSchedulingTransfer
extends ValidPermissionBusinessTask<CrewShellSchedulingTransferEvent>
Business task in order to transfer the
When the
BOScheduling belonging to a crew shell in a day. When the
CrewShellSchedulingTransferEvent is launched the BT notices the call and
transfers the BOScheduling basing on the event's input. Permission:
Error Code:
- Since:
- 16.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(CrewShellSchedulingTransferEvent event, PoolKit pk) Transfer the givenBOSchedulingand writes the newly generated id into the event journal.booleanDetermines whether the current state is valid for execution.protected voidlaunchAgendaTeamResourcesAlign(Long agendaId, PoolKit pk) 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
-
BTCrewShellSchedulingTransfer
public BTCrewShellSchedulingTransfer()
-
-
Method Details
-
execute
protected void execute(CrewShellSchedulingTransferEvent event, PoolKit pk) throws DAException, DAValidateException Transfer the givenBOSchedulingand writes the newly generated id into the event journal.- Specified by:
executein classValidExecutionBusinessTask<CrewShellSchedulingTransferEvent>- Parameters:
event- theCrewShellSchedulingTransferEventpk- 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
-
launchAgendaTeamResourcesAlign
protected void launchAgendaTeamResourcesAlign(Long agendaId, PoolKit pk) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-