001package com.fs.starfarer.api.campaign;
002
003import java.util.List;
004
005import com.fs.starfarer.api.characters.PersonAPI;
006
007public interface CommDirectoryAPI {
008        String addPerson(PersonAPI person);
009        String addPerson(PersonAPI person, int index);
010        //String addMissionBoard();
011        
012        /**
013         * Removes all comm entries associated with this person.
014         * @param person
015         */
016        void removePerson(PersonAPI person);
017        
018        void removeEntry(CommDirectoryEntryAPI entry);
019        void removeEntry(String id);
020        void clear();
021        List<CommDirectoryEntryAPI> getEntriesCopy();
022        CommDirectoryEntryAPI getEntryForPerson(PersonAPI person);
023        CommDirectoryEntryAPI getEntryForPerson(String personId);
024
025}