Adding CollectionDAO interface.

This commit is contained in:
marcins78
2012-11-23 16:04:45 +00:00
parent 824011cfb0
commit ee23782deb

View File

@@ -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;
}