Class MPaymentLookup

    • Constructor Detail

      • MPaymentLookup

        public MPaymentLookup​(Properties ctx,
                              int windowNo,
                              String validationCode)
    • Method Detail

      • getDisplay

        public String getDisplay​(Object key)
        Description copied from class: Lookup
        Get Display of Key Value
        Specified by:
        getDisplay in class Lookup
        Parameters:
        key - key
        Returns:
        String
      • get

        public NamePair get​(Object key)
        Description copied from class: Lookup
        Get Object of Key Value
        Specified by:
        get in class Lookup
        Parameters:
        key - key
        Returns:
        Object or null
      • containsKey

        public boolean containsKey​(Object key)
        Description copied from class: Lookup
        The Lookup contains the key
        Specified by:
        containsKey in class Lookup
        Parameters:
        key - key
        Returns:
        true if contains key
      • containsKeyNoDirect

        public boolean containsKeyNoDirect​(Object key)
        Description copied from class: Lookup
        The Lookup contains the key, do not push direct
        Specified by:
        containsKeyNoDirect in class Lookup
        Parameters:
        key - key
        Returns:
        true if contains key
      • getColumnName

        public String getColumnName()
        Description copied from class: Lookup
        Get underlying fully qualified Table.Column Name. Used for VLookup.actionButton (Zoom)
        Specified by:
        getColumnName in class Lookup
        Returns:
        column name
      • getValidation

        public String getValidation()
        Description copied from class: Lookup
        Get dynamic Validation SQL (none)
        Overrides:
        getValidation in class Lookup
        Returns:
        validation
      • getData

        public ArrayList<Object> getData​(boolean mandatory,
                                         boolean onlyValidated,
                                         boolean onlyActive,
                                         boolean temporary,
                                         boolean shortlist)
        Description copied from class: Lookup
        Fill ComboBox with Data (Value/KeyNamePair)
        Specified by:
        getData in class Lookup
        Parameters:
        mandatory - has mandatory data only (i.e. no "null" selection)
        onlyValidated - only validated
        onlyActive - only active
        temporary - force load for temporary display
        Returns:
        ArrayList
      • refresh

        public int refresh()
        Description copied from class: Lookup
        Refresh Values - default implementation
        Overrides:
        refresh in class Lookup
        Returns:
        size