Class DFViewsUtils


  • public final class DFViewsUtils
    extends Object
    Contains utility methods related to DFView.
    Since:
    21.9.0
    • 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 from DFSchema.getUserLockable(). This method is using standard DFNewType approach.
        Parameters:
        dataTree - parent datatree
        name - view name. Can be null - then defaultName is used
        env - environment
        Returns:
        new DFView
        Throws:
        IllegalStateException - in case of error