Class MTreeFavorite

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

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

  • Constructor Details

    • MTreeFavorite

      public MTreeFavorite(Properties ctx, String AD_Tree_Favorite_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      AD_Tree_Favorite_UU - UUID key
      trxName - Transaction
    • MTreeFavorite

      public MTreeFavorite(Properties ctx, int AD_Tree_Favorite_ID, String trxName)
      Construct Tree Favorite Model
      Parameters:
      ctx -
      AD_Tree_Favorite_ID -
      trxName -
    • MTreeFavorite

      public MTreeFavorite(Properties ctx, ResultSet rs, String trxName)
  • Method Details

    • getRoot

      public MTreeNode getRoot()
    • getFavoriteTreeID

      public static int getFavoriteTreeID(int userID)
      Get Favorite Tree ID for a specific User and Role Wise
      Parameters:
      userID -
      Returns:
      Favorite Tree_ID
    • getAccessForMenuItem

      public static Boolean getAccessForMenuItem(MRole role, I_AD_Menu menu)
      get access for the menu from specified role
      Parameters:
      role -
      menu -
      Returns: