Class BTMobileErrorLogDelete
java.lang.Object
overit.geocall.bl.BusinessTask<MobileErrorLogDeleteEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<MobileErrorLogDeleteEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<MobileErrorLogDeleteEvent>
overit.geocallapp.wfm.mobile.core.bl.errorlog.task.BTMobileErrorLogDelete
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(MobileErrorLogDeleteEvent.class)
public class BTMobileErrorLogDelete
extends ValidPermissionBusinessTask<MobileErrorLogDeleteEvent>
Business task in order to delete a
When the
BOMobileErrorLog. When the
MobileErrorLogDeleteEvent is launched the BT notices the call and
deletes the BOMobileErrorLog based on the event's input. - Since:
- 18.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(MobileErrorLogDeleteEvent event, PoolKit poolKit) Deletes theBOMobileErrorLogwith the ID provided in the input.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
-
BTMobileErrorLogDelete
public BTMobileErrorLogDelete()
-
-
Method Details
-
execute
protected void execute(MobileErrorLogDeleteEvent event, PoolKit poolKit) throws DAException, DAValidateException Deletes theBOMobileErrorLogwith the ID provided in the input.- Specified by:
executein classValidExecutionBusinessTask<MobileErrorLogDeleteEvent>- Parameters:
event- theMobileErrorLogDeleteEventpoolKit- 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
-