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 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
  • 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 the SystemSettingsHelper to fetch the corresponding values for each field, and writes the results as a map to the event journal.
      Specified by:
      execute in class ValidExecutionBusinessTask<overit.geocallapp.wfm.base.systemsettings.event.SystemSettingsValueLoadEvent>
      Parameters:
      event - The SystemSettingsValueLoadEvent containing the list of field names to load
      poolKit - The PoolKit providing access to the data layer
      Throws:
      DAException - If a data access error occurs during the operation
      DAValidateException - If validation of the data fails
    • isValidExecution

      public boolean isValidExecution()
      Description copied from interface: ValidExecution
      Determines whether the current state is valid for execution.
      Returns:
      true if execution is valid, false otherwise