com.moneydance.apps.md.model
Class SearchTxnList

java.lang.Object
  extended by com.moneydance.apps.md.model.SearchTxnList

public final class SearchTxnList
extends java.lang.Object

Contains a list of split and parent transactions using search criteria and the TxnIterator class. This differs from other classes in that it does not serve as a list model, and does not sort transactions. It's initial client is the search report, which will sort the resulting transactions anyway.

Author:
Kevin Menningen - Mennē Software Solutions, LLC

Field Summary
protected  TxnSet _filteredTxnSet
           
protected  RootAccount _rootAccount
           
 
Constructor Summary
SearchTxnList(RootAccount rootAccount, TxnSearch search)
           
 
Method Summary
 java.util.Enumeration<AbstractTxn> getAllTransactions()
           
 int getRowCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_rootAccount

protected RootAccount _rootAccount

_filteredTxnSet

protected TxnSet _filteredTxnSet
Constructor Detail

SearchTxnList

public SearchTxnList(RootAccount rootAccount,
                     TxnSearch search)
Method Detail

getRowCount

public int getRowCount()
Returns:
The number of matching transactions found.

getAllTransactions

public java.util.Enumeration<AbstractTxn> getAllTransactions()
Returns:
Enumerator of all matching transactions in the model, in reverse order.