Class BTOperationCenterInvalidation
java.lang.Object
overit.geocall.bl.BusinessTask<OperationCenterNotificationEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<OperationCenterNotificationEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<OperationCenterNotificationEvent>
overit.geocallapp.wfm.core.bl.base.operationcenter.task.BTOperationCenterInvalidation
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(OperationCenterNotificationEvent.class)
public class BTOperationCenterInvalidation
extends ValidPermissionBusinessTask<OperationCenterNotificationEvent>
Business task in order to invalidate the necessary data related to the
BOOperationCenter,
such as the visibility settings and the static view. - Since:
- 17.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(OperationCenterNotificationEvent event, PoolKit pk) Invalidates the visibility settings and the static view.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
-
BTOperationCenterInvalidation
public BTOperationCenterInvalidation()
-
-
Method Details
-
execute
protected void execute(OperationCenterNotificationEvent event, PoolKit pk) throws DAException, DAValidateException Invalidates the visibility settings and the static view.- Specified by:
executein classValidExecutionBusinessTask<OperationCenterNotificationEvent>- Parameters:
event- theOperationCenterInsertEventpk- 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
-