Class MTreeFavoriteNode

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_AD_Tree_Favorite_Node, I_Persistent, Evaluatee

public class MTreeFavoriteNode extends X_AD_Tree_Favorite_Node
Favorite Tree Node Model
Since:
June 20, 2017
Author:
Logilite Technologies
See Also:
  • Field Details

  • Constructor Details

    • MTreeFavoriteNode

      public MTreeFavoriteNode(Properties ctx, String AD_Tree_Favorite_Node_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      AD_Tree_Favorite_Node_UU - UUID key
      trxName - Transaction
    • 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 Details

    • 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