public Collection < KeyTransaction > list ( String name ) { List < KeyTransaction > ret = new ArrayList < KeyTransaction > ( ) ; Collection < KeyTransaction > transactions = list ( ) ; for ( KeyTransaction transaction : transactions ) { if ( name == null || transaction . getName ( ) . equals ( name ) ) ret . add ( transaction ) ; } return ret ; }
Returns the set of key transactions for the given name .