Class DFResultSets
- java.lang.Object
-
- com.im.df.api.dml.DFResultSets
-
public final class DFResultSets extends java.lang.ObjectCommon utilities related toDFResultSets.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DFResultSetforDataTree(DFDataTree dataTree)Return result set associated with the given data tree.static DFResultSetforView(DFView view)Return result set associated with the datatree of the given view.
-
-
-
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
environmentas a parameter.If using this method outside scripts, consider calling
DFDataTree.getDefaultResultSet(boolean, com.im.commons.progress.DFEnvironmentRO)from aUIBackgroundRunnerRO- 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
environmentas a parameter.If using this method outside scripts, consider calling
DFDataTree.getDefaultResultSet(boolean, com.im.commons.progress.DFEnvironmentRO)from aUIBackgroundRunnerRO- it provides the environment.- Parameters:
view- the view- Returns:
- found result set; never
null
-
-