Class BTTeamShiftSearch
java.lang.Object
overit.geocall.bl.BusinessTask<TeamShiftSearchEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<TeamShiftSearchEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<TeamShiftSearchEvent>
overit.geocallapp.wfm.core.bl.team.shift.task.BTTeamShiftSearch
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(TeamShiftSearchEvent.class)
public class BTTeamShiftSearch
extends ValidPermissionBusinessTask<TeamShiftSearchEvent>
Business task in order to search a
When the
BOTeamShift. When the
TeamShiftSearchEvent is launched
the BT notices the call and searches the BOTeamShift 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(TeamShiftSearchEvent event, PoolKit poolKit) Starting from the givenTeamShiftSearchFilter, it searches the corresponding list ofBOTeamShiftand presents them as aPageResponsewhich is then written 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
-
BTTeamShiftSearch
public BTTeamShiftSearch()
-
-
Method Details
-
execute
protected void execute(TeamShiftSearchEvent event, PoolKit poolKit) throws DAException, DAValidateException Starting from the givenTeamShiftSearchFilter, it searches the corresponding list ofBOTeamShiftand presents them as aPageResponsewhich is then written into the event journal.- Specified by:
executein classValidExecutionBusinessTask<TeamShiftSearchEvent>- Parameters:
event- theTeamShiftSearchEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Checks if the execution is valid.- Returns:
- true, if successful
-