Class MTreeFavorite

    • Constructor Detail

      • MTreeFavorite

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

      • 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: