Class DSLoadSettings

All Implemented Interfaces:
HasHandlers

public class DSLoadSettings extends DataClass
Settings to control optional DataSource loading features.
See Also:
  • Constructor Details

    • DSLoadSettings

      public DSLoadSettings()
    • DSLoadSettings

      public DSLoadSettings(JavaScriptObject jsObj)
  • Method Details

    • getOrCreateRef

      public static DSLoadSettings getOrCreateRef(JavaScriptObject jsObj)
    • setForceReload

      public DSLoadSettings setForceReload(Boolean forceReload)
      Forcibly reload a dataSource if it's already loaded.
      Parameters:
      forceReload - New forceReload value. Default value is null
      Returns:
      DSLoadSettings instance, for chaining setter calls
    • getForceReload

      public Boolean getForceReload()
      Forcibly reload a dataSource if it's already loaded.
      Returns:
      Current forceReload value. Default value is null
    • setLoadParents

      public DSLoadSettings setLoadParents(Boolean loadParents)
      Load parent DataSources automatically for DataSources that have an inheritsFrom defined. Otherwise a DataSource with inheritsFrom will be broken if the parent DataSource is not already loaded.
      Parameters:
      loadParents - New loadParents value. Default value is null
      Returns:
      DSLoadSettings instance, for chaining setter calls
    • getLoadParents

      public Boolean getLoadParents()
      Load parent DataSources automatically for DataSources that have an inheritsFrom defined. Otherwise a DataSource with inheritsFrom will be broken if the parent DataSource is not already loaded.
      Returns:
      Current loadParents value. Default value is null
    • setMockMode

      public DSLoadSettings setMockMode(Boolean mockMode)
      Place loaded DataSource into mockMode
      Parameters:
      mockMode - New mockMode value. Default value is null
      Returns:
      DSLoadSettings instance, for chaining setter calls
    • getMockMode

      public Boolean getMockMode()
      Place loaded DataSource into mockMode
      Returns:
      Current mockMode value. Default value is null