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.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 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 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 handle) 45 throws EnhydraPimException; 46 } | Popular Tags |