Adding CollectionDAO interface.
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
package com.gempukku.lotro.db;
|
||||||
|
|
||||||
|
import com.gempukku.lotro.game.CardCollection;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
|
import java.sql.SQLException;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
public interface CollectionDAO {
|
||||||
|
public Map<Integer, CardCollection> getPlayerCollectionsByType(String type) throws SQLException, IOException;
|
||||||
|
|
||||||
|
public CardCollection getPlayerCollection(int playerId, String type) throws SQLException, IOException;
|
||||||
|
|
||||||
|
public void setPlayerCollection(int playerId, String type, CardCollection collection) throws SQLException, IOException;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user