Class BTTeamModelSearch
java.lang.Object
overit.geocall.bl.BusinessTask<TeamModelSearchEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<TeamModelSearchEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<TeamModelSearchEvent>
overit.geocallapp.wfm.scheduling.bl.model.task.BTTeamModelSearch
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(TeamModelSearchEvent.class)
public class BTTeamModelSearch
extends ValidPermissionBusinessTask<TeamModelSearchEvent>
Business task in order to search a
When the
BOTeamModel. When the
TeamModelSearchEvent is launched
the BT notices the call and searches the BOTeamModel basing on the event's input. - Since:
- 17.0
- See Also:
-
Field Summary
Fields inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(TeamModelSearchEvent event, PoolKit poolKit) Starting from the givenTeamModelSearchFilter, it searches the corresponding list ofBOTeamModeland 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
-
BTTeamModelSearch
public BTTeamModelSearch()
-
-
Method Details
-
execute
protected void execute(TeamModelSearchEvent event, PoolKit poolKit) throws DAException, DAValidateException Starting from the givenTeamModelSearchFilter, it searches the corresponding list ofBOTeamModeland presents them as aPageResponsewhich is then written into the event journal..- Specified by:
executein classValidExecutionBusinessTask<TeamModelSearchEvent>- Parameters:
event- theTeamModelSearchEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Checks if the execution is valid.- Returns:
- true, if successful
-