Class CoreSystemSettingsHelper

java.lang.Object
overit.geocallapp.wfm.systemsettings.bl.systemsetting.SystemSettingsHelper
overit.geocallapp.wfm.core.bl.systemsetting.CoreSystemSettingsHelper

public class CoreSystemSettingsHelper extends SystemSettingsHelper
Helper for the system settings.
Since:
15.0
  • Constructor Details

    • CoreSystemSettingsHelper

      public CoreSystemSettingsHelper()
  • Method Details

    • getUserTypeField

      public Object getUserTypeField(Map<String,Object> filter, String field, PoolKit poolKit) throws DAValidateException, DAException
      Returns the needed user type field starting from a map of filters.
      Parameters:
      filter - the filter
      field - the BOUserType field name
      poolKit - the PoolKit
      Returns:
      the user type field
      Throws:
      DAValidateException - the DA validate exception
      DAException - the DA exception
    • getVehicleField

      public Object getVehicleField(Map<String,Object> filter, String field, PoolKit poolKit) throws DAException, DAValidateException
      Returns the needed vehicle field starting from a map of filters.
      Parameters:
      filter - the filter
      field - the vehicle field
      poolKit - the PoolKit
      Returns:
      the vehicle field
      Throws:
      DAException - the DA exception
      DAValidateException - the DA validate exception
    • getWorkOrderOperationDefaultActivity

      public Long getWorkOrderOperationDefaultActivity()
      Returns the work order operation default activity.
      Returns:
      the work order operation default activity
    • getDefaultAttachmentType

      public Long getDefaultAttachmentType()
      Returns the default attachment type.
      Returns:
      the default attachment type
    • getDefaultOnFieldRefusalCausal

      public Long getDefaultOnFieldRefusalCausal()
      Returns the default on field refusal causal.
      Returns:
      the default on field refusal causal id
    • getCloseWorkingDayMobileCausal

      public Long getCloseWorkingDayMobileCausal()
      Returns the close working day mobile causal.
      Returns:
      the close working day mobile causal
    • getMinGoogleGeocodingAccuracyLevel

      public Long getMinGoogleGeocodingAccuracyLevel()
      Returns the minimum Google geocoding accuracy level.
      Returns:
      the minimum Google geocoding accuracy level
    • getMaxBaseLayersZoom

      public Long getMaxBaseLayersZoom()
      Returns the maximum base layers zoom.
      Returns:
      the maximum base layers zoom
    • getRecalibrationType

      public Long getRecalibrationType()
      Returns the recalibration type.
      Returns:
      the recalibration type
    • getMonitoredWorkOrderOperationIds

      public String getMonitoredWorkOrderOperationIds()
      Returns the monitored work order operation ids.
      Returns:
      the monitored work order operation ids
    • getDefaultBusinessType

      public Long getDefaultBusinessType()
      Returns the default business type.
      Returns:
      the default business type
    • getMeasuringElementTemplate

      public Long getMeasuringElementTemplate()
      Returns the measuring element template.
      Returns:
      the measuring element template
    • getPDAUserTypeId

      public Long getPDAUserTypeId()
      Gets the ID of the user type used as default during PDA census starting from the user type code stored as default in system settings property.
      Returns:
      the PDA user type ID
    • getDefaultsMap

      public static Map<String,Object> getDefaultsMap()