org.homeunix.thecave.buddi.model.impl
Class FilteredLists.ScheduledTransactionListFilteredByBeforeToday

java.lang.Object
  extended by org.homeunix.thecave.moss.data.list.FilteredList<T>
      extended by org.homeunix.thecave.buddi.model.impl.FilteredLists.ScheduledTransactionListFilteredByBeforeToday
All Implemented Interfaces:
java.lang.Iterable<ScheduledTransaction>, java.util.Collection<ScheduledTransaction>, java.util.List<ScheduledTransaction>
Enclosing class:
FilteredLists

public static class FilteredLists.ScheduledTransactionListFilteredByBeforeToday
extends FilteredList<T>

Returns all scheduled transactions who meet the following criteria: 1) Start date is before today 2) Last date created is before today (or is not yet set). 3) End date is after today (or is not defined) This is used at startup when determining which scheduled transactions we need to check and possibly add.

Author:
wyatt

Field Summary
 
Fields inherited from class org.homeunix.thecave.moss.data.list.FilteredList
filteredListSource
 
Constructor Summary
FilteredLists.ScheduledTransactionListFilteredByBeforeToday(Document model, java.util.List<ScheduledTransaction> transactions)
           
 
Method Summary
 boolean isIncluded(ScheduledTransaction st)
           
 
Methods inherited from class org.homeunix.thecave.moss.data.list.FilteredList
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
equals, hashCode
 

Constructor Detail

FilteredLists.ScheduledTransactionListFilteredByBeforeToday

public FilteredLists.ScheduledTransactionListFilteredByBeforeToday(Document model,
                                                                   java.util.List<ScheduledTransaction> transactions)
Method Detail

isIncluded

public boolean isIncluded(ScheduledTransaction st)
Specified by:
isIncluded in class FilteredList<ScheduledTransaction>