Class BTSystemSettingsValueLoad
java.lang.Object
overit.geocall.bl.BusinessTask<overit.geocallapp.wfm.base.systemsettings.event.SystemSettingsValueLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<overit.geocallapp.wfm.base.systemsettings.event.SystemSettingsValueLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<overit.geocallapp.wfm.base.systemsettings.event.SystemSettingsValueLoadEvent>
overit.geocallapp.wfm.systemsettings.bl.systemsetting.task.BTSystemSettingsValueLoad
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(overit.geocallapp.wfm.base.systemsettings.event.SystemSettingsValueLoadEvent.class)
public class BTSystemSettingsValueLoad
extends ValidPermissionBusinessTask<overit.geocallapp.wfm.base.systemsettings.event.SystemSettingsValueLoadEvent>
Business task responsible for loading system setting values from the configuration.
When the
When the
SystemSettingsValueLoadEvent is launched
the BT notices the call and retrieves the values of system setting fields identified by their names.
This task is part of the system settings management functionality and provides
a standardized way to access multiple system settings values throughout the application. - Since:
- 20.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
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
-
BTSystemSettingsValueLoad
public BTSystemSettingsValueLoad()
-
-
Method Details
-
execute
protected void execute(overit.geocallapp.wfm.base.systemsettings.event.SystemSettingsValueLoadEvent event, PoolKit poolKit) throws DAException, DAValidateException Executes the system settings value load operation. This method retrieves the list of field names from the event input, uses theSystemSettingsHelperto fetch the corresponding values for each field, and writes the results as a map to the event journal.- Specified by:
executein classValidExecutionBusinessTask<overit.geocallapp.wfm.base.systemsettings.event.SystemSettingsValueLoadEvent>- Parameters:
event- TheSystemSettingsValueLoadEventcontaining the list of field names to loadpoolKit- ThePoolKitproviding access to the data layer- Throws:
DAException- If a data access error occurs during the operationDAValidateException- If validation of the data fails
-
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
-