X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=core%2Fsrc%2Fnet%2Fsf%2Fopenrocket%2Fdatabase%2FComponentPresetDao.java;h=a27a7f5d424304295d84c631ea261be95a019b82;hb=2bddccc8c2e80651f15e0b6c22c23f113c17610a;hp=905e7a888711b08aa954e9569ba0b86a68592d0c;hpb=8352b759283d2be93a5773b1fb4c030fd1e9b074;p=debian%2Fopenrocket diff --git a/core/src/net/sf/openrocket/database/ComponentPresetDao.java b/core/src/net/sf/openrocket/database/ComponentPresetDao.java index 905e7a88..a27a7f5d 100644 --- a/core/src/net/sf/openrocket/database/ComponentPresetDao.java +++ b/core/src/net/sf/openrocket/database/ComponentPresetDao.java @@ -23,7 +23,11 @@ public interface ComponentPresetDao { public List listForType( ComponentPreset.Type type, boolean favorite ); public List listForTypes( ComponentPreset.Type ... type ); + + public List listForTypes( List types ); - public void setFavorite( ComponentPreset preset, boolean favorite ); + public void setFavorite( ComponentPreset preset, ComponentPreset.Type type, boolean favorite ); + + public List find( String manufacturer, String partNo ); } \ No newline at end of file