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

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;
    public int getAmountofTrades(int id) throws DAOException;
}

Update ITradeDAO.java