Class MRefList

    • Constructor Detail

      • MRefList

        public MRefList​(Properties ctx,
                        int AD_Ref_List_ID,
                        String trxName)
        Persistency Constructor
        Parameters:
        ctx - context
        AD_Ref_List_ID - id
        trxName - transaction
      • MRefList

        public MRefList​(Properties ctx,
                        ResultSet rs,
                        String trxName)
        Load Contructor
        Parameters:
        ctx - context
        rs - result
        trxName - transaction
    • Method Detail

      • get

        public static MRefList get​(Properties ctx,
                                   int AD_Reference_ID,
                                   String Value,
                                   String trxName)
        Get Reference List
        Parameters:
        ctx - context
        AD_Reference_ID - reference
        Value - value
        trxName - transaction
        Returns:
        List or null
      • getListName

        public static String getListName​(Properties ctx,
                                         int AD_Reference_ID,
                                         String Value)
        Get Reference List Value Name (cached)
        Parameters:
        ctx - context
        AD_Reference_ID - reference
        Value - value
        Returns:
        List or ""
      • getListName

        public static String getListName​(String AD_Language,
                                         int AD_Reference_ID,
                                         String Value)
        Get Reference List Value Name (cached)
        Parameters:
        AD_Language -
        AD_Reference_ID - reference
        Value - value
        Returns:
        List or ""
      • getListDescription

        public static String getListDescription​(Properties ctx,
                                                String ListName,
                                                String Value)
        Get Reference List Value Description (cached)
        Parameters:
        ctx - context
        ListName - reference
        Value - value
        Returns:
        List or null
      • getListDescription

        public static String getListDescription​(String AD_Language,
                                                String ListName,
                                                String Value)
        Get Reference List Value Description (cached)
        Parameters:
        AD_Language -
        ListName - reference
        Value - value
        Returns:
        List or null
      • getList

        public static ValueNamePair[] getList​(Properties ctx,
                                              int AD_Reference_ID,
                                              boolean optional)
        Get Reference List (translated)
        Parameters:
        ctx - context
        AD_Reference_ID - reference
        optional - if true add "",""
        Returns:
        List or null
      • getList

        public static ValueNamePair[] getList​(Properties ctx,
                                              int AD_Reference_ID,
                                              boolean optional,
                                              String orderBy)
        Get Reference List (translated)
        Parameters:
        ctx - context
        AD_Reference_ID - reference
        optional - if true add "",""
        orderBy - N-Name, V-Value, D-Default (IsOrderByValue)
        Returns:
        List or null