Class BTHolidayObjectsInvalidate
java.lang.Object
overit.geocall.bl.BusinessTask<HolidayNotificationEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<HolidayNotificationEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<HolidayNotificationEvent>
overit.geocallapp.wfm.core.bl.base.systemsetting.task.BTHolidayObjectsInvalidate
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(HolidayNotificationEvent.class)
public class BTHolidayObjectsInvalidate
extends ValidPermissionBusinessTask<HolidayNotificationEvent>
Business task in order that invalidates the
StaticView for holiday.- 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(HolidayNotificationEvent event, PoolKit poolKit) Invalidates the neededStaticViews.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
-
BTHolidayObjectsInvalidate
public BTHolidayObjectsInvalidate()
-
-
Method Details
-
execute
protected void execute(HolidayNotificationEvent event, PoolKit poolKit) throws DAException, DAValidateException Invalidates the neededStaticViews.- Specified by:
executein classValidExecutionBusinessTask<HolidayNotificationEvent>- Parameters:
event- theHolidayNotificationEventpoolKit- 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
-