package info.tregmine.database;

import java.util.List;

import org.bukkit.entity.Player;

import info.tregmine.api.TregminePlayer;

public interface IPlayerDAO
{
    public TregminePlayer getPlayer(int id) throws DAOException;
    public TregminePlayer getPlayer(Player player) throws DAOException;
    public TregminePlayer getPlayer(String name) throws DAOException;
    public TregminePlayer getPlayer(String name, Player wrap) throws DAOException;

    public TregminePlayer createPlayer(Player wrap) throws DAOException;
    public void updatePlayerKeyword(TregminePlayer player) throws DAOException;
    public void updatePlayTime(TregminePlayer player) throws DAOException;
    public void updatePlayerInfo(TregminePlayer player) throws DAOException;
    public void updatePlayer(TregminePlayer player) throws DAOException;
    
    public List<String> getKeywords(TregminePlayer to) throws DAOException;
    public void updateKeywords(TregminePlayer player, List<String> update) throws DAOException;
}

@@ -1002,10 +1002,281 @@
 eption;%0A
+    %0A    public List%3CString%3E getIgnored(TregminePlayer to) throws DAOException;%0A    public void updateIgnore(TregminePlayer player, List%3CString%3E update) throws DAOException;%0A    public boolean doesIgnore(TregminePlayer player, TregminePlayer victim) throws DAOException;%0A
 %7D%0A

Update IPlayerDAO.java