Class DFResultSets


  • public final class DFResultSets
    extends java.lang.Object
    Common utilities related to DFResultSets.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static DFResultSet forDataTree​(DFDataTree dataTree)
      Return result set associated with the given data tree.
      static DFResultSet forView​(DFView view)
      Return result set associated with the datatree of the given view.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • forDataTree

        public static DFResultSet forDataTree​(DFDataTree dataTree)
        Return result set associated with the given data tree.

        Warning! This method will block current thread until the ids are loaded from database. Unlike with other methods in DIF API blocking operation is not signaled by requesting environment as a parameter.

        If using this method outside scripts, consider calling DFDataTree.getDefaultResultSet(boolean, com.im.commons.progress.DFEnvironmentRO) from a UIBackgroundRunnerRO - it provides the environment.

        Parameters:
        dataTree - the data tree
        Returns:
        found result set; never null
      • forView

        public static DFResultSet forView​(DFView view)
        Return result set associated with the datatree of the given view.

        Warning! This method will block current thread until the ids are loaded from database. Unlike with other methods in DIF API blocking operation is not signaled by requesting environment as a parameter.

        If using this method outside scripts, consider calling DFDataTree.getDefaultResultSet(boolean, com.im.commons.progress.DFEnvironmentRO) from a UIBackgroundRunnerRO - it provides the environment.

        Parameters:
        view - the view
        Returns:
        found result set; never null