Class MTreeFavoriteNode

    • Constructor Detail

      • MTreeFavoriteNode

        public MTreeFavoriteNode​(Properties ctx,
                                 int AD_Tree_Favorite_Node_ID,
                                 String trxName)
        Parameters:
        ctx -
        AD_Tree_Favorite_Node_ID -
        trxName -
      • MTreeFavoriteNode

        public MTreeFavoriteNode​(Properties ctx,
                                 ResultSet rs,
                                 String trxName)
        Parameters:
        ctx -
        rs -
        trxName -
    • Method Detail

      • isMenuExists

        public static boolean isMenuExists​(int menuID,
                                           int nodeID,
                                           int treeFavID)
        Check the Menu ID is Present on specified Parent id or not
        Parameters:
        menuID - - AD_Menu_ID
        nodeID - - Parent Node_ID
        treeFavID - - AD_ Tree_Favorite_ID
        Returns:
        True if same menu exits
      • getFavouriteTreeNodeFromMenuID

        public static MTreeFavoriteNode getFavouriteTreeNodeFromMenuID​(int AD_Tree_Favorite_ID,
                                                                       int Menu_ID)
        Get Favourite node for the menu
        Parameters:
        AD_Tree_Favorite_ID -
        Menu_ID -
        Returns:
        MTreeFavoriteNode
      • create

        public static MTreeFavoriteNode create​(int AD_Client_ID,
                                               int AD_Org_ID,
                                               int AD_Tree_Favorite_ID,
                                               int AD_Menu_ID,
                                               int Parent_ID,
                                               int SeqNo,
                                               String folderName,
                                               boolean isSummary,
                                               boolean isCollapsible,
                                               boolean isFavourite)
        Create tree favorite node
        Parameters:
        AD_Client_ID -
        AD_Org_ID -
        AD_Tree_Favorite_ID -
        AD_Menu_ID -
        Parent_ID -
        SeqNo -
        folderName -
        isSummary -
        isCollapsible -
        isFavourite -
        Returns:
        MTreeFavoriteNode