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