Class BTSystemSettingsUpdate
java.lang.Object
overit.geocall.bl.BusinessTask<SystemSettingsUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<SystemSettingsUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<SystemSettingsUpdateEvent>
overit.geocallapp.wfm.systemsettings.bl.systemsetting.task.BTSystemSettingsUpdate
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(SystemSettingsUpdateEvent.class)
public class BTSystemSettingsUpdate
extends ValidPermissionBusinessTask<SystemSettingsUpdateEvent>
Business task in order to update a
When the
BOSystemSettings. When the
SystemSettingsUpdateEvent is launched
the BT notices the call and updates the BOSystemSettings basing on the event's input. Required fields:
- system settings id
- Since:
- 15.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(SystemSettingsUpdateEvent event, PoolKit poolKit) Updates theBOSystemSettingswith all its needed components.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
-
BTSystemSettingsUpdate
public BTSystemSettingsUpdate()
-
-
Method Details
-
execute
protected void execute(SystemSettingsUpdateEvent event, PoolKit poolKit) throws DAException, DAValidateException Updates theBOSystemSettingswith all its needed components.- Specified by:
executein classValidExecutionBusinessTask<SystemSettingsUpdateEvent>- Parameters:
event- theSystemSettingsUpdateEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Checks if the execution is valid.- Returns:
- true, if successful
-