KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > pim > business > ContactTypeManagerI


1 /*
2  * Created on May 9, 2005
3  *
4  * TODO To change the template for this generated file go to
5  * Window - Preferences - Java - Code Style - Code Templates
6  */

7 package org.enhydra.pim.business;
8
9 import java.math.BigDecimal JavaDoc;
10 import java.util.Vector JavaDoc;
11
12 import org.enhydra.pim.business.api.ContactTypeI;
13 import org.enhydra.pim.exception.EnhydraPimException;
14
15 import com.lutris.appserver.server.sql.ObjectId;
16
17 /**
18  * @author P.Djojic May 9, 2005 8:54:27 PM
19  *
20  * TODO ContactTypeManagerI
21  */

22 public interface ContactTypeManagerI {
23     /**
24      * @param contact_type
25      */

26     public ContactTypeI newContactType(String JavaDoc contact_type);
27
28     /**
29      * @param handle
30      * @param contact_type
31      */

32     public ContactTypeI newContactType(BigDecimal JavaDoc handle, String JavaDoc contact_type);
33
34     public ContactTypeI addContactType(ContactTypeI cType) throws EnhydraPimException;
35
36     public ContactTypeI updateContactType(ContactTypeI cType) throws EnhydraPimException;
37
38     public Vector JavaDoc getContactTypes() throws EnhydraPimException;
39
40     public void removeContactType(ContactTypeI contactType) throws EnhydraPimException;
41
42     public ContactTypeI findContactType(ObjectId oid) throws EnhydraPimException;
43
44     public ContactTypeI findContactType(BigDecimal JavaDoc handle) throws EnhydraPimException;
45     
46     public ContactTypeI findContactType(String JavaDoc typeStr) throws EnhydraPimException;
47 }
Popular Tags