1 7 package org.enhydra.pim.business; 8 9 import java.math.BigDecimal ; 10 import java.util.Vector ; 11 12 import org.enhydra.pim.business.api.ContactI; 13 import org.enhydra.pim.business.api.ContactTypeI; 14 import org.enhydra.pim.business.api.PersonI; 15 import org.enhydra.pim.exception.EnhydraPimException; 16 17 import com.lutris.appserver.server.sql.ObjectId; 18 19 24 public interface ContactManagerI { 25 31 public ContactI newContact(String contact_data, ContactTypeI contact_type, PersonI person, String note); 32 33 40 public ContactI newContact(BigDecimal handle, String contact_data, ContactTypeI contact_type, PersonI person, 41 String note); 42 43 public ContactI addContact(ContactI contact, PersonI person, ContactTypeI cType) throws EnhydraPimException; 44 45 public ContactI updateContact(ContactI contact) throws EnhydraPimException; 46 47 public Vector getPersonContacts(PersonI person) throws EnhydraPimException; 48 49 public void removeContact(ContactI contact) throws EnhydraPimException; 50 51 public ContactI findContact(ObjectId oid) throws EnhydraPimException; 52 53 public ContactI findContact(BigDecimal handle) throws EnhydraPimException; 54 } | Popular Tags |