Package com.im.df.util
Class DFViewsUtils
- java.lang.Object
-
- com.im.df.util.DFViewsUtils
-
public final class DFViewsUtils extends Object
Contains utility methods related toDFView.- Since:
- 21.9.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.im.df.api.ddl.DFViewcreateViewForDataTree(com.im.df.api.ddl.DFDataTree dataTree, String name, com.im.commons.progress.DFEnvironmentRW env)Creates a default view for the datatree.
-
-
-
Method Detail
-
createViewForDataTree
public static com.im.df.api.ddl.DFView createViewForDataTree(com.im.df.api.ddl.DFDataTree dataTree, String name, com.im.commons.progress.DFEnvironmentRW env)Creates a default view for the datatree. Obtains user lock for this action fromDFSchema.getUserLockable(). This method is using standardDFNewTypeapproach.- Parameters:
dataTree- parent datatreename- view name. Can benull- then defaultName is usedenv- environment- Returns:
- new
DFView - Throws:
IllegalStateException- in case of error
-
-