Interface AcctFilter

  • All Known Implementing Classes:
    CombinedAccountFilter

    public interface AcctFilter
    Represents a filter for account objects
    Author:
    Sean D. Reilly
    • Field Detail

      • NON_CATEGORY_FILTER

        static final AcctFilter NON_CATEGORY_FILTER
        common filter that matches all non-category accounts
      • ACTIVE_ACCOUNTS_FILTER

        static final AcctFilter ACTIVE_ACCOUNTS_FILTER
      • INACTIVE_ACCOUNTS_FILTER

        static final AcctFilter INACTIVE_ACCOUNTS_FILTER
      • VIEWABLE_ACCOUNTS_FILTER

        static final AcctFilter VIEWABLE_ACCOUNTS_FILTER
      • EDITABLE_ACCOUNTS_FILTER

        static final AcctFilter EDITABLE_ACCOUNTS_FILTER
      • CATEGORY_FILTER

        static final AcctFilter CATEGORY_FILTER
        common filter that matches all category accounts
      • ALL_ACCOUNTS_FILTER

        static final AcctFilter ALL_ACCOUNTS_FILTER
        common filter that matches all accounts
      • CATEGORY_CHOICE_FILTER

        static final AcctFilter CATEGORY_CHOICE_FILTER
        common filter that excludes securities and root
      • ACTIVE_CATEGORY_CHOICE_FILTER

        static final AcctFilter ACTIVE_CATEGORY_CHOICE_FILTER
        common filter that excludes securities, the root account, and any inactive accounts
        Since:
        build 968
    • Method Detail

      • matches

        boolean matches​(Account acct)
        Returns true iff the given account matches the current search criteria
      • format

        java.lang.String format​(Account acct)
        Returns the String representation of the given account in the context of this search.