net.sf.magicproject.chart
Interface IDataProvider

All Known Implementing Classes:
DeckBuilder

public interface IDataProvider

Since:
0.93
Author:
Fabrice Daugan

Method Summary
 java.util.Collection<IChartKey> getKeys(CardModel cardModel, ChartFilter filter)
          Return the keys corresponding to the given card.
 java.util.List<IChartKey> getKeys(ChartFilter filter)
          Return working set keys
 

Method Detail

getKeys

java.util.Collection<IChartKey> getKeys(CardModel cardModel,
                                        ChartFilter filter)
Return the keys corresponding to the given card.

Parameters:
cardModel - the requested key.
filter - the filter to apply to retrieve the keys.
Returns:
the keys corresponding to the given card.

getKeys

java.util.List<IChartKey> getKeys(ChartFilter filter)
Return working set keys

Parameters:
filter - the filter to apply to retrieve the valid keys.
Returns:
working set keys


Copyright © 2003-2007 Magic-Project. All Rights Reserved.