Interface TxnSearch
- All Known Implementing Classes:
AggregateTxnSearch
,GenericTxnSearch
public interface TxnSearch
Represents a search through a set of transactions. This uses the Txn interface for transactions
which represents each side of a SplitTxn - the parent and the 'other' (usually category) side
which is better for generating reports.
- Author:
- Sean Reilly
-
Method Summary
Modifier and Type Method Description boolean
matches(Txn txn)
boolean
matchesAll()
-
Method Details
-
matches
- Parameters:
txn
- The transaction to test.- Returns:
true
if and only if the given transaction matches the current search criteria.
-
matchesAll
boolean matchesAll()- Returns:
- true if the current search matches all transactions.
-