KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * Created on May 1, 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.NoteI;
13 import org.enhydra.pim.business.api.OwnerI;
14 import org.enhydra.pim.exception.EnhydraPimException;
15
16 import com.lutris.appserver.server.sql.ObjectId;
17
18 /**
19  * @author p
20  *
21  * TODO To change the template for this generated type comment go to
22  * Window - Preferences - Java - Code Style - Code Templates
23  */

24 public interface NoteManagerI {
25
26     public abstract NoteI addNote(NoteI note, OwnerI owner)
27     throws EnhydraPimException;
28
29
30     public abstract NoteI updateNote(NoteI note, OwnerI owner)
31     throws EnhydraPimException;
32
33
34     public abstract Vector JavaDoc getOwnerNotes(OwnerI owner)
35     throws EnhydraPimException;
36
37
38     public abstract void removeNote(NoteI note) throws EnhydraPimException;
39
40
41     public abstract NoteI findNote(ObjectId oid) throws EnhydraPimException;
42
43
44     public abstract NoteI findNote(BigDecimal JavaDoc handle)
45     throws EnhydraPimException;
46 }
Popular Tags