package info.tregmine.database;

import org.bukkit.inventory.ItemStack;

public interface ITradeDAO
{
    public int insertTrade(int srcId, int recvId, int amount) throws DAOException;
    public void insertStacks(int tradeId, ItemStack[] contents) throws DAOException;
}

@@ -263,10 +263,72 @@
 eption;%0A
+    public int getAmountofTrades(int id) throws DAOException;%0A
 %7D%0A

Update ITradeDAO.java