Class BTContactSearch
java.lang.Object
overit.geocall.bl.BusinessTask<ContactSearchEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<ContactSearchEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<ContactSearchEvent>
overit.geocallapp.wfm.core.bl.technicalobject.contact.task.BTContactSearch
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(ContactSearchEvent.class)
public class BTContactSearch
extends ValidPermissionBusinessTask<ContactSearchEvent>
Business task in order to search a
When the
BOContact. When the
ContactSearchEvent is launched the BT notices the call and
searches the BOContact basing on the event's input. Required fields:
- Contact id
Permission:
- Since:
- 9.2
- 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(ContactSearchEvent event, PoolKit poolKit) Writes the searched contacts into the event journal.booleanDetermines whether the current state is valid for execution.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
-
BTContactSearch
public BTContactSearch()
-
-
Method Details
-
execute
protected void execute(ContactSearchEvent event, PoolKit poolKit) throws DAException, DAValidateException Writes the searched contacts into the event journal.- Specified by:
executein classValidExecutionBusinessTask<ContactSearchEvent>- Parameters:
event- the event to search the contactpoolKit- the pool kit- Throws:
DAException- if a data access error occurs during executionDAValidateException- if validation fails during execution
-
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
-